From 9bc9a1ea1e61e4a50ee6bf9523827847fa235b89 Mon Sep 17 00:00:00 2001 From: Emanuel Haupt Date: Thu, 13 Mar 2014 15:48:30 +0000 Subject: [PATCH] - Support staging - Define DOCS option --- www/visitors/Makefile | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/www/visitors/Makefile b/www/visitors/Makefile index 6df9a9db06fd..6ec86fb79784 100644 --- a/www/visitors/Makefile +++ b/www/visitors/Makefile @@ -16,12 +16,11 @@ WRKSRC= ${WRKDIR}/${PORTNAME}_0.7 PLIST_FILES= bin/visitors PORTDOCS= doc.html -NO_STAGE= yes +OPTIONS_DEFINE= DOCS + do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/visitors ${PREFIX}/bin -.if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${DOCSDIR} -.endif + ${INSTALL_PROGRAM} ${WRKSRC}/visitors ${STAGEDIR}${PREFIX}/bin + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR} .include