diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2013-10-19 06:32:13 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2013-10-19 06:32:13 +0800 |
commit | 3a6e8340bc79dd1d8dbbaa020b930649a90f1574 (patch) | |
tree | 7080cdb28df1decd88e783953b323b8db9d26f01 /games | |
parent | 15baf0e4d681847daa7e1345d30150f841d07645 (diff) | |
download | freebsd-ports-gnome-3a6e8340bc79dd1d8dbbaa020b930649a90f1574.tar.gz freebsd-ports-gnome-3a6e8340bc79dd1d8dbbaa020b930649a90f1574.tar.zst freebsd-ports-gnome-3a6e8340bc79dd1d8dbbaa020b930649a90f1574.zip |
- Support staging
Diffstat (limited to 'games')
-rw-r--r-- | games/simplevaders/Makefile | 9 | ||||
-rw-r--r-- | games/simplevaders/pkg-plist | 12 |
2 files changed, 5 insertions, 16 deletions
diff --git a/games/simplevaders/Makefile b/games/simplevaders/Makefile index 4556046539c8..96ea3762507e 100644 --- a/games/simplevaders/Makefile +++ b/games/simplevaders/Makefile @@ -19,7 +19,9 @@ USE_GL= gl glu WRKSRC= ${WRKDIR}/${PORTNAME} -NO_STAGE= yes +PLIST_FILES= bin/${PORTNAME} +PORTDATA= * + post-patch: @${REINPLACE_CMD} -e 's|data/|${DATADIR}/|' ${WRKSRC}/main.cpp @${RM} ${WRKSRC}/data/*\~ @@ -30,8 +32,7 @@ do-build: -lSDL_image -lGL -lGLU do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin - ${MKDIR} ${DATADIR} - cd ${WRKSRC}/data && ${COPYTREE_SHARE} . ${DATADIR} + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin + cd ${WRKSRC}/data && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR} .include <bsd.port.mk> diff --git a/games/simplevaders/pkg-plist b/games/simplevaders/pkg-plist deleted file mode 100644 index 8c9d3d597570..000000000000 --- a/games/simplevaders/pkg-plist +++ /dev/null @@ -1,12 +0,0 @@ -bin/simplevaders -%%DATADIR%%/cred.png -%%DATADIR%%/files.txt -%%DATADIR%%/flare.png -%%DATADIR%%/font.ttf -%%DATADIR%%/gameover.png -%%DATADIR%%/gameover.wav -%%DATADIR%%/intro.png -%%DATADIR%%/nmedie.wav -%%DATADIR%%/playerbullet.wav -%%DATADIR%%/playerhit.wav -@dirrm %%DATADIR%% |