From e8561da75efa5a9afdf170ef37fabb22fb835569 Mon Sep 17 00:00:00 2001 From: "Vanilla I. Shu" Date: Thu, 26 Jun 2014 16:39:34 +0000 Subject: [PATCH] Stagify, and switch to use options helper. Approved by: portmgr@ (blanket approval) --- sysutils/farbot/Makefile | 14 ++++++++------ 1 file 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 -.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