svn commit: r330820 - head/games/jag
Dmitry Marakasov
amdmi3 at FreeBSD.org
Sat Oct 19 01:46:56 UTC 2013
Author: amdmi3
Date: Sat Oct 19 01:46:56 2013
New Revision: 330820
URL: http://svnweb.freebsd.org/changeset/ports/330820
Log:
- Support staging
Deleted:
head/games/jag/pkg-plist
Modified:
head/games/jag/Makefile
Modified: head/games/jag/Makefile
==============================================================================
--- head/games/jag/Makefile Sat Oct 19 01:46:13 2013 (r330819)
+++ head/games/jag/Makefile Sat Oct 19 01:46:56 2013 (r330820)
@@ -19,10 +19,14 @@ USE_SDL= sdl mixer
USE_DOS2UNIX= Game.pro
USE_XORG= x11
+MAKE_ARGS+= INSTALL_ROOT="${STAGEDIR}"
+
USE_QT4= qmake_build uic_build moc_build rcc_build \
corelib svg xml opengl network
-NO_STAGE= yes
+PLIST_FILES= bin/${PORTNAME}
+PORTDATA= *
+
post-patch:
@${REINPLACE_CMD} -e 's|/usr/local/games/jag|${DATADIR}|' \
${WRKSRC}/main.cpp ${WRKSRC}/Game.pro
@@ -33,7 +37,6 @@ do-configure:
${QMAKE} ${QMAKEFLAGS} Game.pro
post-install:
- ${MKDIR} ${DATADIR}
- cd ${WRKDIR}/${DISTNAME:C/src/data/} && ${COPYTREE_SHARE} data ${DATADIR}/
+ cd ${WRKDIR}/${DISTNAME:C/src/data/} && ${COPYTREE_SHARE} data ${STAGEDIR}${DATADIR}/
.include <bsd.port.mk>
More information about the svn-ports-all
mailing list