aboutsummaryrefslogtreecommitdiff
path: root/games/secretmaryochronicles-music
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2012-08-31 01:36:13 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2012-08-31 01:36:13 +0000
commit027a56c8ffa5c689ad7821413f26a5cfb13153c6 (patch)
treea1e1ea10334975cf37bc8586517538bf847faea3 /games/secretmaryochronicles-music
parent9f2494c60a7ebb6f545531dad14e3bc155a14186 (diff)
downloadports-027a56c8ffa5c689ad7821413f26a5cfb13153c6.tar.gz
ports-027a56c8ffa5c689ad7821413f26a5cfb13153c6.zip
Notes
Diffstat (limited to 'games/secretmaryochronicles-music')
-rw-r--r--games/secretmaryochronicles-music/Makefile8
-rw-r--r--games/secretmaryochronicles-music/pkg-plist4
2 files changed, 7 insertions, 5 deletions
diff --git a/games/secretmaryochronicles-music/Makefile b/games/secretmaryochronicles-music/Makefile
index 6decbfe17e40..471e5ac309e4 100644
--- a/games/secretmaryochronicles-music/Makefile
+++ b/games/secretmaryochronicles-music/Makefile
@@ -22,6 +22,10 @@ WRKSRC= ${WRKDIR}
DATADIR= ${PREFIX}/share/smc
NO_BUILD= yes
+PORTDOCS= Addon_-_Music_Readme.txt
+
+.include <bsd.port.options.mk>
+
post-patch:
# The pointyhat build system doesn't like spaces in $PORTDOCS,
# so this makes it happier
@@ -32,10 +36,8 @@ do-install:
cd ${WRKSRC}/data && \
${FIND} music | ${CPIO} -pdmvu ${DATADIR}
-.if !defined(NOPORTDOCS)
-PORTDOCS= Addon_-_Music_Readme.txt
-
post-install:
+.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
.for f in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/docs/${f} ${DOCSDIR}
diff --git a/games/secretmaryochronicles-music/pkg-plist b/games/secretmaryochronicles-music/pkg-plist
index 0c2218fd7536..6954a2c20dcf 100644
--- a/games/secretmaryochronicles-music/pkg-plist
+++ b/games/secretmaryochronicles-music/pkg-plist
@@ -1,9 +1,9 @@
+%%DATADIR%%/music/game/bossbattle_1.ogg
+%%DATADIR%%/music/game/bossbattle_1.txt
%%DATADIR%%/music/game/bossbattle_3.ogg
%%DATADIR%%/music/game/bossbattle_3.txt
%%DATADIR%%/music/game/courseclear.ogg
%%DATADIR%%/music/game/courseclear.txt
-%%DATADIR%%/music/game/bossbattle_1.ogg
-%%DATADIR%%/music/game/bossbattle_1.txt
%%DATADIR%%/music/game/lost_1.ogg
%%DATADIR%%/music/game/lost_1.txt
%%DATADIR%%/music/game/menu.ogg