aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2005-07-12 19:51:25 +0800
committerdanfe <danfe@FreeBSD.org>2005-07-12 19:51:25 +0800
commit41493085bc60256715cbb11554c9d8aa75b1ee32 (patch)
tree2d6a10a8b9ded369cb48a522053c2cf526bd58cd
parent8bbc1b1658c876080b1d7119b98ad2c41bed9807 (diff)
downloadfreebsd-ports-gnome-41493085bc60256715cbb11554c9d8aa75b1ee32.tar.gz
freebsd-ports-gnome-41493085bc60256715cbb11554c9d8aa75b1ee32.tar.zst
freebsd-ports-gnome-41493085bc60256715cbb11554c9d8aa75b1ee32.zip
Update to 1.1.
I've decided to do upgrade via patch to save users from downloading huge full new version distfile while they might have original one already on disk.
-rw-r--r--games/nexuiz/Makefile19
-rw-r--r--games/nexuiz/distinfo2
-rw-r--r--games/xonotic/Makefile19
-rw-r--r--games/xonotic/distinfo2
4 files changed, 24 insertions, 18 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
diff --git a/games/xonotic/Makefile b/games/xonotic/Makefile
index e282a778574b..95b94380846a 100644
--- a/games/xonotic/Makefile
+++ b/games/xonotic/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/xonotic/distinfo b/games/xonotic/distinfo
index 35840c6f3086..3c228c67d22f 100644
--- a/games/xonotic/distinfo
+++ b/games/xonotic/distinfo
@@ -1,2 +1,4 @@
MD5 (nexuiz.zip) = 43fbe6322931460b69ff257df1eb0bee
SIZE (nexuiz.zip) = 161541758
+MD5 (patch11.zip) = b94642ca4932682e400ef79c5edef5ec
+SIZE (patch11.zip) = 15013902