summaryrefslogtreecommitdiffstats
path: root/games/crossfire-server/Makefile
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2013-04-29 08:57:12 +0000
committerbapt <bapt@FreeBSD.org>2013-04-29 08:57:12 +0000
commit1ca518c98321627ea34bdaae84c439a2f0df0cdf (patch)
tree526d65e6697f1e03c06ab0d0f901688aa2c4e18d /games/crossfire-server/Makefile
parent81215f7fb03620d52b441a5714e6af1fb655c743 (diff)
downloadFreeBSD-ports-1ca518c98321627ea34bdaae84c439a2f0df0cdf.zip
FreeBSD-ports-1ca518c98321627ea34bdaae84c439a2f0df0cdf.tar.gz
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 'games/crossfire-server/Makefile')
-rw-r--r--games/crossfire-server/Makefile8
1 files changed, 2 insertions, 6 deletions
diff --git a/games/crossfire-server/Makefile b/games/crossfire-server/Makefile
index eb25d7b..a2ff419 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
OpenPOWER on IntegriCloud