ports/183607: [maintainer][patch] math/ggobi: stagedir support
Rainer Hurling
rhurlin at gwdg.de
Sun Nov 3 09:10:01 UTC 2013
>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 at 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:
More information about the freebsd-ports-bugs
mailing list