Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 May 2014 19:53:01 GMT
From:      Joseph Benden <joe@thrallingpenguin.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/190214: [patch] Add staging support to www/lifetype
Message-ID:  <201405251953.s4PJr15w028411@cgiserv.freebsd.org>
Resent-Message-ID: <201405252000.s4PK00CK072347@freefall.freebsd.org>

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

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



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