ports/190033: [patch] Add staging support to www/docebo
Joseph Benden
joe at thrallingpenguin.com
Tue May 20 19:00:01 UTC 2014
>Number: 190033
>Category: ports
>Synopsis: [patch] Add staging support to www/docebo
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Tue May 20 19:00:01 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator: Joseph Benden
>Release: FreeBSD 11
>Organization:
>Environment:
FreeBSD lucy 11.0-CURRENT FreeBSD 11.0-CURRENT #4 r264887: Thu Apr 24 12:43:46 MST 2014 root at lucy:/usr/obj/usr/src/sys/GENERIC amd64
>Description:
Adds staging support to www/docebo.
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
diff --git a/www/docebo/Makefile b/www/docebo/Makefile
index 9082fa7..5e069b7 100644
--- a/www/docebo/Makefile
+++ b/www/docebo/Makefile
@@ -18,21 +18,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}' \
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list