aboutsummaryrefslogtreecommitdiff
path: root/sysutils/farbot
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>2014-06-26 16:39:34 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>2014-06-26 16:39:34 +0000
commite8561da75efa5a9afdf170ef37fabb22fb835569 (patch)
tree603bd3c714b2a98348da3dac34e52bcb75fcc58d /sysutils/farbot
parent572e3ac60bf737371f1bdf8cad53c0a4ab1c65a7 (diff)
downloadports-e8561da75efa5a9afdf170ef37fabb22fb835569.tar.gz
ports-e8561da75efa5a9afdf170ef37fabb22fb835569.zip
Stagify, and switch to use options helper.
Approved by: portmgr@ (blanket approval)
Notes
Notes: svn path=/head/; revision=359393
Diffstat (limited to 'sysutils/farbot')
-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>