Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 May 2014 19:37:04 GMT
From:      Joseph Benden <joe@thrallingpenguin.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/190211: [patch] Add staging support to www/kplaylist
Message-ID:  <201405251937.s4PJb4Xr074481@cgiserv.freebsd.org>
Resent-Message-ID: <201405251940.s4PJe0Hg066357@freefall.freebsd.org>

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

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



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