aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/graphviz/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/graphviz/Makefile')
-rw-r--r--graphics/graphviz/Makefile18
1 files changed, 15 insertions, 3 deletions
diff --git a/graphics/graphviz/Makefile b/graphics/graphviz/Makefile
index 05282ee14b69..bff208abf644 100644
--- a/graphics/graphviz/Makefile
+++ b/graphics/graphviz/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= graphviz
-PORTVERSION= 2.32.0
+PORTVERSION= 2.34.0
CATEGORIES= graphics tk
MASTER_SITES= http://www.graphviz.org/pub/graphviz/ARCHIVE/
@@ -61,12 +61,13 @@ PDOCS_HTML= doc/*.html doc/info/*.gif
USE_LDCONFIG= ${PREFIX}/lib/${PORTNAME}
-OPTIONS_DEFINE= XPM DIGCOLA IPSEPCOLA ICONV NLS PANGOCAIRO LIBRSVG2 POPPLER GTK2 GDK_PIXBUF GNOMEUI SMYRNA GVEDIT MING DEVIL GHOSTSCRIPT PERL PHP PYTHON RUBY LUA TCL GUILE TK NVTHREADS
+OPTIONS_DEFINE= XPM DIGCOLA IPSEPCOLA ICONV NLS PANGOCAIRO LIBRSVG2 POPPLER ANN GTK2 GDK_PIXBUF GNOMEUI SMYRNA GVEDIT MING DEVIL GHOSTSCRIPT PERL PHP PYTHON RUBY LUA TCL GUILE TK NVTHREADS
OPTIONS_DEFAULT?= XPM DIGCOLA IPSEPCOLA ICONV NLS PANGOCAIRO
NO_OPTIONS_SORT=yes
DIGCOLA_DESC= neato layout engine wiwth DIGCOLA features
IPSEPCOLA_DESC= neato layout engine wiwth IPSEPCOLA features
PANGOCAIRO_DESC=pangocairo support
+ANN_DESC= ANN edge bundling support
SMYRNA_DESC= SMYRNA graph viewer (requires GTK2)
GVEDIT_DESC= gvedit (requires qt)
GTK2_DESC= gtk2 plugin (requires PANGOCAIRO)
@@ -166,7 +167,7 @@ PLIST_SUB+= WITH_PANGOCAIRO="@comment "
CONFIGURE_ARGS+= --with-rsvg=yes
PLIST_SUB+= WITH_RSVG=""
USE_GNOME+= librsvg2
-USE_GL+= gl glu
+USE_GL+= gl glu glut
.if empty(PORT_OPTIONS:MPANGOCAIRO)
IGNORE= option PANGOCAIRO is required for option LIBRVG2
.endif
@@ -184,6 +185,17 @@ CONFIGURE_ARGS+= --without-poppler
PLIST_SUB+= WITH_POPPLER="@comment "
.endif
+.if ${PORT_OPTIONS:MANN}
+LIB_DEPENDS+= ann:${PORTSDIR}/math/ann
+CONFIGURE_ENV+= ANN_CFLAGS=-I${LOCALBASE}/include ANN_LIBS=-lann
+CONFIGURE_ARGS+= --with-ann=yes
+PLIST_SUB+= WITH_ANN=""
+MAN1+= mingle.1
+.else
+CONFIGURE_ARGS+= --without-ann
+PLIST_SUB+= WITH_ANN="@comment "
+.endif
+
.if ${PORT_OPTIONS:MGTK2}
CONFIGURE_ARGS+= --with-gtk
PLIST_SUB+= WITH_GTK=""