diff options
author | bapt <bapt@FreeBSD.org> | 2013-04-29 16:57:12 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2013-04-29 16:57:12 +0800 |
commit | 1ca518c98321627ea34bdaae84c439a2f0df0cdf (patch) | |
tree | 526d65e6697f1e03c06ab0d0f901688aa2c4e18d /ports-mgmt/managepkg/Makefile | |
parent | 81215f7fb03620d52b441a5714e6af1fb655c743 (diff) | |
download | freebsd-ports-gnome-1ca518c98321627ea34bdaae84c439a2f0df0cdf.tar.gz freebsd-ports-gnome-1ca518c98321627ea34bdaae84c439a2f0df0cdf.tar.zst freebsd-ports-gnome-1ca518c98321627ea34bdaae84c439a2f0df0cdf.zip |
Rely on bsdtar to autodetermine the format of the distfiles when possible
For a while now bsdtar is able to autotermine compression and archive format.
Let's then use tar directly instead of piping to tar.
Now USE_BZIP2 and USE_XZ only set EXTRACT_SUFX to the right format
Diffstat (limited to 'ports-mgmt/managepkg/Makefile')
-rw-r--r-- | ports-mgmt/managepkg/Makefile | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/ports-mgmt/managepkg/Makefile b/ports-mgmt/managepkg/Makefile index aeb56f0682a7..e1563f896f33 100644 --- a/ports-mgmt/managepkg/Makefile +++ b/ports-mgmt/managepkg/Makefile @@ -1,9 +1,5 @@ -# New ports collection makefile for: managepkg -# Date created: 2005-09-04 -# Whom: Andreas Fehlner <fehlner@gmx.de> -# +# Created by: Andreas Fehlner <fehlner@gmx.de> # $FreeBSD$ -# PORTNAME= managepkg PORTVERSION= 1.1 @@ -17,7 +13,9 @@ MAINTAINER= fehlner@gmx.de COMMENT= Script for maintaining ports # Any ideas for a better comment? -EXTRACT_AFTER_ARGS= ${DISTDIR}/${DISTFILES} > ${WRKSRC}/${PORTNAME} +EXTRACT_CMD= ${GZCAT} +EXTRACT_BEFORE_ARGS= +EXTRACT_AFTER_ARGS= > ${WRKSRC}/${PORTNAME} WRKSRC= ${WRKDIR} NO_BUILD= yes PLIST_FILES= sbin/managepkg |