svn commit: r351233 - head/games/fteqw

Pawel Pekala pawel at FreeBSD.org
Sun Apr 13 17:43:34 UTC 2014


Author: pawel
Date: Sun Apr 13 17:43:34 2014
New Revision: 351233
URL: http://svnweb.freebsd.org/changeset/ports/351233
QAT: https://qat.redports.org/buildarchive/r351233/

Log:
  - Add staging support
  - Convert to new LIB_DEPENDS format

Modified:
  head/games/fteqw/Makefile

Modified: head/games/fteqw/Makefile
==============================================================================
--- head/games/fteqw/Makefile	Sun Apr 13 17:39:57 2014	(r351232)
+++ head/games/fteqw/Makefile	Sun Apr 13 17:43:34 2014	(r351233)
@@ -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>


More information about the svn-ports-head mailing list