2013-05-06 20:26:22 +02:00
|
|
|
# Created by: Rainer Hurling <rhurlin@gwdg.de>
|
2010-02-12 20:25:43 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= ggobi
|
2011-05-21 20:20:44 +02:00
|
|
|
PORTVERSION= 2.1.9
|
2012-06-01 07:26:28 +02:00
|
|
|
PORTREVISION= 1
|
2010-02-12 20:25:43 +01:00
|
|
|
CATEGORIES= math graphics
|
|
|
|
MASTER_SITES= http://www.ggobi.org/downloads/
|
|
|
|
|
|
|
|
MAINTAINER= rhurlin@gwdg.de
|
|
|
|
COMMENT= Data visualization system
|
|
|
|
|
2013-09-02 23:16:30 +02:00
|
|
|
USES= pkgconfig
|
2010-02-12 20:25:43 +01:00
|
|
|
USE_BZIP2= yes
|
|
|
|
USE_GNOME= gtk20 libxml2 gnomehack
|
|
|
|
USE_LDCONFIG= yes
|
|
|
|
GNU_CONFIGURE= yes
|
2011-05-25 15:18:55 +02:00
|
|
|
USE_AUTOTOOLS= libltdl
|
2010-02-12 20:25:43 +01:00
|
|
|
|
|
|
|
CONFIGURE_ARGS+= --with-all-plugins
|
|
|
|
|
|
|
|
ALL_TARGET= all ggobirc
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|ND_coord_i|ND_coord|' \
|
|
|
|
${WRKSRC}/plugins/GraphLayout/graphviz.c
|
2011-08-05 08:37:21 +02:00
|
|
|
@${REINPLACE_CMD} -e 's|#line 0|#line 1|' \
|
|
|
|
${WRKSRC}/src/ggobi-data.c \
|
|
|
|
${WRKSRC}/src/ggobi-renderer-cairo.c \
|
|
|
|
${WRKSRC}/src/ggobi-renderer-factory.c \
|
|
|
|
${WRKSRC}/src/ggobi-renderer.c
|
2010-02-12 20:25:43 +01:00
|
|
|
|
2013-05-06 20:26:22 +02:00
|
|
|
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
|
|
|
|
|
2010-02-12 20:25:43 +01:00
|
|
|
post-install:
|
2013-11-04 18:43:48 +01:00
|
|
|
${MKDIR} ${STAGEDIR}${PREFIX}/etc/xdg/ggobi
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/ggobirc ${STAGEDIR}${PREFIX}/etc/xdg/ggobi/ggobirc.sample
|
2010-02-12 20:25:43 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|