Date: Mon, 26 May 2014 21:27:23 GMT From: Joseph Benden <joe@thrallingpenguin.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/190286: [patch] Add staging support to www/myfaces Message-ID: <201405262127.s4QLRNTU041289@cgiserv.freebsd.org> Resent-Message-ID: <201405262130.s4QLU0EI095687@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405262127.s4QLRNTU041289>