aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorpawel <pawel@FreeBSD.org>2014-04-14 01:43:34 +0800
committerpawel <pawel@FreeBSD.org>2014-04-14 01:43:34 +0800
commit4322bb33a17c9b2a8ee5c29223a9564d70950140 (patch)
tree4d06ec62ca8c32d3a0325b8c6100e9edb5d6171d /games
parent44137498f7cfcc736eaefaf95258578bdfc2a51a (diff)
downloadfreebsd-ports-gnome-4322bb33a17c9b2a8ee5c29223a9564d70950140.tar.gz
freebsd-ports-gnome-4322bb33a17c9b2a8ee5c29223a9564d70950140.tar.zst
freebsd-ports-gnome-4322bb33a17c9b2a8ee5c29223a9564d70950140.zip
- Add staging support
- Convert to new LIB_DEPENDS format
Diffstat (limited to 'games')
-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>