diff options
author | Alejandro Pulver <alepulver@FreeBSD.org> | 2006-06-24 20:01:41 +0000 |
---|---|---|
committer | Alejandro Pulver <alepulver@FreeBSD.org> | 2006-06-24 20:01:41 +0000 |
commit | 2473f7bd835d095a82d1461f486875cef50fd334 (patch) | |
tree | d4c4bef8de3b3777b06a1e2c334f8702370cd985 /games/alienarena/Makefile | |
parent | 3348b4fc66114a5b646639e8ee2cfec5ec32ad2e (diff) | |
download | ports-2473f7bd835d095a82d1461f486875cef50fd334.tar.gz ports-2473f7bd835d095a82d1461f486875cef50fd334.zip |
Notes
Diffstat (limited to 'games/alienarena/Makefile')
-rw-r--r-- | games/alienarena/Makefile | 23 |
1 files changed, 13 insertions, 10 deletions
diff --git a/games/alienarena/Makefile b/games/alienarena/Makefile index e293fe9247d8..5b0276c6a89e 100644 --- a/games/alienarena/Makefile +++ b/games/alienarena/Makefile @@ -6,12 +6,13 @@ # PORTNAME= alienarena -DISTVERSION= 2006.ge +DISTVERSION= 2006.ue CATEGORIES= games -MASTER_SITES= http://offload1.icculus.org/~ravage/alienarena2006/:data \ - ftp://ftp.alepulver.com.ar/distfiles/:patch -DISTFILES= ${PORTNAME}-2006ge-x86.run:data \ - aa2k6updateGE501c-x86.zip:patch +MASTER_SITES= http://offload1.icculus.org/~ravage/alienarena2006/ \ + http://cor.planetquake.gamespy.com/codered/files/ \ + http://www.forsakenweb.com/gamepage/loaders/games/ +DISTNAME= ${PORTNAME}-${DISTVERSION:S/.//}-x86 +EXTRACT_SUFX= .run MAINTAINER= alepulver@FreeBSD.org COMMENT= Alien Arena 2006 (native version) @@ -19,8 +20,6 @@ COMMENT= Alien Arena 2006 (native version) LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg RUN_DEPENDS= ${DATADIR}/arena/default.cfg:${PORTSDIR}/games/alienarena-data -USE_X_PREFIX= yes -USE_ZIP= yes USE_DOS2UNIX= yes USE_GCC= 3.2+ USE_GL= yes @@ -41,6 +40,10 @@ LIBDIR= ${PREFIX}/lib/${PORTNAME} .include <bsd.port.pre.mk> +.if ${OSVERSION} < 500000 +BROKEN= does not extract (gzip error) +.endif + EXE_TARGETS= crx crded SCRIPTS= alienarena alienarena-ded @@ -67,10 +70,10 @@ post-patch: do-extract: @${MKDIR} ${WRKDIR} @cd ${WRKDIR} && \ - ${TAIL} -c +8814 ${DISTDIR}/${PORTNAME}-2006ge-x86.run | \ + ${TAIL} +377 ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} | \ ${TAR} zxf - - @${TAR} zxf ${WRKDIR}/alienarena-2006ge-src.tar.gz -C ${WRKDIR} - @${UNZIP_CMD} -qod ${WRKDIR} ${DISTDIR}/aa2k6updateGE501c-x86.zip + @${TAR} zxf ${WRKDIR}/${PORTNAME}-${DISTVERSION:S/.//}-src.tar.gz \ + -C ${WRKDIR} do-install: ${MKDIR} ${LIBDIR}/arena ${LIBDIR}/data1 |