aboutsummaryrefslogtreecommitdiff
path: root/mail/mb2md
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2013-04-29 08:57:12 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2013-04-29 08:57:12 +0000
commit5271da855f0c5946ff1f3aa58fbe806871df2f87 (patch)
tree526d65e6697f1e03c06ab0d0f901688aa2c4e18d /mail/mb2md
parent8730c99d5ea1ba861dbab3e0dbc07e16826b1a7a (diff)
downloadports-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/mb2md')
-rw-r--r--mail/mb2md/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/mail/mb2md/Makefile b/mail/mb2md/Makefile
index 0e48dae956b3..eb0b309ee8e9 100644
--- a/mail/mb2md/Makefile
+++ b/mail/mb2md/Makefile
@@ -14,7 +14,8 @@ COMMENT= Converts mbox mailboxes to Maildir
RUN_DEPENDS= p5-TimeDate>=0:${PORTSDIR}/devel/p5-TimeDate
-EXTRACT_CMD= ${GZIP_CMD} -cd
+EXTRACT_CMD= ${GZIP_CMD}
+EXTRACT_BEFORE_ARGS= -dc
EXTRACT_AFTER_ARGS= > ${WRKDIR}/${PORTNAME}
NO_WRKSUBDIR= yes