Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 May 2014 14:22:23 GMT
From:      Joseph Benden <joe@thrallingpenguin.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/190307: [patch] Add staging support to www/openxmldir
Message-ID:  <201405271422.s4REMNsA039904@cgiserv.freebsd.org>
Resent-Message-ID: <201405271430.s4REU0nr089024@freefall.freebsd.org>

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

>Number:         190307
>Category:       ports
>Synopsis:       [patch] Add staging support to www/openxmldir
>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:   Tue May 27 14:30: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/openxmldir.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff --git a/www/openxmldir/Makefile b/www/openxmldir/Makefile
index 39213fb..7d623ed 100644
--- a/www/openxmldir/Makefile
+++ b/www/openxmldir/Makefile
@@ -16,11 +16,10 @@ USE_PHP=	mysql xml
 PLIST_SUB+=	OPENXMLDIR=${OPENXMLDIR}
 OPENXMLDIR=	www/${PORTNAME}
 
-NO_STAGE=	yes
 do-install:
-	-${MKDIR} ${PREFIX}/${OPENXMLDIR}
-	@${CP} -R ${WRKSRC}/* ${PREFIX}/${OPENXMLDIR}
-	@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/${OPENXMLDIR}
-	@${CHMOD} 755 ${PREFIX}/${OPENXMLDIR}
+	-${MKDIR} ${STAGEDIR}${PREFIX}/${OPENXMLDIR}
+	@${CP} -R ${WRKSRC}/* ${STAGEDIR}${PREFIX}/${OPENXMLDIR}
+	@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${PREFIX}/${OPENXMLDIR}
+	@${CHMOD} 755 ${STAGEDIR}${PREFIX}/${OPENXMLDIR}
 
 .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?201405271422.s4REMNsA039904>