aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2012-05-12 21:01:55 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2012-05-12 21:01:55 +0800
commit33975b9bae44a96a42fc84f5431f35f9fdd3feb8 (patch)
tree7607a3172c9d3b7471b3be2aecd7368d72d052a6 /games
parent93f459fb46320fcba35795a453122bd1819de02f (diff)
downloadfreebsd-ports-gnome-33975b9bae44a96a42fc84f5431f35f9fdd3feb8.tar.gz
freebsd-ports-gnome-33975b9bae44a96a42fc84f5431f35f9fdd3feb8.tar.zst
freebsd-ports-gnome-33975b9bae44a96a42fc84f5431f35f9fdd3feb8.zip
- Respect STRIP in games using darkplaces engine
- While here, minor cleanup in nexuiz port PR: ports/167817 Submitted by: Jan Beich <jbeich@tormail.org>
Diffstat (limited to 'games')
-rw-r--r--games/nexuiz/Makefile13
-rw-r--r--games/steelstorm/Makefile1
-rw-r--r--games/xonotic/Makefile3
3 files changed, 10 insertions, 7 deletions
diff --git a/games/nexuiz/Makefile b/games/nexuiz/Makefile
index e71d397ee3b5..9aff1de1051f 100644
--- a/games/nexuiz/Makefile
+++ b/games/nexuiz/Makefile
@@ -17,19 +17,22 @@ DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= A fast-paced, chaotic, and intense multiplayer first person shooter
+LIB_DEPENDS= curl.6:${PORTSDIR}/ftp/curl \
+ jpeg.11:${PORTSDIR}/graphics/jpeg
+
LICENSE= GPLv2
-# Package size below is for default set of OPTIONS
-NO_PACKAGE= Package will be 942MB, set FORCE_PACKAGE if you really want it
+MANUAL_PACKAGE_BUILD= huge
USE_ZIP= yes
-
WRKSRC= ${WRKDIR}/Nexuiz/sources/darkplaces
MAKEFILE= BSDmakefile
MAKE_ARGS= DP_FS_BASEDIR="${DATADIR}" CC="${CC}" \
DP_PRELOAD_DEPENDENCIES=yes DP_LINK_TO_LIBJPEG=yes \
CFLAGS_LIBJPEG="-I${LOCALBASE}/include" \
- OPTIM_RELEASE="${CFLAGS} -fno-strict-aliasing -funroll-loops"
+ OPTIM_RELEASE="${CFLAGS} -fno-strict-aliasing -funroll-loops" \
+ STRIP="${STRIP_CMD}"
+MAKE_JOBS_UNSAFE=yes
ALL_TARGET= #
OPTIONS= CLIENT "Build GLX client" on \
@@ -50,8 +53,6 @@ PLIST_SUB+= MAPPACK=""
PLIST_SUB+= MAPPACK="@comment "
.endif
-LIB_DEPENDS= curl.6:${PORTSDIR}/ftp/curl \
- jpeg.11:${PORTSDIR}/graphics/jpeg
.if defined(WITH_CLIENT) || defined(WITH_SDL_CLIENT)
LIB_DEPENDS+= modplug.1:${PORTSDIR}/audio/libmodplug \
png.6:${PORTSDIR}/graphics/png \
diff --git a/games/steelstorm/Makefile b/games/steelstorm/Makefile
index 2a5f2fbe50ac..21cad2d32fdb 100644
--- a/games/steelstorm/Makefile
+++ b/games/steelstorm/Makefile
@@ -35,6 +35,7 @@ MAKE_JOBS_SAFE= yes
WRKSRC= ${WRKDIR}/${PORTNAME}
BUILD_WRKSRC= ${WRKSRC}/engine_source
MAKEFILE= BSDmakefile
+MAKE_ENV= STRIP="${STRIP_CMD}"
ALL_TARGET= # empty
PORTDOCS= README.txt
diff --git a/games/xonotic/Makefile b/games/xonotic/Makefile
index 9faab3d8c5ff..320fde43edfd 100644
--- a/games/xonotic/Makefile
+++ b/games/xonotic/Makefile
@@ -26,7 +26,8 @@ MAKEFILE= BSDmakefile
MAKE_ARGS= DP_FS_BASEDIR="${DATADIR}" \
DP_PRELOAD_DEPENDENCIES=yes \
CFLAGS_LIBJPEG="-I${LOCALBASE}/include -DLINK_TO_LIBJPEG" \
- OPTIM_RELEASE="${CFLAGS} -fno-strict-aliasing -funroll-loops"
+ OPTIM_RELEASE="${CFLAGS} -fno-strict-aliasing -funroll-loops" \
+ STRIP="${STRIP_CMD}"
MAKE_JOBS_UNSAFE=yes
ALL_TARGET= #
BINARIES= #