diff options
author | danfe <danfe@FreeBSD.org> | 2005-06-03 19:09:13 +0800 |
---|---|---|
committer | danfe <danfe@FreeBSD.org> | 2005-06-03 19:09:13 +0800 |
commit | 1987cf7bf7e096ea94420d76cfe19868f94e7512 (patch) | |
tree | 6ee54eba017f3992552012a1477e5a1da93de40f /games | |
parent | b8d726db61a16754a2f752fe080dfab600a5b1e8 (diff) | |
download | freebsd-ports-gnome-1987cf7bf7e096ea94420d76cfe19868f94e7512.tar.gz freebsd-ports-gnome-1987cf7bf7e096ea94420d76cfe19868f94e7512.tar.zst freebsd-ports-gnome-1987cf7bf7e096ea94420d76cfe19868f94e7512.zip |
Add Nexuiz, a fast-paced, chaotic, and intense multiplayer first person
shooter.
WWW: http://www.nexuiz.com/
Diffstat (limited to 'games')
-rw-r--r-- | games/Makefile | 1 | ||||
-rw-r--r-- | games/nexuiz/Makefile | 87 | ||||
-rw-r--r-- | games/nexuiz/distinfo | 2 | ||||
-rw-r--r-- | games/nexuiz/pkg-descr | 17 | ||||
-rw-r--r-- | games/xonotic/Makefile | 87 | ||||
-rw-r--r-- | games/xonotic/distinfo | 2 | ||||
-rw-r--r-- | games/xonotic/pkg-descr | 17 |
7 files changed, 213 insertions, 0 deletions
diff --git a/games/Makefile b/games/Makefile index f55e3f36491b..cdf74f37a33a 100644 --- a/games/Makefile +++ b/games/Makefile @@ -335,6 +335,7 @@ SUBDIR += nettoe SUBDIR += neverball SUBDIR += newvox + SUBDIR += nexuiz SUBDIR += nibbles SUBDIR += nighthawk SUBDIR += nil diff --git a/games/nexuiz/Makefile b/games/nexuiz/Makefile new file mode 100644 index 000000000000..92ad3145d27a --- /dev/null +++ b/games/nexuiz/Makefile @@ -0,0 +1,87 @@ +# New ports collection makefile for: Nexuiz +# Date created: 03 Jun 2005 +# Whom: Alexey Dokuchaev <danfe@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= nexuiz +PORTVERSION= 1.0 +CATEGORIES= games +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= ${PORTNAME} +DISTNAME= ${PORTNAME} + +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 + +#USE_MAKE= yes +USE_REINPLACE= yes +USE_ZIP= yes + +WRKSRC= ${WRKDIR}/Nexuiz/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 +PLIST_DIRS= %%DATADIR%%/data %%DATADIR%% + +OPTIONS= CLIENT "Build GLX client" on \ + SDL_CLIENT "Build SDL client" on \ + SERVER "Build dedicated server" on + +.include <bsd.port.pre.mk> + +.if !(defined(WITHOUT_CLIENT) && defined(WITHOUT_SDL_CLIENT)) +# Loads libraries on run-time, thus RUN_DEPENDS +RUN_DEPENDS= ${LOCALBASE}/lib/libvorbis.so:${PORTSDIR}/audio/libvorbis \ + ${LOCALBASE}/lib/libjpeg.so:${PORTSDIR}/graphics/jpeg +.endif + +.if !defined(WITHOUT_CLIENT) +USE_GL= yes +ALL_TARGET+= cl-release +PLIST_SUB+= CLIENT="" +.else +PLIST_SUB+= CLIENT="@comment " +.endif + +.if !defined(WITHOUT_SDL_CLIENT) +USE_SDL= sdl +ALL_TARGET+= sdl-release +PLIST_SUB+= SDL_CLIENT="" +.else +PLIST_SUB+= SDL_CLIENT="@comment " +.endif + +.if !defined(WITHOUT_SERVER) +ALL_TARGET+= sv-release +PLIST_SUB+= SERVER="" +.else +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' \ + ${WRKSRC}/${MAKEFILE} + @${ECHO_CMD} 'LDFLAGS_SDL=$$(LDFLAGS_BSDSDL)' >> ${WRKSRC}/${MAKEFILE} + @${REINPLACE_CMD} -E 's,"\.","${DATADIR}",' ${WRKSRC}/fs.c + +do-build: + @(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} \ + ${MAKEFILE} ${MAKE_ARGS} ${ALL_TARGET}) + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/nexuiz-* ${PREFIX}/bin + @${MKDIR} ${DATADIR}/data + ${INSTALL_DATA} ${WRKDIR}/Nexuiz/data/data20050531.pk3 ${DATADIR}/data + +.include <bsd.port.post.mk> diff --git a/games/nexuiz/distinfo b/games/nexuiz/distinfo new file mode 100644 index 000000000000..35840c6f3086 --- /dev/null +++ b/games/nexuiz/distinfo @@ -0,0 +1,2 @@ +MD5 (nexuiz.zip) = 43fbe6322931460b69ff257df1eb0bee +SIZE (nexuiz.zip) = 161541758 diff --git a/games/nexuiz/pkg-descr b/games/nexuiz/pkg-descr new file mode 100644 index 000000000000..38731f1e1f01 --- /dev/null +++ b/games/nexuiz/pkg-descr @@ -0,0 +1,17 @@ +Nexuiz is a fast-paced, chaotic, and intense multiplayer first person +shooter, focused on providing basic, old style deathmatch. This release +includes 17 maps, 28 playable characters, and 10 music tracks. + +Nexuiz is built on the power of the Darkplaces engine, which is a heavily +modified version of the original Quake. Darkplaces features realtime +lighting and stencil shadows, bumpmapping, gloss, bloom, and totally +rewritten network code that supports up to 64 players on a single server. +While quality gameplay was our primary goal, it's graphics technology and +artwork allows the game to compete with the current quality of commercial +games. + +Any online deathmatch fan will instantly feel at home with Nexuiz' weapons +and movement style. The fast server browser and quick loading time allows +you to jump right into a game at a moments notice and play a quick game. + +WWW: http://www.nexuiz.com/ diff --git a/games/xonotic/Makefile b/games/xonotic/Makefile new file mode 100644 index 000000000000..92ad3145d27a --- /dev/null +++ b/games/xonotic/Makefile @@ -0,0 +1,87 @@ +# New ports collection makefile for: Nexuiz +# Date created: 03 Jun 2005 +# Whom: Alexey Dokuchaev <danfe@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= nexuiz +PORTVERSION= 1.0 +CATEGORIES= games +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= ${PORTNAME} +DISTNAME= ${PORTNAME} + +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 + +#USE_MAKE= yes +USE_REINPLACE= yes +USE_ZIP= yes + +WRKSRC= ${WRKDIR}/Nexuiz/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 +PLIST_DIRS= %%DATADIR%%/data %%DATADIR%% + +OPTIONS= CLIENT "Build GLX client" on \ + SDL_CLIENT "Build SDL client" on \ + SERVER "Build dedicated server" on + +.include <bsd.port.pre.mk> + +.if !(defined(WITHOUT_CLIENT) && defined(WITHOUT_SDL_CLIENT)) +# Loads libraries on run-time, thus RUN_DEPENDS +RUN_DEPENDS= ${LOCALBASE}/lib/libvorbis.so:${PORTSDIR}/audio/libvorbis \ + ${LOCALBASE}/lib/libjpeg.so:${PORTSDIR}/graphics/jpeg +.endif + +.if !defined(WITHOUT_CLIENT) +USE_GL= yes +ALL_TARGET+= cl-release +PLIST_SUB+= CLIENT="" +.else +PLIST_SUB+= CLIENT="@comment " +.endif + +.if !defined(WITHOUT_SDL_CLIENT) +USE_SDL= sdl +ALL_TARGET+= sdl-release +PLIST_SUB+= SDL_CLIENT="" +.else +PLIST_SUB+= SDL_CLIENT="@comment " +.endif + +.if !defined(WITHOUT_SERVER) +ALL_TARGET+= sv-release +PLIST_SUB+= SERVER="" +.else +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' \ + ${WRKSRC}/${MAKEFILE} + @${ECHO_CMD} 'LDFLAGS_SDL=$$(LDFLAGS_BSDSDL)' >> ${WRKSRC}/${MAKEFILE} + @${REINPLACE_CMD} -E 's,"\.","${DATADIR}",' ${WRKSRC}/fs.c + +do-build: + @(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} \ + ${MAKEFILE} ${MAKE_ARGS} ${ALL_TARGET}) + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/nexuiz-* ${PREFIX}/bin + @${MKDIR} ${DATADIR}/data + ${INSTALL_DATA} ${WRKDIR}/Nexuiz/data/data20050531.pk3 ${DATADIR}/data + +.include <bsd.port.post.mk> diff --git a/games/xonotic/distinfo b/games/xonotic/distinfo new file mode 100644 index 000000000000..35840c6f3086 --- /dev/null +++ b/games/xonotic/distinfo @@ -0,0 +1,2 @@ +MD5 (nexuiz.zip) = 43fbe6322931460b69ff257df1eb0bee +SIZE (nexuiz.zip) = 161541758 diff --git a/games/xonotic/pkg-descr b/games/xonotic/pkg-descr new file mode 100644 index 000000000000..38731f1e1f01 --- /dev/null +++ b/games/xonotic/pkg-descr @@ -0,0 +1,17 @@ +Nexuiz is a fast-paced, chaotic, and intense multiplayer first person +shooter, focused on providing basic, old style deathmatch. This release +includes 17 maps, 28 playable characters, and 10 music tracks. + +Nexuiz is built on the power of the Darkplaces engine, which is a heavily +modified version of the original Quake. Darkplaces features realtime +lighting and stencil shadows, bumpmapping, gloss, bloom, and totally +rewritten network code that supports up to 64 players on a single server. +While quality gameplay was our primary goal, it's graphics technology and +artwork allows the game to compete with the current quality of commercial +games. + +Any online deathmatch fan will instantly feel at home with Nexuiz' weapons +and movement style. The fast server browser and quick loading time allows +you to jump right into a game at a moments notice and play a quick game. + +WWW: http://www.nexuiz.com/ |