aboutsummaryrefslogtreecommitdiff
path: root/games/nexuiz
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2005-07-12 11:51:25 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2005-07-12 11:51:25 +0000
commitd4c0ac1f537cf98860854c350db7734c30caec42 (patch)
tree813b5a7bca4387d414209bd90b963faba1e42ad6 /games/nexuiz
parent367d1d6677f07c33405406cd8839b756e6923d6d (diff)
downloadports-d4c0ac1f537cf98860854c350db7734c30caec42.tar.gz
ports-d4c0ac1f537cf98860854c350db7734c30caec42.zip
Notes
Diffstat (limited to 'games/nexuiz')
-rw-r--r--games/nexuiz/Makefile19
-rw-r--r--games/nexuiz/distinfo2
2 files changed, 12 insertions, 9 deletions
diff --git a/games/nexuiz/Makefile b/games/nexuiz/Makefile
index e282a778574b..95b94380846a 100644
--- a/games/nexuiz/Makefile
+++ b/games/nexuiz/Makefile
@@ -6,27 +6,29 @@
#
PORTNAME= nexuiz
-PORTVERSION= 1.0
+PORTVERSION= 1.1
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
-DISTNAME= ${PORTNAME}
+DISTFILES= ${PORTNAME}${EXTRACT_SUFX} \
+ patch${PORTVERSION:S/.//g}${EXTRACT_SUFX}
MAINTAINER= danfe@FreeBSD.org
COMMENT= A fast-paced, chaotic, and intense multiplayer first person shooter
-NO_PACKAGE= Package will be 149MB, set FORCE_PACKAGE if you really want to build it
+NO_PACKAGE= Package will be 156MB, set FORCE_PACKAGE if you really want to build it
USE_REINPLACE= yes
USE_ZIP= yes
-WRKSRC= ${WRKDIR}/Nexuiz/sources/darkplaces
+WRKSRC= ${WRKDIR}/sources/darkplaces
MAKEFILE= makefile.bsd
MAKE_ARGS= CC="${CC}" OPTIM_RELEASE="${CFLAGS} -fno-strict-aliasing -ffast-math -funroll-loops"
ALL_TARGET= #
PLIST_FILES= %%CLIENT%%bin/${PORTNAME}-glx %%SDL_CLIENT%%bin/${PORTNAME}-sdl \
- %%SERVER%%bin/${PORTNAME}-dedicated %%DATADIR%%/data/data20050531.pk3
+ %%SERVER%%bin/${PORTNAME}-dedicated %%DATADIR%%/data/data20050531.pk3 \
+ %%DATADIR%%/data/data20050629.pk3
PLIST_DIRS= %%DATADIR%%/data %%DATADIR%%
OPTIONS= CLIENT "Build GLX client" on \
@@ -65,11 +67,9 @@ PLIST_SUB+= SERVER="@comment "
.endif
post-extract:
- @${EXTRACT_CMD} ${WRKDIR}/Nexuiz/sources/nexuizenginesource20050530.zip \
- -d ${WRKDIR}/Nexuiz/sources
@${REINPLACE_CMD} -e 's,sdl-config,sdl11-config,g' \
${WRKSRC}/makefile.inc
- @${REINPLACE_CMD} -e 's,/usr/X11R6,${X11BASE},; 51,$$d' \
+ @${REINPLACE_CMD} -e 's,/usr/X11R6,${X11BASE},; 74,$$d' \
${WRKSRC}/${MAKEFILE}
@${ECHO_CMD} 'LDFLAGS_SDL=$$(LDFLAGS_BSDSDL)' >> ${WRKSRC}/${MAKEFILE}
@${REINPLACE_CMD} -E 's,"\.","${DATADIR}",' ${WRKSRC}/fs.c
@@ -81,6 +81,7 @@ do-build:
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/nexuiz-* ${PREFIX}/bin
@${MKDIR} ${DATADIR}/data
- ${INSTALL_DATA} ${WRKDIR}/Nexuiz/data/data20050531.pk3 ${DATADIR}/data
+ ${INSTALL_DATA} ${WRKDIR}/Nexuiz/data/data20050531.pk3 \
+ ${WRKDIR}/data/data20050629.pk3 ${DATADIR}/data
.include <bsd.port.post.mk>
diff --git a/games/nexuiz/distinfo b/games/nexuiz/distinfo
index 35840c6f3086..3c228c67d22f 100644
--- a/games/nexuiz/distinfo
+++ b/games/nexuiz/distinfo
@@ -1,2 +1,4 @@
MD5 (nexuiz.zip) = 43fbe6322931460b69ff257df1eb0bee
SIZE (nexuiz.zip) = 161541758
+MD5 (patch11.zip) = b94642ca4932682e400ef79c5edef5ec
+SIZE (patch11.zip) = 15013902