ports/190307: [patch] Add staging support to www/openxmldir
Joseph Benden
joe at thrallingpenguin.com
Tue May 27 14:30:00 UTC 2014
>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 at 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:
More information about the freebsd-ports-bugs
mailing list