diff options
author | danilo <danilo@FreeBSD.org> | 2013-11-13 03:53:01 +0800 |
---|---|---|
committer | danilo <danilo@FreeBSD.org> | 2013-11-13 03:53:01 +0800 |
commit | a19c100ea79c3994069aaee33aee5fb2437dd663 (patch) | |
tree | 8bff23b91d182338d4f8f4c23e679a892fe8c82d /games | |
parent | df2f19efab16e88439acd1ee528c2735badee821 (diff) | |
download | freebsd-ports-gnome-a19c100ea79c3994069aaee33aee5fb2437dd663.tar.gz freebsd-ports-gnome-a19c100ea79c3994069aaee33aee5fb2437dd663.tar.zst freebsd-ports-gnome-a19c100ea79c3994069aaee33aee5fb2437dd663.zip |
- Add DOCS option
- Add stage support
Diffstat (limited to 'games')
-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> |