Date: Mon, 15 Feb 2016 15:03:14 +0000 (UTC) From: Raphael Kubo da Costa <rakuco@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r408934 - in head/games: . bzflag bzflag-server Message-ID: <201602151503.u1FF3EZZ010819@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: rakuco Date: Mon Feb 15 15:03:13 2016 New Revision: 408934 URL: https://svnweb.freebsd.org/changeset/ports/408934 Log: Add games/bzflag-server, a server-only slave port of games/bzflag. PR: 205854 Submitted by: Kevin Zheng <kevinz5000@gmail.com> (games/bzflag maintainer) Added: head/games/bzflag-server/ head/games/bzflag-server/Makefile (contents, props changed) Modified: head/games/Makefile head/games/bzflag/Makefile head/games/bzflag/pkg-plist Modified: head/games/Makefile ============================================================================== --- head/games/Makefile Mon Feb 15 14:34:53 2016 (r408933) +++ head/games/Makefile Mon Feb 15 15:03:13 2016 (r408934) @@ -121,6 +121,7 @@ SUBDIR += burrtools SUBDIR += bygfoot SUBDIR += bzflag + SUBDIR += bzflag-server SUBDIR += cake SUBDIR += caph SUBDIR += capicity Added: head/games/bzflag-server/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/bzflag-server/Makefile Mon Feb 15 15:03:13 2016 (r408934) @@ -0,0 +1,12 @@ +# Created by: Kevin Zheng <kevinz5000@gmail.com> +# $FreeBSD$ + +PKGNAMESUFFIX= -server +CONFLICTS= bzflag-2.* + +COMMENT= Multiplayer 3D tank battle game (server only) + +SERVER_ONLY= yes +MASTERDIR= ${.CURDIR}/../bzflag + +.include "${MASTERDIR}/Makefile" Modified: head/games/bzflag/Makefile ============================================================================== --- head/games/bzflag/Makefile Mon Feb 15 14:34:53 2016 (r408933) +++ head/games/bzflag/Makefile Mon Feb 15 15:03:13 2016 (r408934) @@ -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/ 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> Modified: head/games/bzflag/pkg-plist ============================================================================== --- head/games/bzflag/pkg-plist Mon Feb 15 14:34:53 2016 (r408933) +++ head/games/bzflag/pkg-plist Mon Feb 15 15:03:13 2016 (r408934) @@ -1,5 +1,5 @@ bin/bzadmin -bin/bzflag +%%CLIENT%%bin/bzflag bin/bzfs lib/bzflag/HoldTheFlag.so lib/bzflag/Phoenix.so
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201602151503.u1FF3EZZ010819>