aboutsummaryrefslogtreecommitdiff
path: root/games/hllib
diff options
context:
space:
mode:
authorDanilo Egea Gondolfo <danilo@FreeBSD.org>2013-10-01 14:10:43 +0000
committerDanilo Egea Gondolfo <danilo@FreeBSD.org>2013-10-01 14:10:43 +0000
commit35233318ca88929a129f3c27c7a7e9c23e51164f (patch)
tree4d7f6824fadf4062d817df9133cbf7818006b7e6 /games/hllib
parentd61d3293a3c2a4bc3a7c45102de70cabd18036f5 (diff)
downloadports-35233318ca88929a129f3c27c7a7e9c23e51164f.tar.gz
ports-35233318ca88929a129f3c27c7a7e9c23e51164f.zip
- Change maintainer email to @FreeBSD.org
- Add stage support Approved by: wg (mentor)
Notes
Notes: svn path=/head/; revision=328949
Diffstat (limited to 'games/hllib')
-rw-r--r--games/hllib/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/games/hllib/Makefile b/games/hllib/Makefile
index 9ea5222a4ea8..63267d1b0da4 100644
--- a/games/hllib/Makefile
+++ b/games/hllib/Makefile
@@ -7,7 +7,7 @@ CATEGORIES= games devel
MASTER_SITES= http://nemesis.thewavelength.net/files/files/
DISTNAME= ${PORTNAME}${PORTVERSION:S/.//g}
-MAINTAINER= danilogondolfo@gmail.com
+MAINTAINER= danilo@FreeBSD.org
COMMENT= Library to work with various Half-Life file formats
LICENSE= LGPL21
@@ -24,11 +24,12 @@ HLLIB_VERS= 2.4.4
PLIST_FILES= include/hl.h lib/libhl.so.${HLLIB_VERS} \
lib/libhl.so.2 lib/libhl.so
-NO_STAGE= yes
+MAKE_ARGS= PREFIX="${STAGEDIR}${PREFIX}"
+
post-patch:
# Allow propagating of CXX, CXXFLAGS, and PREFIX; fix Linuxism and symlinks
- @${REINPLACE_CMD} -E 's,^([CP][^=]*)=,\1?=, ; s,g root,g wheel, ; \
- s,s \$$\(PREFIX\)/lib/,s ,' ${WRKSRC}/Makefile
+ @${REINPLACE_CMD} -E 's,^([CP][^=]*)=,\1?=, ; s,-g root,,g ; \
+ s,-o root,,g ; s,s \$$\(PREFIX\)/lib/,s ,' ${WRKSRC}/Makefile
# Add forgotten file to the source list so it would be picked up by linker
@${REINPLACE_CMD} -e 's,ProcStream\.cpp,& SGAFile.cpp,' \
${WRKSRC}/Makefile