aboutsummaryrefslogtreecommitdiff
path: root/games/crossfire-server
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 /games/crossfire-server
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 'games/crossfire-server')
-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 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