diff options
author | Rong-En Fan <rafan@FreeBSD.org> | 2006-09-19 13:17:40 +0000 |
---|---|---|
committer | Rong-En Fan <rafan@FreeBSD.org> | 2006-09-19 13:17:40 +0000 |
commit | cc7f1af739f33c1734829c8d9aa27a09be5e11e0 (patch) | |
tree | b33e492de3feb0769e68635322493f615787c901 /games/utserver | |
parent | 7fc5f69ef42f5d0c36a56116522c8db5c251d811 (diff) | |
download | ports-cc7f1af739f33c1734829c8d9aa27a09be5e11e0.tar.gz ports-cc7f1af739f33c1734829c8d9aa27a09be5e11e0.zip |
Notes
Diffstat (limited to 'games/utserver')
-rw-r--r-- | games/utserver/Makefile | 17 |
1 files changed, 5 insertions, 12 deletions
diff --git a/games/utserver/Makefile b/games/utserver/Makefile index 0d6c86f0103c..3247c1805e5c 100644 --- a/games/utserver/Makefile +++ b/games/utserver/Makefile @@ -7,7 +7,7 @@ PORTNAME= utserver PORTVERSION= 451 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= games linux MASTER_SITES= http://freebsd.unixfreunde.de/sources/:p436 \ ftp://ftp.wireplay.co.uk/pub/unrealtournament/server/:p436 \ @@ -41,13 +41,6 @@ EXTRA_PATCHES= ${WRKDIR}/patch-ngstatsut .include <bsd.port.pre.mk> -.if ${OSVERSION} < 500000 -PATCH_DEPENDS+= bsdtar:${PORTSDIR}/archivers/libarchive -BSDTAR= ${LOCALBASE}/bin/bsdtar -.else -BSDTAR= ${TAR} -.endif - .if !defined(WITHOUT_BONUSPACKS) MASTER_SITES+= http://liflg.0wnitsch.de/files/native/:pbonus BONUSFILE= unreal.tournament.official.bonus.pack.collection.run @@ -73,14 +66,14 @@ pre-patch: ${FILESDIR}/template-patch-ngstatsut > \ ${WRKDIR}/patch-ngstatsut .if !defined(WITHOUT_BONUSPACKS) - @${SED} -e '1,/exit $$res/d' ${_DISTDIR}/${BONUSFILE} | \ - ${BSDTAR} xf - -C ${WRKDIR} -X ${FILESDIR}/excludefiles + @${SED} -e '1,/exit \$$res/d' ${_DISTDIR}/${BONUSFILE} | \ + ${GUNZIP_CMD} -q | ${TAR} xf - -C ${WRKDIR} -X ${FILESDIR}/excludefiles .for file in "bp1.tar.bz2 bp2.tar.bz2 bp3.tar.bz2 bp4.tar.bz2" - @${BSDTAR} x -C ${WRKSRC} -f ${WRKDIR}/${file} + @${TAR} jx -C ${WRKSRC} -f ${WRKDIR}/${file} .endfor @${MV} ${WRKDIR}/README.bonus.pack.collection ${WRKSRC}/Help .endif - @${BSDTAR} x -C ${WRKSRC} -X ${FILESDIR}/excludefiles \ + @${TAR} jx -C ${WRKSRC} -X ${FILESDIR}/excludefiles \ -f ${_DISTDIR}/${PATCH451FILE} @${RM} -f ${WRKSRC}/System/libSDL-1.1.so.0 # remove trailing ^M |