aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorvanilla <vanilla@FreeBSD.org>2014-06-27 00:39:34 +0800
committervanilla <vanilla@FreeBSD.org>2014-06-27 00:39:34 +0800
commit6b35fe1a8f389e833cf22410329d33eca3f7314f (patch)
tree603bd3c714b2a98348da3dac34e52bcb75fcc58d /sysutils
parent26b81c94049027758ae18f31390f65a59df9c779 (diff)
downloadfreebsd-ports-gnome-6b35fe1a8f389e833cf22410329d33eca3f7314f.tar.gz
freebsd-ports-gnome-6b35fe1a8f389e833cf22410329d33eca3f7314f.tar.zst
freebsd-ports-gnome-6b35fe1a8f389e833cf22410329d33eca3f7314f.zip
Stagify, and switch to use options helper.
Approved by: portmgr@ (blanket approval)
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/farbot/Makefile14
1 files changed, 8 insertions, 6 deletions
diff --git a/sysutils/farbot/Makefile b/sysutils/farbot/Makefile
index 608e73954ff6..89354c469cd8 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>