diff options
Diffstat (limited to 'games/rtcw/Makefile')
-rw-r--r-- | games/rtcw/Makefile | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/games/rtcw/Makefile b/games/rtcw/Makefile index 518ba2d2f0f..ec7eaf0bde5 100644 --- a/games/rtcw/Makefile +++ b/games/rtcw/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.17 2012/05/19 14:21:59 marino Exp $ +# $NetBSD: Makefile,v 1.18 2012/05/27 17:00:49 marino Exp $ DISTNAME= wolf-linux-1.33.x86 PKGNAME= rtcw-1.33 -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= games MASTER_SITES= ftp://ftp.idsoftware.com/idstuff/wolf/linux/old/ EXTRACT_SUFX= .run @@ -27,15 +27,17 @@ PKG_DESTDIR_SUPPORT= user-destdir BUILD_DIRS= # empty RTCWDIR= ${PREFIX}/lib/lokigames/rtcw -USE_TOOLS+= gtar pax +USE_TOOLS+= gtar pax gzip EXTRACT_CMD= ${SED} '1,178d' ${DOWNLOADED_DISTFILE} | \ - ${GTAR} xzf - -C ${WRKSRC} + ${GZIP_CMD} -d | ${GTAR} -C ${WRKSRC} -xf - pre-extract: ${MKDIR} ${WRKSRC} do-install: ${INSTALL_DATA_DIR} ${DESTDIR}${RTCWDIR} + ${CHMOD} 755 ${WRKSRC}/Docs/PunkBuster + ${CHMOD} 644 ${WRKSRC}/main/mp_bin.pk3 cd ${WRKSRC} && pax -rw -p am . ${DESTDIR}${RTCWDIR} .include "../../mk/bsd.pkg.mk" |