aboutsummaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2016-06-06 09:03:53 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2016-06-06 09:03:53 +0000
commit247c71f1c75f3757d357d125ea4937255d8191ae (patch)
tree1a548c87b88040d4c885b7c1c53d8e5f097a4f58 /games
parentaba67071f39989315d4f64843b4dd626fd7af3f9 (diff)
downloadports-247c71f1c75f3757d357d125ea4937255d8191ae.tar.gz
ports-247c71f1c75f3757d357d125ea4937255d8191ae.zip
Notes
Diffstat (limited to 'games')
-rw-r--r--games/bugsquish/Makefile12
1 files changed, 5 insertions, 7 deletions
diff --git a/games/bugsquish/Makefile b/games/bugsquish/Makefile
index adadef2ba9fd..30aa6c5f1cf8 100644
--- a/games/bugsquish/Makefile
+++ b/games/bugsquish/Makefile
@@ -22,16 +22,17 @@ USES= gmake
USE_SDL= image mixer sdl
PORTDOCS= AUTHORS.txt CHANGES.txt README.txt
-OPTIONS_DEFINE= DOCS
DESKTOP_ENTRIES="Bug Squish" "" "${PORTNAME}" \
"${PORTNAME}" "Game;ArcadeGame;" ""
+OPTIONS_DEFINE= DOCS
+
post-extract:
${TAR} xfjp ${_DISTDIR}/${PORTNAME}_music${EXTRACT_SUFX} -C \
${WRKSRC}/data/music/
@cd ${WRKSRC}/data/music ; ${RM} -f *.mod
- @${FIND} ${WRKDIR} -name .xvpics | ${XARGS} ${RM} -fr
+ @${FIND} ${WRKDIR} -name .xvpics -print0 | ${XARGS} -0 ${RM} -fr
post-patch:
@${REINPLACE_CMD} -e 's|/usr/share/bugsquish/|${DATADIR}/| ; \
@@ -44,14 +45,11 @@ post-patch:
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
-
-. for d in embedded images music sounds
- @(cd ${WRKSRC}/data && ${COPYTREE_SHARE} ${d} ${STAGEDIR}${DATADIR})
-. endfor
-
+ @(cd ${WRKSRC}/data && ${COPYTREE_SHARE} "embedded images music sounds" ${STAGEDIR}${DATADIR})
${LN} -sf ${PREFIX}/share/bugsquish/images/icon.png \
${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.png
+do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}