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 /games/crossfire-server | |
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 'games/crossfire-server')
-rw-r--r-- | games/crossfire-server/Makefile | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/games/crossfire-server/Makefile b/games/crossfire-server/Makefile index eb25d7bd3240..a2ff4198063b 100644 --- a/games/crossfire-server/Makefile +++ b/games/crossfire-server/Makefile @@ -1,9 +1,5 @@ -# New ports collection makefile for: crossfire-server -# Date created: Jan 30, 2002 -# Whom: Jasper Jongmans <j.jongmans@aprogas.net> -# +# Created by: Jasper Jongmans <j.jongmans@aprogas.net> # $FreeBSD$ -# PORTNAME= crossfire PORTVERSION= 1.70.0 @@ -40,7 +36,7 @@ CPPFLAGS+= -I${LOCALBASE}/include ${PTHREAD_CFLAGS} LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS} post-extract: - @cd ${WRKDIR} && ${BZIP2_CMD} ${EXTRACT_BEFORE_ARGS} \ + @cd ${WRKDIR} && ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} \ ${DISTDIR}/${DISTNAME}.maps.tar.bz2 ${EXTRACT_AFTER_ARGS} @${CHMOD} a+x ${WRKSRC}/utils/install-sh |