ports/190214: [patch] Add staging support to www/lifetype

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


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

>Fix:


Patch attached with submission follows:

diff --git a/www/lifetype/Makefile b/www/lifetype/Makefile
index 33c5fef..d891044 100644
--- a/www/lifetype/Makefile
+++ b/www/lifetype/Makefile
@@ -30,7 +30,6 @@ OPTIONS_DEFINE=	BIG5 GD IMAGEMAGICK
 OPTIONS_DEFAULT=	GD
 BIG5_DESC=	Big5 chinese template fix
 #
-NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
 .if ${PORT_OPTIONS:MGD}
@@ -68,9 +67,9 @@ pre-install:
 		&& ${ECHO_CMD} @dirrm ${PLOGDIR} >> ${PLIST}
 
 do-install:
-	@${MKDIR} ${PREFIX}/${PLOGDIR}
-	@${CP} -R ${WRKSRC}/ ${PREFIX}/${PLOGDIR}
-	@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/${PLOGDIR}
+	@${MKDIR} ${STAGEDIR}${PREFIX}/${PLOGDIR}
+	@${CP} -R ${WRKSRC}/ ${STAGEDIR}${PREFIX}/${PLOGDIR}
+	@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${PREFIX}/${PLOGDIR}
 
 post-install:
 	@${SED} -e 's|%%PLOGURL%%|${PLOGURL}|' pkg-message > ${PKGMESSAGE}


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


More information about the freebsd-ports-bugs mailing list