Date: Fri, 28 Feb 2014 12:48:52 +0000 (UTC) From: Emanuel Haupt <ehaupt@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r346502 - head/security/hmap Message-ID: <201402281248.s1SCmqGL080225@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ehaupt Date: Fri Feb 28 12:48:52 2014 New Revision: 346502 URL: http://svnweb.freebsd.org/changeset/ports/346502 QAT: https://qat.redports.org/buildarchive/r346502/ Log: - Support staging - Define DOCS option Modified: head/security/hmap/Makefile Modified: head/security/hmap/Makefile ============================================================================== --- head/security/hmap/Makefile Fri Feb 28 12:46:47 2014 (r346501) +++ head/security/hmap/Makefile Fri Feb 28 12:48:52 2014 (r346502) @@ -20,19 +20,18 @@ USE_PYTHON= yes NO_WRKSUBDIR= yes NO_BUILD= yes -NO_STAGE= yes +OPTIONS_DEFINE= DOCS + post-patch: ${REINPLACE_CMD} -e 's|DATADIR|${DATADIR}|' ${WRKSRC}/hmap.py do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/hmap.py ${PREFIX}/bin/ - ${MKDIR} ${DATADIR} - (cd ${WRKSRC}/known.servers/ && ${COPYTREE_SHARE} \* ${DATADIR}) -.if !defined(NOPORTDOCS) - ${MKDIR} ${DOCSDIR} + ${INSTALL_SCRIPT} ${WRKSRC}/hmap.py ${STAGEDIR}${PREFIX}/bin + @${MKDIR} ${STAGEDIR}${DATADIR} + (cd ${WRKSRC}/known.servers/ && ${COPYTREE_SHARE} \* ${STAGEDIR}${DATADIR}) + @${MKDIR} ${STAGEDIR}${DOCSDIR} .for i in README BUGS FAQS HIDING_GUIDE KNOWN_TESTS - ${INSTALL_DATA} ${WRKSRC}/$i ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/$i ${STAGEDIR}${DOCSDIR} .endfor -.endif .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402281248.s1SCmqGL080225>