ports/190286: [patch] Add staging support to www/myfaces
Joseph Benden
joe at thrallingpenguin.com
Mon May 26 21:30:01 UTC 2014
>Number: 190286
>Category: ports
>Synopsis: [patch] Add staging support to www/myfaces
>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: Mon May 26 21: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/myfaces.
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
diff --git a/www/myfaces/Makefile b/www/myfaces/Makefile
index 5ecf0c2..def650b 100644
--- a/www/myfaces/Makefile
+++ b/www/myfaces/Makefile
@@ -24,19 +24,18 @@ PLIST_FILES= %%JAVAJARDIR%%/${PORTNAME}.jar \
${JAR_FILES:S|^|%%DATADIR%%/|}
PLIST_DIRS= %%DATADIR%%
-NO_STAGE= yes
.include <bsd.port.pre.mk>
do-install:
- ${INSTALL_DATA} ${WRKSRC}/myfaces-all.jar ${JAVAJARDIR}/${PORTNAME}.jar
- @${MKDIR} ${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/myfaces-all.jar ${STAGEDIR}${JAVAJARDIR}/${PORTNAME}.jar
+ @${MKDIR} ${STAGEDIR}${DATADIR}
.for jarfile in ${JAR_FILES}
- ${INSTALL_DATA} ${WRKSRC}/${jarfile} ${DATADIR}/${jarfile}
+ ${INSTALL_DATA} ${WRKSRC}/${jarfile} ${STAGEDIR}${DATADIR}/${jarfile}
.endfor
.if !defined(NOPORTDOCS)
- cd ${WRKSRC} && ${FIND} ${PORTDOCS} -type d -exec ${MKDIR} ${DOCSDIR}/{} \;
- cd ${WRKSRC} && ${FIND} ${PORTDOCS} -type f -exec ${INSTALL_DATA} {} ${DOCSDIR}/{} \;
+ cd ${WRKSRC} && ${FIND} ${PORTDOCS} -type d -exec ${MKDIR} ${STAGEDIR}${DOCSDIR}/{} \;
+ cd ${WRKSRC} && ${FIND} ${PORTDOCS} -type f -exec ${INSTALL_DATA} {} ${STAGEDIR}${DOCSDIR}/{} \;
.endif
.include <bsd.port.post.mk>
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list