ports/190211: [patch] Add staging support to www/kplaylist

Joseph Benden joe at thrallingpenguin.com
Sun May 25 19:40:00 UTC 2014


>Number:         190211
>Category:       ports
>Synopsis:       [patch] Add staging support to www/kplaylist
>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:   Sun May 25 19:40:00 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/kplaylist.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff --git a/www/kplaylist/Makefile b/www/kplaylist/Makefile
index 2a3c17d..88c910b 100644
--- a/www/kplaylist/Makefile
+++ b/www/kplaylist/Makefile
@@ -24,10 +24,9 @@ NO_BUILD=	yes
 PLIST_FILES=	%%WWWDIR%%/index.php
 PLIST_DIRS=	%%WWWDIR%%
 
-NO_STAGE=	yes
 do-install:
-	${MKDIR} ${WWWDIR}
-	@cd ${WRKSRC} && ${CP} kplaylist.1.8.505.php ${WWWDIR}/index.php
-	${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR} 
+	${MKDIR} ${STAGEDIR}${WWWDIR}
+	@cd ${WRKSRC} && ${CP} kplaylist.1.8.505.php ${STAGEDIR}${WWWDIR}/index.php
+	${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${WWWDIR} 
 
 .include <bsd.port.mk>


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-ports-bugs mailing list