aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2006-06-28 18:57:21 +0800
committerdanfe <danfe@FreeBSD.org>2006-06-28 18:57:21 +0800
commit4243c17414c743e15ae2c55619145ff5796f6657 (patch)
treeac57f8b92b83b1f8c2cd516f77aa1829a9b69ed4
parent1bb004c32391ea70fde8c0361af6198bd13a0abe (diff)
downloadfreebsd-ports-gnome-4243c17414c743e15ae2c55619145ff5796f6657.tar.gz
freebsd-ports-gnome-4243c17414c743e15ae2c55619145ff5796f6657.tar.zst
freebsd-ports-gnome-4243c17414c743e15ae2c55619145ff5796f6657.zip
Update to version 2.0.
-rw-r--r--games/nexuiz/Makefile26
-rw-r--r--games/nexuiz/distinfo6
-rw-r--r--games/xonotic/Makefile26
-rw-r--r--games/xonotic/distinfo6
4 files changed, 34 insertions, 30 deletions
diff --git a/games/nexuiz/Makefile b/games/nexuiz/Makefile
index 0ac7e9c0d5d6..6377f2f5c03f 100644
--- a/games/nexuiz/Makefile
+++ b/games/nexuiz/Makefile
@@ -6,26 +6,27 @@
#
PORTNAME= nexuiz
-PORTVERSION= 1.2.1
+PORTVERSION= 2.0
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
-DISTNAME= ${PORTNAME}${PORTVERSION:S/.//g}
+DISTNAME= ${PORTNAME}-${PORTVERSION:S/.//g}
MAINTAINER= danfe@FreeBSD.org
COMMENT= A fast-paced, chaotic, and intense multiplayer first person shooter
-NO_PACKAGE= "Package will be 159MB, set FORCE_PACKAGE if you really want to build it"
+NO_PACKAGE= Package will be 180MB, set FORCE_PACKAGE if you really want to build it
USE_ZIP= yes
WRKSRC= ${WRKDIR}/Nexuiz/sources/darkplaces
-MAKEFILE= makefile.bsd
+MAKEFILE= BSDmakefile
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/data20050905-full.pk3
+ %%SERVER%%bin/${PORTNAME}-dedicated %%DATADIR%%/data/common-spog.pk3 \
+ %%DATADIR%%/data/data20060614.pk3
PLIST_DIRS= %%DATADIR%%/data %%DATADIR%%
OPTIONS= CLIENT "Build GLX client" on \
@@ -64,14 +65,15 @@ PLIST_SUB+= SERVER="@comment "
.endif
pre-patch:
- @${EXTRACT_CMD} ${WRKDIR}/Nexuiz/${PORTNAME}enginesource20050911.zip \
+ @${EXTRACT_CMD} ${WRKDIR}/Nexuiz/sources/enginesource20060614.zip \
-d ${WRKDIR}/Nexuiz/sources
- @${REINPLACE_CMD} -E 's,sdl-config,sdl11-config,g; 161,165d; \
- s,^#(LDFLAGS_UNIXCL),\1,' ${WRKSRC}/makefile.inc
- @${REINPLACE_CMD} -e 's,/usr/X11R6,${X11BASE},; 74,$$d' \
+ @${REINPLACE_CMD} -E 's,sdl-config,${SDL_CONFIG},g' \
+ ${WRKSRC}/makefile.inc
+ @${REINPLACE_CMD} -e 's,/usr/X11R6,${X11BASE},; 81,$$d' \
${WRKSRC}/${MAKEFILE}
- @${ECHO_CMD} 'LDFLAGS_SDL=$$(LDFLAGS_BSDSDL)' >> ${WRKSRC}/${MAKEFILE}
- @${REINPLACE_CMD} -E 's,"\.","${DATADIR}",' ${WRKSRC}/fs.c
+ @${REINPLACE_CMD} -E 's,(fs_basedir\, )"",\1"${DATADIR}",' ${WRKSRC}/fs.c
+ @${REINPLACE_CMD} -e 's,libpng12\.so\.0,libpng\.so,' ${WRKSRC}/image_png.c
+ @${REINPLACE_CMD} -e 's,RTLD_LAZY,& | RTLD_GLOBAL,' ${WRKSRC}/vid_glx.c
do-build:
@(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} \
@@ -81,6 +83,6 @@ do-install:
${SH} -c '${FIND} ${WRKSRC} -name "darkplaces-*[^vp]" | while read f ; \
do ${INSTALL_PROGRAM} $${f} ${PREFIX}/bin/${PORTNAME}-$${f##*-} ; done'
@${MKDIR} ${DATADIR}/data
- ${INSTALL_DATA} ${WRKDIR}/Nexuiz/data/data20050905-full.pk3 ${DATADIR}/data
+ ${INSTALL_DATA} ${WRKDIR}/Nexuiz/data/*.pk3 ${DATADIR}/data
.include <bsd.port.post.mk>
diff --git a/games/nexuiz/distinfo b/games/nexuiz/distinfo
index e727d4fe6ddb..3cbd456dea0e 100644
--- a/games/nexuiz/distinfo
+++ b/games/nexuiz/distinfo
@@ -1,3 +1,3 @@
-MD5 (nexuiz121.zip) = d5f31c9e1199abbe3a89ea9bf6b7515e
-SHA256 (nexuiz121.zip) = 1d7c31c9d50ffb3d929d74a3d5b646855ca3bc12008349b8942cebde47782764
-SIZE (nexuiz121.zip) = 171720620
+MD5 (nexuiz-20.zip) = 3cabe44472a848b870685b225b1086c3
+SHA256 (nexuiz-20.zip) = ec530582a8050ddc6f270446994e83a24aa8b664f136132f5764f9a9aa192bf1
+SIZE (nexuiz-20.zip) = 199962978
diff --git a/games/xonotic/Makefile b/games/xonotic/Makefile
index 0ac7e9c0d5d6..6377f2f5c03f 100644
--- a/games/xonotic/Makefile
+++ b/games/xonotic/Makefile
@@ -6,26 +6,27 @@
#
PORTNAME= nexuiz
-PORTVERSION= 1.2.1
+PORTVERSION= 2.0
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
-DISTNAME= ${PORTNAME}${PORTVERSION:S/.//g}
+DISTNAME= ${PORTNAME}-${PORTVERSION:S/.//g}
MAINTAINER= danfe@FreeBSD.org
COMMENT= A fast-paced, chaotic, and intense multiplayer first person shooter
-NO_PACKAGE= "Package will be 159MB, set FORCE_PACKAGE if you really want to build it"
+NO_PACKAGE= Package will be 180MB, set FORCE_PACKAGE if you really want to build it
USE_ZIP= yes
WRKSRC= ${WRKDIR}/Nexuiz/sources/darkplaces
-MAKEFILE= makefile.bsd
+MAKEFILE= BSDmakefile
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/data20050905-full.pk3
+ %%SERVER%%bin/${PORTNAME}-dedicated %%DATADIR%%/data/common-spog.pk3 \
+ %%DATADIR%%/data/data20060614.pk3
PLIST_DIRS= %%DATADIR%%/data %%DATADIR%%
OPTIONS= CLIENT "Build GLX client" on \
@@ -64,14 +65,15 @@ PLIST_SUB+= SERVER="@comment "
.endif
pre-patch:
- @${EXTRACT_CMD} ${WRKDIR}/Nexuiz/${PORTNAME}enginesource20050911.zip \
+ @${EXTRACT_CMD} ${WRKDIR}/Nexuiz/sources/enginesource20060614.zip \
-d ${WRKDIR}/Nexuiz/sources
- @${REINPLACE_CMD} -E 's,sdl-config,sdl11-config,g; 161,165d; \
- s,^#(LDFLAGS_UNIXCL),\1,' ${WRKSRC}/makefile.inc
- @${REINPLACE_CMD} -e 's,/usr/X11R6,${X11BASE},; 74,$$d' \
+ @${REINPLACE_CMD} -E 's,sdl-config,${SDL_CONFIG},g' \
+ ${WRKSRC}/makefile.inc
+ @${REINPLACE_CMD} -e 's,/usr/X11R6,${X11BASE},; 81,$$d' \
${WRKSRC}/${MAKEFILE}
- @${ECHO_CMD} 'LDFLAGS_SDL=$$(LDFLAGS_BSDSDL)' >> ${WRKSRC}/${MAKEFILE}
- @${REINPLACE_CMD} -E 's,"\.","${DATADIR}",' ${WRKSRC}/fs.c
+ @${REINPLACE_CMD} -E 's,(fs_basedir\, )"",\1"${DATADIR}",' ${WRKSRC}/fs.c
+ @${REINPLACE_CMD} -e 's,libpng12\.so\.0,libpng\.so,' ${WRKSRC}/image_png.c
+ @${REINPLACE_CMD} -e 's,RTLD_LAZY,& | RTLD_GLOBAL,' ${WRKSRC}/vid_glx.c
do-build:
@(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} \
@@ -81,6 +83,6 @@ do-install:
${SH} -c '${FIND} ${WRKSRC} -name "darkplaces-*[^vp]" | while read f ; \
do ${INSTALL_PROGRAM} $${f} ${PREFIX}/bin/${PORTNAME}-$${f##*-} ; done'
@${MKDIR} ${DATADIR}/data
- ${INSTALL_DATA} ${WRKDIR}/Nexuiz/data/data20050905-full.pk3 ${DATADIR}/data
+ ${INSTALL_DATA} ${WRKDIR}/Nexuiz/data/*.pk3 ${DATADIR}/data
.include <bsd.port.post.mk>
diff --git a/games/xonotic/distinfo b/games/xonotic/distinfo
index e727d4fe6ddb..3cbd456dea0e 100644
--- a/games/xonotic/distinfo
+++ b/games/xonotic/distinfo
@@ -1,3 +1,3 @@
-MD5 (nexuiz121.zip) = d5f31c9e1199abbe3a89ea9bf6b7515e
-SHA256 (nexuiz121.zip) = 1d7c31c9d50ffb3d929d74a3d5b646855ca3bc12008349b8942cebde47782764
-SIZE (nexuiz121.zip) = 171720620
+MD5 (nexuiz-20.zip) = 3cabe44472a848b870685b225b1086c3
+SHA256 (nexuiz-20.zip) = ec530582a8050ddc6f270446994e83a24aa8b664f136132f5764f9a9aa192bf1
+SIZE (nexuiz-20.zip) = 199962978