diff options
author | adamw <adamw@FreeBSD.org> | 2012-08-31 09:36:13 +0800 |
---|---|---|
committer | adamw <adamw@FreeBSD.org> | 2012-08-31 09:36:13 +0800 |
commit | 694850dfb889a7efc160e11a99d40aa1219454e2 (patch) | |
tree | a1e1ea10334975cf37bc8586517538bf847faea3 /games | |
parent | 1ec7af7d9e02883519c0d6f7776cebdbeb309f65 (diff) | |
download | freebsd-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/Makefile | 8 | ||||
-rw-r--r-- | games/secretmaryochronicles-music/pkg-plist | 4 |
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 |