ports/190213: [patch] Add staging support to www/lilurl

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


>Number:         190213
>Category:       ports
>Synopsis:       [patch] Add staging support to www/lilurl
>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 20:00: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/lilurl.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff --git a/www/lilurl/Makefile b/www/lilurl/Makefile
index 236a697..7e29849 100644
--- a/www/lilurl/Makefile
+++ b/www/lilurl/Makefile
@@ -19,7 +19,6 @@ PKGMESSAGE=	${WRKDIR}/pkg-message
 SUB_FILES=	pkg-message
 PLIST=		${WRKDIR}/pkg-plist
 
-NO_STAGE=	yes
 .include <bsd.port.pre.mk>
 
 post-extract:
@@ -33,9 +32,9 @@ pre-install:
 		&& ${ECHO_CMD} @dirrm ${LILURL_DIR} >> ${PLIST}
 
 do-install:
-	${MKDIR} ${PREFIX}/${LILURL_DIR}
-	@${CP} -R ${WRKSRC}/ ${PREFIX}/${LILURL_DIR}
-	@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/${LILURL_DIR}
+	@${MKDIR} ${STAGEDIR}${PREFIX}/${LILURL_DIR}
+	@${CP} -R ${WRKSRC}/ ${STAGEDIR}${PREFIX}/${LILURL_DIR}
+	@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${PREFIX}/${LILURL_DIR}
 
 post-install:
 	@${SED} -e 's,%%PREFIX%%,${PREFIX},; s,%%LILURL_DIR%%,${LILURL_DIR},g' \


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


More information about the freebsd-ports-bugs mailing list