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 -.if !defined(NOPORTDOCS) - ${MKDIR} ${DOCSDIR}/xhtml - ${INSTALL_MAN} ${WRKSRC}/docs/xhtml/* ${DOCSDIR}/xhtml +.include + +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