- Update to version 2006.ue.

- Move to LOCALBASE.
- Fix double mouse speed.
This commit is contained in:
Alejandro Pulver 2006-06-24 20:01:41 +00:00
parent 3348b4fc66
commit 2473f7bd83
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=166229
3 changed files with 18 additions and 18 deletions

View file

@ -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

View file

@ -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

View file

@ -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;