aboutsummaryrefslogtreecommitdiffstats
path: root/games/xonotic
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2008-03-17 19:03:34 +0800
committerdanfe <danfe@FreeBSD.org>2008-03-17 19:03:34 +0800
commit80e30578c0d2c133e1415fac0b981c3bc920bf0e (patch)
tree95a2b26053ee8fac1e929c9862a4685e85559125 /games/xonotic
parentfc55827d6a278ec8114afe3429fa04f086ba19b8 (diff)
downloadfreebsd-ports-gnome-80e30578c0d2c133e1415fac0b981c3bc920bf0e.tar.gz
freebsd-ports-gnome-80e30578c0d2c133e1415fac0b981c3bc920bf0e.tar.zst
freebsd-ports-gnome-80e30578c0d2c133e1415fac0b981c3bc920bf0e.zip
- Update to version 2.4
- Use gmake(1) since build fails with BSD make(1)
Diffstat (limited to 'games/xonotic')
-rw-r--r--games/xonotic/Makefile15
-rw-r--r--games/xonotic/distinfo6
-rw-r--r--games/xonotic/pkg-plist2
3 files changed, 11 insertions, 12 deletions
diff --git a/games/xonotic/Makefile b/games/xonotic/Makefile
index da6e23e45c45..a0ba827dbead 100644
--- a/games/xonotic/Makefile
+++ b/games/xonotic/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= nexuiz
-PORTVERSION= 2.3
-PORTREVISION= 2
+PORTVERSION= 2.4
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -17,12 +16,13 @@ DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= danfe@FreeBSD.org
COMMENT= A fast-paced, chaotic, and intense multiplayer first person shooter
-NO_PACKAGE= Package will be 368MB, set FORCE_PACKAGE if you really want to build it
+NO_PACKAGE= Package will be 455MB, set FORCE_PACKAGE if you really want to build it
USE_ZIP= yes
+USE_GMAKE= yes
WRKSRC= ${WRKDIR}/Nexuiz/sources/darkplaces
-MAKEFILE= BSDmakefile
+MAKEFILE= makefile
MAKE_ARGS= CC="${CC}" OPTIM_RELEASE="${CFLAGS} -fno-strict-aliasing -funroll-loops"
ALL_TARGET= #
@@ -72,14 +72,13 @@ PLIST_SUB+= SERVER="@comment "
.endif
post-extract:
- @${EXTRACT_CMD} ${WRKDIR}/Nexuiz/sources/enginesource20070531.zip \
+ @${EXTRACT_CMD} ${WRKDIR}/Nexuiz/sources/enginesource20080229.zip \
-d ${WRKDIR}/Nexuiz/sources
- @${REINPLACE_CMD} -e 's,/usr/X11R6,${X11BASE},; 96,$$d' \
- ${WRKSRC}/${MAKEFILE}
+ @${REINPLACE_CMD} -e 's,/usr/X11R6,${X11BASE},' ${WRKSRC}/${MAKEFILE}
@${REINPLACE_CMD} -E 's,(fs_basedir\, )"",\1"${DATADIR}",' ${WRKSRC}/fs.c
do-build:
- @(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} \
+ @(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} \
${MAKEFILE} ${MAKE_ARGS} ${ALL_TARGET})
do-install:
diff --git a/games/xonotic/distinfo b/games/xonotic/distinfo
index 2cf130f2fabb..5250658e08fd 100644
--- a/games/xonotic/distinfo
+++ b/games/xonotic/distinfo
@@ -1,6 +1,6 @@
-MD5 (nexuiz-23.zip) = b60c1f5198135463d00261646ae26911
-SHA256 (nexuiz-23.zip) = 232c08f3e0fa67ca3fd63995d3f6c88cbb9f771c96d4159c085151906cc43074
-SIZE (nexuiz-23.zip) = 286217879
+MD5 (nexuiz-24.zip) = 7ecf1e683c3db02cdbc8d4514e8e33ce
+SHA256 (nexuiz-24.zip) = 35c6972583f872794b8636bf0a0e23b336b70bdd6a6dc2624fb86e2abf6c30f4
+SIZE (nexuiz-24.zip) = 380347457
MD5 (nexmappack_r2.zip) = e881e78e02e5e97c7c453192aab58f7d
SHA256 (nexmappack_r2.zip) = 15088c7632e0b4f487c789fba4296f44ef5a5d83b51adcb9e603e289e5b8241e
SIZE (nexmappack_r2.zip) = 113533483
diff --git a/games/xonotic/pkg-plist b/games/xonotic/pkg-plist
index af3e8e0ee04b..05f4796f22a2 100644
--- a/games/xonotic/pkg-plist
+++ b/games/xonotic/pkg-plist
@@ -2,7 +2,7 @@
%%SDL_CLIENT%%bin/nexuiz-sdl
%%SERVER%%bin/nexuiz-dedicated
%%DATADIR%%/data/common-spog.pk3
-%%DATADIR%%/data/data20070531.pk3
+%%DATADIR%%/data/data20080229.pk3
%%MAPPACK%%%%DATADIR%%/data/79drdm5_beta2_nex.pk3
%%MAPPACK%%%%DATADIR%%/data/79drgc2_nex.pk3
%%MAPPACK%%%%DATADIR%%/data/CMP1-dm6_nex.pk3