diff options
author | Raphael Kubo da Costa <rakuco@FreeBSD.org> | 2016-02-15 15:03:13 +0000 |
---|---|---|
committer | Raphael Kubo da Costa <rakuco@FreeBSD.org> | 2016-02-15 15:03:13 +0000 |
commit | e1098899063e7f861160aaee8ac20cc9e34a4488 (patch) | |
tree | cc76ce8fa06bb4077b9a27081269867803a163d6 /games/bzflag | |
parent | 26fe4680aad1a19481f7b5031f2aba926ff5ca3c (diff) |
Add games/bzflag-server, a server-only slave port of games/bzflag.
PR: 205854
Submitted by: Kevin Zheng <kevinz5000@gmail.com> (games/bzflag maintainer)
Notes
Notes:
svn path=/head/; revision=408934
Diffstat (limited to 'games/bzflag')
-rw-r--r-- | games/bzflag/Makefile | 11 | ||||
-rw-r--r-- | games/bzflag/pkg-plist | 2 |
2 files changed, 11 insertions, 2 deletions
diff --git a/games/bzflag/Makefile b/games/bzflag/Makefile index e9b9819ba084..a8b22719de6c 100644 --- a/games/bzflag/Makefile +++ b/games/bzflag/Makefile @@ -7,7 +7,7 @@ CATEGORIES= games MASTER_SITES= SF/${PORTNAME}/${PORTNAME}%20source/${PORTVERSION} MAINTAINER= kevinz5000@gmail.com -COMMENT= Multiplayer 3D tank battle game +COMMENT?= Multiplayer 3D tank battle game LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/COPYING @@ -16,16 +16,25 @@ LIB_DEPENDS= libcurl.so:${PORTSDIR}/ftp/curl GNU_CONFIGURE= yes USES= libtool tar:bzip2 + +.ifndef SERVER_ONLY USE_GL= glew USE_SDL= sdl +.endif MAKE_JOBS_UNSAFE= yes CONFIGURE_ARGS= --enable-ares-build CPPFLAGS+= -I ${LOCALBASE}/include +.ifdef SERVER_ONLY +CONFIGURE_ARGS+= --disable-client +PLIST_SUB+= CLIENT="@comment " +.else DESKTOP_ENTRIES= "BZFlag" "Battle enemy tanks" \ "${DATADIR}/bzflag-256x256.png" \ "bzflag" "Game;ActionGame;" false +PLIST_SUB+= CLIENT="" +.endif .include <bsd.port.mk> diff --git a/games/bzflag/pkg-plist b/games/bzflag/pkg-plist index d862ac178a79..dbf27b7cd7be 100644 --- a/games/bzflag/pkg-plist +++ b/games/bzflag/pkg-plist @@ -1,5 +1,5 @@ bin/bzadmin -bin/bzflag +%%CLIENT%%bin/bzflag bin/bzfs lib/bzflag/HoldTheFlag.so lib/bzflag/Phoenix.so |