diff options
author | vanilla <vanilla@FreeBSD.org> | 2014-06-26 16:39:34 +0000 |
---|---|---|
committer | vanilla <vanilla@FreeBSD.org> | 2014-06-26 16:39:34 +0000 |
commit | 6b35fe1a8f389e833cf22410329d33eca3f7314f (patch) | |
tree | 603bd3c714b2a98348da3dac34e52bcb75fcc58d | |
parent | 26b81c94049027758ae18f31390f65a59df9c779 (diff) | |
download | FreeBSD-ports-6b35fe1a8f389e833cf22410329d33eca3f7314f.zip FreeBSD-ports-6b35fe1a8f389e833cf22410329d33eca3f7314f.tar.gz |
Stagify, and switch to use options helper.
Approved by: portmgr@ (blanket approval)
-rw-r--r-- | sysutils/farbot/Makefile | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/sysutils/farbot/Makefile b/sysutils/farbot/Makefile index 608e739..89354c4 100644 --- a/sysutils/farbot/Makefile +++ b/sysutils/farbot/Makefile @@ -21,13 +21,15 @@ USE_PYDISTUTILS= yes PYDISTUTILS_PKGNAME= farb PYDISTUTILS_PKGVERSION= 0.1 -NO_STAGE= yes -post-install: - ${INSTALL_DATA} ${WRKSRC}/farbot.conf ${PREFIX}/etc/farbot.conf.sample +OPTIONS_DEFINE= DOCS + +.include <bsd.port.options.mk> -.if !defined(NOPORTDOCS) - ${MKDIR} ${DOCSDIR}/xhtml - ${INSTALL_MAN} ${WRKSRC}/docs/xhtml/* ${DOCSDIR}/xhtml +post-install: + ${INSTALL_DATA} ${WRKSRC}/farbot.conf ${STAGEDIR}${PREFIX}/etc/farbot.conf.sample +.if ${PORT_OPTIONS:MDOCS} + ${MKDIR} ${STAGEDIR}${DOCSDIR}/xhtml + ${INSTALL_MAN} ${WRKSRC}/docs/xhtml/* ${STAGEDIR}${DOCSDIR}/xhtml .endif .include <bsd.port.mk> |