svn commit: r359393 - head/sysutils/farbot
Vanilla I. Shu
vanilla at FreeBSD.org
Thu Jun 26 16:39:34 UTC 2014
Author: vanilla
Date: Thu Jun 26 16:39:34 2014
New Revision: 359393
URL: http://svnweb.freebsd.org/changeset/ports/359393
QAT: https://qat.redports.org/buildarchive/r359393/
Log:
Stagify, and switch to use options helper.
Approved by: portmgr@ (blanket approval)
Modified:
head/sysutils/farbot/Makefile
Modified: head/sysutils/farbot/Makefile
==============================================================================
--- head/sysutils/farbot/Makefile Thu Jun 26 16:35:41 2014 (r359392)
+++ head/sysutils/farbot/Makefile Thu Jun 26 16:39:34 2014 (r359393)
@@ -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>
More information about the svn-ports-all
mailing list