aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authoradamw <adamw@FreeBSD.org>2012-08-31 09:36:13 +0800
committeradamw <adamw@FreeBSD.org>2012-08-31 09:36:13 +0800
commit694850dfb889a7efc160e11a99d40aa1219454e2 (patch)
treea1e1ea10334975cf37bc8586517538bf847faea3 /games
parent1ec7af7d9e02883519c0d6f7776cebdbeb309f65 (diff)
downloadfreebsd-ports-gnome-694850dfb889a7efc160e11a99d40aa1219454e2.tar.gz
freebsd-ports-gnome-694850dfb889a7efc160e11a99d40aa1219454e2.tar.zst
freebsd-ports-gnome-694850dfb889a7efc160e11a99d40aa1219454e2.zip
Acknowledge PORTDOCS through options.
Re-sort the plist. PR: ports/171195 Submitted by: nemysis <nemysis@gmx.ch>
Diffstat (limited to 'games')
-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