Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 May 2014 18:57:59 GMT
From:      Joseph Benden <joe@thrallingpenguin.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/190033: [patch] Add staging support to www/docebo
Message-ID:  <201405201857.s4KIvxqE034883@cgiserv.freebsd.org>
Resent-Message-ID: <201405201900.s4KJ01kp018068@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



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