summaryrefslogtreecommitdiffstats
path: root/games/fteqw/Makefile
diff options
context:
space:
mode:
authorpawel <pawel@FreeBSD.org>2014-04-13 17:43:34 +0000
committerpawel <pawel@FreeBSD.org>2014-04-13 17:43:34 +0000
commit4322bb33a17c9b2a8ee5c29223a9564d70950140 (patch)
tree4d06ec62ca8c32d3a0325b8c6100e9edb5d6171d /games/fteqw/Makefile
parent44137498f7cfcc736eaefaf95258578bdfc2a51a (diff)
downloadFreeBSD-ports-4322bb33a17c9b2a8ee5c29223a9564d70950140.zip
FreeBSD-ports-4322bb33a17c9b2a8ee5c29223a9564d70950140.tar.gz
- Add staging support
- Convert to new LIB_DEPENDS format
Diffstat (limited to 'games/fteqw/Makefile')
-rw-r--r--games/fteqw/Makefile14
1 files changed, 4 insertions, 10 deletions
diff --git a/games/fteqw/Makefile b/games/fteqw/Makefile
index 247e026..a774e02 100644
--- a/games/fteqw/Makefile
+++ b/games/fteqw/Makefile
@@ -28,7 +28,6 @@ GLCLIENT_DESC= Build OpenGL client
SDLCLIENT_DESC= Build SDL client
SERVER_DESC= Build dedicated server
-NO_STAGE= yes
.include "${.CURDIR}/../quake-data/Makefile.include"
.include <bsd.port.options.mk>
@@ -38,9 +37,9 @@ PLIST_FILES+= bin/fteqw-sv
.endif
.if ${PORT_OPTIONS:MGLCLIENT} || !empty(PORT_OPTIONS:MSDLCLIENT)
-LIB_DEPENDS+= jpeg:${PORTSDIR}/graphics/jpeg \
- png15:${PORTSDIR}/graphics/png \
- vorbis:${PORTSDIR}/audio/libvorbis
+LIB_DEPENDS+= libjpeg.so:${PORTSDIR}/graphics/jpeg \
+ libpng15.so:${PORTSDIR}/graphics/png \
+ libvorbis.so:${PORTSDIR}/audio/libvorbis
CFLAGS+= -I${LOCALBASE}/include/libpng15
.endif
@@ -70,12 +69,7 @@ post-patch:
do-install:
.for f in ${PLIST_FILES:T}
- ${INSTALL_PROGRAM} ${WRKSRC}/release/${f:S/-/./} ${PREFIX}/bin/${f}
+ ${INSTALL_PROGRAM} ${WRKSRC}/release/${f:S/-/./} ${STAGEDIR}${PREFIX}/bin/${f}
.endfor
-post-install:
- @${ECHO_CMD}
- @${CAT} ${PKGMESSAGE}
- @${ECHO_CMD}
-
.include <bsd.port.mk>
OpenPOWER on IntegriCloud