Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Mar 2014 07:02:30 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r347863 - head/Mk
Message-ID:  <201403110702.s2B72UGc041309@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Tue Mar 11 07:02:30 2014
New Revision: 347863
URL: http://svnweb.freebsd.org/changeset/ports/347863
QAT: https://qat.redports.org/buildarchive/r347863/

Log:
  Remove the now unused USE_ZIP=yes, everyone should now use USES=zip

Modified:
  head/Mk/bsd.port.mk
  head/Mk/bsd.sanity.mk

Modified: head/Mk/bsd.port.mk
==============================================================================
--- head/Mk/bsd.port.mk	Tue Mar 11 06:56:02 2014	(r347862)
+++ head/Mk/bsd.port.mk	Tue Mar 11 07:02:30 2014	(r347863)
@@ -94,8 +94,7 @@ FreeBSD_MAINTAINER=	portmgr@FreeBSD.org
 # EXTRACT_SUFX	- Suffix for archive names
 #				  You never have to set both DISTFILES and EXTRACT_SUFX.
 #				  Default: .tar.bz2 if USE_BZIP2 is set, .lzh if USE_LHA is set,
-#				  .zip if USE_ZIP is set, .tar.xz if USE_XZ is set, .tar.gz
-#				  otherwise).
+#				  .tar.xz if USE_XZ is set, .tar.gz otherwise).
 # MASTER_SITES	- Primary location(s) for distribution files if not found
 #				  locally.  See bsd.sites.mk for common choices for
 #				  MASTER_SITES.
@@ -332,8 +331,6 @@ FreeBSD_MAINTAINER=	portmgr@FreeBSD.org
 # USE_LHA		- If set, this port distfile uses lha for compression
 # USE_XZ		- If set, this port tarballs use xz (or lzma)
 #				  for compression
-# USE_ZIP		- If set, this port distfile uses zip, not tar w/[bg]zip
-#				  for compression.
 # USE_GCC		- If set, this port requires this version of gcc, either in
 #				  the system or installed from a port.
 # USE_CSTD		- Override the default C language standard (gnu89, gnu99)
@@ -812,7 +809,7 @@ FreeBSD_MAINTAINER=	portmgr@FreeBSD.org
 # For extract:
 #
 # EXTRACT_CMD	- Command for extracting archive: "bzip2" if USE_BZIP2
-#				  is set, "unzip" if USE_ZIP is set, "gzip" otherwise.
+#				  is set, "gzip" otherwise.
 # EXTRACT_BEFORE_ARGS
 #				- Arguments to ${EXTRACT_CMD} before filename.
 #				  Default: "-dc"
@@ -1526,8 +1523,6 @@ ${_f}_ARGS:=	${f:C/^[^\:]*\://g}
 EXTRACT_SUFX?=			.tar.bz2
 .elif defined(USE_LHA)
 EXTRACT_SUFX?=			.lzh
-.elif defined(USE_ZIP)
-EXTRACT_SUFX?=			.zip
 .elif defined(USE_XZ)
 EXTRACT_SUFX?=			.tar.xz
 .else
@@ -1701,9 +1696,6 @@ PKG_DEPENDS+=		${LOCALBASE}/sbin/pkg:${P
 .if defined(USE_LHA)
 EXTRACT_DEPENDS+=	lha:${PORTSDIR}/archivers/lha
 .endif
-.if defined(USE_ZIP)
-EXTRACT_DEPENDS+=	${LOCALBASE}/bin/unzip:${PORTSDIR}/archivers/unzip
-.endif
 
 .if defined(USE_GCC)
 .include "${PORTSDIR}/Mk/bsd.gcc.mk"
@@ -2172,10 +2164,6 @@ TAR?=	/usr/bin/tar
 EXTRACT_CMD?=		${LHA_CMD}
 EXTRACT_BEFORE_ARGS?=	xfqw=${WRKDIR}
 EXTRACT_AFTER_ARGS?=
-.elif defined(USE_ZIP)
-EXTRACT_CMD?=		${UNZIP_CMD}
-EXTRACT_BEFORE_ARGS?=	-qo
-EXTRACT_AFTER_ARGS?=	-d ${WRKDIR}
 .else
 EXTRACT_CMD?=	${TAR}
 EXTRACT_BEFORE_ARGS?=	-xf

Modified: head/Mk/bsd.sanity.mk
==============================================================================
--- head/Mk/bsd.sanity.mk	Tue Mar 11 06:56:02 2014	(r347862)
+++ head/Mk/bsd.sanity.mk	Tue Mar 11 07:02:30 2014	(r347863)
@@ -173,5 +173,5 @@ DEV_ERROR+=	"USE_MAKESELF is unsupported
 .endif
 
 .if defined(USE_ZIP)
-DEV_WARNING+=	'USE_ZIP is deprecated, please use USES=zip'
+DEV_ERROR+=	'USE_ZIP is unsupported, please use USES=zip'
 .endif



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403110702.s2B72UGc041309>