svn commit: r354850 - head/www/docebo

Martin Wilke miwi at FreeBSD.org
Thu May 22 14:20:56 UTC 2014


Author: miwi
Date: Thu May 22 14:20:55 2014
New Revision: 354850
URL: http://svnweb.freebsd.org/changeset/ports/354850
QAT: https://qat.redports.org/buildarchive/r354850/

Log:
  - Stage support

Modified:
  head/www/docebo/Makefile

Modified: head/www/docebo/Makefile
==============================================================================
--- head/www/docebo/Makefile	Thu May 22 14:20:00 2014	(r354849)
+++ head/www/docebo/Makefile	Thu May 22 14:20:55 2014	(r354850)
@@ -21,21 +21,20 @@ DO_FILES=	config.php admin.php index.php
 DO_DIRS=	doceboCms doceboCore doceboCrm doceboEcom doceboLms doceboScs \
 		files install readmelicense template upgrade xml_language
 
-NO_STAGE=	yes
 .include <bsd.port.pre.mk>
 
 do-install:
-	@${INSTALL} -d ${WWWDIR}
+	@${INSTALL} -d ${STAGEDIR}${WWWDIR}
 
 .for i in ${DO_FILES}
-	@cd ${WRKDIR} && ${CP} ${i} ${WWWDIR}/
+	@cd ${WRKDIR} && ${CP} ${i} ${STAGEDIR}${WWWDIR}/
 .endfor
 .for i in ${DO_DIRS}
-	@cd ${WRKDIR} && ${COPYTREE_SHARE} ${i} ${WWWDIR}/
+	@cd ${WRKDIR} && ${COPYTREE_SHARE} ${i} ${STAGEDIR}${WWWDIR}/
 .endfor
 
-	@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}
-	@${CHMOD} -R 755 ${WWWDIR}
+	@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${WWWDIR}
+	@${CHMOD} -R 755 ${STAGEDIR}${WWWDIR}
 
 post-install:
 	@${ECHO_CMD} '@exec ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}' \


More information about the svn-ports-head mailing list