diff options
author | alepulver <alepulver@FreeBSD.org> | 2006-06-25 04:01:41 +0800 |
---|---|---|
committer | alepulver <alepulver@FreeBSD.org> | 2006-06-25 04:01:41 +0800 |
commit | 9e6fca65cc02e013166dacf48d0f3fb3c8e7d1c9 (patch) | |
tree | e28c4a071971d4b0858c8dd3ad5b2029997dc4cd /games/alienarena | |
parent | 97a121844fc3c6a1ddf4f00c6953cba3633bda35 (diff) | |
download | freebsd-ports-gnome-9e6fca65cc02e013166dacf48d0f3fb3c8e7d1c9.tar.gz freebsd-ports-gnome-9e6fca65cc02e013166dacf48d0f3fb3c8e7d1c9.tar.zst freebsd-ports-gnome-9e6fca65cc02e013166dacf48d0f3fb3c8e7d1c9.zip |
- Update to version 2006.ue.
- Move to LOCALBASE.
- Fix double mouse speed.
Diffstat (limited to 'games/alienarena')
-rw-r--r-- | games/alienarena/Makefile | 23 | ||||
-rw-r--r-- | games/alienarena/distinfo | 9 | ||||
-rw-r--r-- | games/alienarena/files/patch-linux__gl_glx.c | 4 |
3 files changed, 18 insertions, 18 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 diff --git a/games/alienarena/distinfo b/games/alienarena/distinfo index ec80370b31eb..939cc28025ba 100644 --- a/games/alienarena/distinfo +++ b/games/alienarena/distinfo @@ -1,6 +1,3 @@ -MD5 (alienarena-2006ge-x86.run) = f27923b13dc586b649134d7a4bfc0709 -SHA256 (alienarena-2006ge-x86.run) = ce6b47c86bde5b3aefc572897c0e46fc5e8b2cafa178293835ee074951b50e1a -SIZE (alienarena-2006ge-x86.run) = 164160207 -MD5 (aa2k6updateGE501c-x86.zip) = 87266deb278b2d88be0c5c08f16b4885 -SHA256 (aa2k6updateGE501c-x86.zip) = f08207ce05c8862fcf1a59344e4a815904486b636601d28287e54c10328fecc8 -SIZE (aa2k6updateGE501c-x86.zip) = 10860682 +MD5 (alienarena-2006ue-x86.run) = 7b6416646db832fbc9761925240b5ff4 +SHA256 (alienarena-2006ue-x86.run) = a9ee5e69e37c1e511a21e3a0a698de0b0a297995827c806df0a08ce0a3276fde +SIZE (alienarena-2006ue-x86.run) = 168878681 diff --git a/games/alienarena/files/patch-linux__gl_glx.c b/games/alienarena/files/patch-linux__gl_glx.c index 6559a8661dbe..3512032b1b51 100644 --- a/games/alienarena/files/patch-linux__gl_glx.c +++ b/games/alienarena/files/patch-linux__gl_glx.c @@ -18,8 +18,8 @@ - my = -((int)event.xmotion.y - mwy);// * 2; - mwx = event.xmotion.x; - mwy = event.xmotion.y; -+ mx += ((int)event.xmotion.x - mwx) * 2; -+ my += ((int)event.xmotion.y - mwy) * 2; ++ mx += ((int)event.xmotion.x - mwx); ++ my += ((int)event.xmotion.y - mwy); if (mx || my) dowarp = true; |