diff options
author | Danilo Egea Gondolfo <danilo@FreeBSD.org> | 2013-11-12 19:53:01 +0000 |
---|---|---|
committer | Danilo Egea Gondolfo <danilo@FreeBSD.org> | 2013-11-12 19:53:01 +0000 |
commit | a4cb2a06df9f6d2c15d7dc95f18b331266c174aa (patch) | |
tree | 8bff23b91d182338d4f8f4c23e679a892fe8c82d /games/umark | |
parent | Finish stage support (diff) |
- Add DOCS option
- Add stage support
Notes
Notes:
svn path=/head/; revision=333611
Diffstat (limited to 'games/umark')
-rw-r--r-- | games/umark/Makefile | 24 |
1 files changed, 9 insertions, 15 deletions
diff --git a/games/umark/Makefile b/games/umark/Makefile index d6af048da70c..4bdd7f3302de 100644 --- a/games/umark/Makefile +++ b/games/umark/Makefile @@ -20,22 +20,16 @@ MAKEFILE= ${FILESDIR}/Makefile SUB_FILES= pkg-message PORTDOCS= ChangeLog INSTALL README TODO -NO_STAGE= yes +OPTIONS_DEFINE= DOCS + do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin - @${MKDIR} ${DATADIR} - ${INSTALL_SCRIPT} ${WRKDIR}/UMark/install_umark_data.sh ${DATADIR} - ${INSTALL_SCRIPT} ${WRKDIR}/UMark/utxinfo.pl ${DATADIR} + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin + @${MKDIR} ${STAGEDIR}${DATADIR} + ${INSTALL_SCRIPT} ${WRKDIR}/UMark/install_umark_data.sh ${STAGEDIR}${DATADIR} + ${INSTALL_SCRIPT} ${WRKDIR}/UMark/utxinfo.pl ${STAGEDIR}${DATADIR} cd ${WRKDIR}/UMark && ${FIND} data html pixmaps | \ - ${CPIO} -pdu -R ${SHAREOWN}:${SHAREGRP} ${DATADIR} -.if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKDIR}/UMark/,} ${DOCSDIR} -.endif - -post-install: - @${ECHO_MSG} - @${CAT} ${PKGMESSAGE} - @${ECHO_MSG} + ${CPIO} -pdu ${STAGEDIR}${DATADIR} + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKDIR}/UMark/,} ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk> |