diff options
author | ehaupt <ehaupt@FreeBSD.org> | 2014-02-28 20:48:52 +0800 |
---|---|---|
committer | ehaupt <ehaupt@FreeBSD.org> | 2014-02-28 20:48:52 +0800 |
commit | d059737b9389640ca4f1e3969291aa6cf128ef0e (patch) | |
tree | 8c1437d1d17cccb7021275cc998ae62af689a15a /security | |
parent | 6aabbf95a58711bfc6e716129eebd8735463478b (diff) | |
download | freebsd-ports-gnome-d059737b9389640ca4f1e3969291aa6cf128ef0e.tar.gz freebsd-ports-gnome-d059737b9389640ca4f1e3969291aa6cf128ef0e.tar.zst freebsd-ports-gnome-d059737b9389640ca4f1e3969291aa6cf128ef0e.zip |
- Support staging
- Define DOCS option
Diffstat (limited to 'security')
-rw-r--r-- | security/hmap/Makefile | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/security/hmap/Makefile b/security/hmap/Makefile index f92c3b5d5f29..92ff7c70b9af 100644 --- a/security/hmap/Makefile +++ b/security/hmap/Makefile @@ -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> |