svn commit: r317538 - head/math/ggobi
Greg Larkin
glarkin at FreeBSD.org
Mon May 6 18:26:23 UTC 2013
Author: glarkin
Date: Mon May 6 18:26:22 2013
New Revision: 317538
URL: http://svnweb.freebsd.org/changeset/ports/317538
Log:
- Fix build problem with graphics/graphviz already installed [1]
- Trim Makefile header [1]
- Use DOCSDIR in pkg-plist
PR: ports/178185
Submitted by: Rainer Hurling <rhurlin at gwdg.de> (maintainer) [1]
Modified:
head/math/ggobi/Makefile
head/math/ggobi/pkg-plist
Modified: head/math/ggobi/Makefile
==============================================================================
--- head/math/ggobi/Makefile Mon May 6 18:14:33 2013 (r317537)
+++ head/math/ggobi/Makefile Mon May 6 18:26:22 2013 (r317538)
@@ -1,9 +1,5 @@
-# Ports collection makefile for: ggobi
-# Date created: 31 January 2010
-# Whom: rhurlin
-#
+# Created by: Rainer Hurling <rhurlin at gwdg.de>
# $FreeBSD$
-#
PORTNAME= ggobi
PORTVERSION= 2.1.9
@@ -33,6 +29,15 @@ post-patch:
${WRKSRC}/src/ggobi-renderer-factory.c \
${WRKSRC}/src/ggobi-renderer.c
+post-configure:
+# build gets irritated by the presence of an external graphviz version
+ @${REINPLACE_CMD} -e 's|#define HAVE_LIBGVC 1|/* #define HAVE_LIBGVC 1 */|' \
+ ${WRKSRC}/plugins/GraphLayout/config.h
+ @${REINPLACE_CMD} -e 's|LIBGVC_CFLAGS = -I${LOCALBASE}/include/graphviz|LIBGVC_CFLAGS =|' \
+ ${WRKSRC}/plugins/GraphLayout/Makefile
+ @${REINPLACE_CMD} -e 's|LIBGVC_LIBS = -L${LOCALBASE}/lib/graphviz -lgvc -lgraph -lcdt|LIBGVC_LIBS =|' \
+ ${WRKSRC}/plugins/GraphLayout/Makefile
+
post-install:
${MKDIR} ${PREFIX}/etc/xdg/ggobi
${INSTALL_DATA} ${WRKSRC}/ggobirc ${PREFIX}/etc/xdg/ggobi/ggobirc.sample
Modified: head/math/ggobi/pkg-plist
==============================================================================
--- head/math/ggobi/pkg-plist Mon May 6 18:14:33 2013 (r317537)
+++ head/math/ggobi/pkg-plist Mon May 6 18:26:22 2013 (r317538)
@@ -129,9 +129,9 @@ share/pixmaps/ggobi.png
@unexec if cmp -s %D/etc/xdg/ggobi/ggobirc.sample %D/etc/xdg/ggobi/ggobirc; then rm -f %D/etc/xdg/ggobi/ggobirc; fi
etc/xdg/ggobi/ggobirc.sample
@exec if [ ! -f %B/ggobirc ]; then cp -p %D/%F %B/ggobirc; fi
-share/doc/ggobi/XML.pdf
-share/doc/ggobi/manual.pdf
- at dirrm share/doc/ggobi
+%%DOCSDIR%%/XML.pdf
+%%DOCSDIR%%/manual.pdf
+ at dirrm %%DOCSDIR%%
@dirrmtry share/applications
@dirrmtry etc/xdg/ggobi
@dirrmtry etc/xdg
More information about the svn-ports-head
mailing list