1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-27 10:03:20 +00:00

Acknowledge PORTDOCS through options.

Re-sort the plist.

PR:	ports/171195
Submitted by:	nemysis <nemysis@gmx.ch>
This commit is contained in:
Adam Weinberger 2012-08-31 01:36:13 +00:00
parent 9f2494c60a
commit 027a56c8ff
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=303396
2 changed files with 7 additions and 5 deletions

View File

@ -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}

View File

@ -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