Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Jun 2014 13:13:12 +0000 (UTC)
From:      Martin Wilke <miwi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r356784 - head/www/habari
Message-ID:  <201406061313.s56DDC61031345@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: miwi
Date: Fri Jun  6 13:13:12 2014
New Revision: 356784
URL: http://svnweb.freebsd.org/changeset/ports/356784
QAT: https://qat.redports.org/buildarchive/r356784/

Log:
  - Stage support
  
  PR:		190130

Modified:
  head/www/habari/Makefile

Modified: head/www/habari/Makefile
==============================================================================
--- head/www/habari/Makefile	Fri Jun  6 13:13:00 2014	(r356783)
+++ head/www/habari/Makefile	Fri Jun  6 13:13:12 2014	(r356784)
@@ -20,7 +20,6 @@ OPTIONS_MULTI_DB=	MYSQL PGSQL SQLITE
 OPTIONS_DEFAULT=	MYSQL
 OPTIONS_DEFINE=	DOCS
 
-NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
 .if ${PORT_OPTIONS:MMYSQL}
@@ -41,17 +40,15 @@ post-patch:
 .endfor
 
 do-install:
-	@${MKDIR} ${WWWDIR}
-	${INSTALL_DATA} ${WRKSRC}/index.php ${WWWDIR}
+	@${MKDIR} ${STAGEDIR}${WWWDIR}
+	@${INSTALL_DATA} ${WRKSRC}/index.php ${STAGEDIR}${WWWDIR}
 .for f in system user
-	@(cd ${WRKSRC} && ${COPYTREE_SHARE} ${f} ${WWWDIR})
+	@(cd ${WRKSRC} && ${COPYTREE_SHARE} ${f} ${STAGEDIR}${WWWDIR})
 .endfor
-.if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 .for f in LICENSE NOTICE README.md doc/MIT.txt
-	${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
 .endfor
-	@(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} manual ${DOCSDIR})
-.endif
+	@(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} manual ${STAGEDIR}${DOCSDIR})
 
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201406061313.s56DDC61031345>