diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2013-04-29 08:57:12 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2013-04-29 08:57:12 +0000 |
commit | 5271da855f0c5946ff1f3aa58fbe806871df2f87 (patch) | |
tree | 526d65e6697f1e03c06ab0d0f901688aa2c4e18d /mail/filtermail | |
parent | 8730c99d5ea1ba861dbab3e0dbc07e16826b1a7a (diff) | |
download | ports-5271da855f0c5946ff1f3aa58fbe806871df2f87.tar.gz ports-5271da855f0c5946ff1f3aa58fbe806871df2f87.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
Notes
Notes:
svn path=/head/; revision=316786
Diffstat (limited to 'mail/filtermail')
-rw-r--r-- | mail/filtermail/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mail/filtermail/Makefile b/mail/filtermail/Makefile index b1dc0764e204..f14926ae5f69 100644 --- a/mail/filtermail/Makefile +++ b/mail/filtermail/Makefile @@ -24,6 +24,8 @@ LICENSE= GPLv3 # installed by this port from the form *mailfilter* to the form # *filtermail*, and similarly the names in the man pages. # +EXTRACT_CMD= ${GZIP_CMD} +EXTRACT_BEFORE_ARGS= -dc EXTRACT_AFTER_ARGS= | ${SED} 's/[mM][aA][iI][lL][fF][iI][lL][tT][eE][rR]/filtermail/g' | ${TAR} -xf - WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} |