aboutsummaryrefslogtreecommitdiff
path: root/games/fteqw
diff options
context:
space:
mode:
authorPawel Pekala <pawel@FreeBSD.org>2014-04-13 17:43:34 +0000
committerPawel Pekala <pawel@FreeBSD.org>2014-04-13 17:43:34 +0000
commitac0fd4b8b25eeb0248b40f92a5dcf5f646225c77 (patch)
tree4d06ec62ca8c32d3a0325b8c6100e9edb5d6171d /games/fteqw
parentb018584ae229b97aa22e8693faa771e2ee92c3ac (diff)
downloadports-ac0fd4b8b25eeb0248b40f92a5dcf5f646225c77.tar.gz
ports-ac0fd4b8b25eeb0248b40f92a5dcf5f646225c77.zip
- Add staging support
- Convert to new LIB_DEPENDS format
Notes
Notes: svn path=/head/; revision=351233
Diffstat (limited to 'games/fteqw')
-rw-r--r--games/fteqw/Makefile14
1 files changed, 4 insertions, 10 deletions
diff --git a/games/fteqw/Makefile b/games/fteqw/Makefile
index 247e0267ebbe..a774e028c0a9 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>