Date: Sun, 3 Nov 2013 09:02:37 GMT From: Rainer Hurling <rhurlin@gwdg.de> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/183607: [maintainer][patch] math/ggobi: stagedir support Message-ID: <201311030902.rA392b8W061360@oldred.freebsd.org> Resent-Message-ID: <201311030910.rA39A07K081975@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 183607 >Category: ports >Synopsis: [maintainer][patch] math/ggobi: stagedir support >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Sun Nov 03 09:10:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Rainer Hurling >Release: 11.0-CURRENT amd64 >Organization: >Environment: FreeBSD xxx.xxx.xxx 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r257540: Sat Nov 2 10:17:13 CET 2013 xxx@xxx.xxx.xxx:/usr/obj/usr/src/sys/XXX amd64 >Description: Changes to support STAGEDIR. >How-To-Repeat: >Fix: I am not 100% sure, that all is done the right way in post-install. Patch attached with submission follows: diff -u ggobi.orig/Makefile ggobi/Makefile --- ggobi.orig/Makefile 2013-10-04 08:01:41.000000000 +0200 +++ ggobi/Makefile 2013-11-03 09:59:53.000000000 +0100 @@ -21,7 +21,6 @@ ALL_TARGET= all ggobirc -NO_STAGE= yes post-patch: @${REINPLACE_CMD} -e 's|ND_coord_i|ND_coord|' \ ${WRKSRC}/plugins/GraphLayout/graphviz.c @@ -41,10 +40,10 @@ ${WRKSRC}/plugins/GraphLayout/Makefile post-install: - ${MKDIR} ${PREFIX}/etc/xdg/ggobi - ${INSTALL_DATA} ${WRKSRC}/ggobirc ${PREFIX}/etc/xdg/ggobi/ggobirc.sample - @if [ ! -f ${PREFIX}/etc/xdg/ggobi/ggobirc ]; then \ - ${CP} -p ${PREFIX}/etc/xdg/ggobi/ggobirc.sample ${PREFIX}/etc/xdg/ggobi/ggobirc ; \ + ${MKDIR} ${STAGEDIR}${PREFIX}/etc/xdg/ggobi + ${INSTALL_DATA} ${WRKSRC}/ggobirc ${STAGEDIR}${PREFIX}/etc/xdg/ggobi/ggobirc.sample + @if [ ! -f ${STAGEDIR}${PREFIX}/etc/xdg/ggobi/ggobirc ]; then \ + ${CP} -p ${STAGEDIR}${PREFIX}/etc/xdg/ggobi/ggobirc.sample ${STAGEDIR}${PREFIX}/etc/xdg/ggobi/ggobirc ; \ fi .include <bsd.port.mk> Only in ggobi: Makefile~ >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311030902.rA392b8W061360>