Date: Tue, 12 Nov 2013 19:53:02 +0000 (UTC) From: Danilo Egea Gondolfo <danilo@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r333611 - head/games/umark Message-ID: <201311121953.rACJr2Y4083079@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: danilo Date: Tue Nov 12 19:53:01 2013 New Revision: 333611 URL: http://svnweb.freebsd.org/changeset/ports/333611 Log: - Add DOCS option - Add stage support Modified: head/games/umark/Makefile Modified: head/games/umark/Makefile ============================================================================== --- head/games/umark/Makefile Tue Nov 12 19:47:56 2013 (r333610) +++ head/games/umark/Makefile Tue Nov 12 19:53:01 2013 (r333611) @@ -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>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311121953.rACJr2Y4083079>