mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
Update to version 1.7a
PR: 22832 Submitted by: Ports Fury
This commit is contained in:
parent
56a0548531
commit
0fbbda6c5f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=35146
9 changed files with 84 additions and 24 deletions
|
@ -6,31 +6,38 @@
|
|||
#
|
||||
|
||||
PORTNAME= graphviz
|
||||
PORTVERSION= 1.6
|
||||
PORTVERSION= 1.7a
|
||||
CATEGORIES= graphics tk83
|
||||
MASTER_SITES= http://www.graphviz.org/pub/graphviz/
|
||||
MASTER_SITES= http://www.research.att.com/sw/tools/graphviz/
|
||||
DISTNAME= gviz17a
|
||||
EXTRACT_SUFX= .tgz
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
|
||||
BUILD_DEPENDS= automake:${PORTSDIR}/devel/automake
|
||||
LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
|
||||
png.4:${PORTSDIR}/graphics/png \
|
||||
tk83.1:${PORTSDIR}/x11-toolkits/tk83 \
|
||||
ttf.4:${PORTSDIR}/print/freetype \
|
||||
Xpm.4:${PORTSDIR}/graphics/xpm
|
||||
tk83.1:${PORTSDIR}/x11-toolkits/tk83
|
||||
|
||||
# do not use USE_AUTOMAKE -- it only works if the configure script
|
||||
# finds automake by itself
|
||||
USE_AUTOCONF= yes
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
||||
|
||||
USE_FREETYPE= yes
|
||||
USE_XPM= yes
|
||||
USE_GMAKE= yes
|
||||
USE_AUTOMAKE= yes
|
||||
AUTOMAKE= libtoolize --force && autoheader && automake --add-missing
|
||||
USE_LIBTOOL= yes
|
||||
CONFIGURE_ENV= CFLAGS="${CFLAGS} -I${LOCALBASE}/include -I${LOCALBASE}/include/tcl8.3 -I${LOCALBASE}/include/tk8.3 -DHAVE_TERMIOS" \
|
||||
LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib" \
|
||||
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${LOCALBASE}/include/tcl8.3 -I${LOCALBASE}/include/tk8.3 -DHAVE_TERMIOS" \
|
||||
LDFLAGS="-L${LOCALBASE}/lib" \
|
||||
TCLCONFIG=${LOCALBASE}/lib/tcl8.3/tclConfig.sh \
|
||||
TKCONFIG=${LOCALBASE}/lib/tk8.3/tkConfig.sh
|
||||
USE_GMAKE= yes
|
||||
INSTALLS_SHLIB= yes
|
||||
LDCONFIG_DIRS= ${PREFIX}/lib/graphviz
|
||||
|
||||
MAN1= dot.1 dotty.1 lefty.1 neato.1
|
||||
MAN3= agraph.3 cdt.3 graph.3 pathplan.3
|
||||
MANN= gdtclft.n tcldgl.n tcldgr.n tcldot.n tkspline.n
|
||||
|
||||
post-patch:
|
||||
@cd ${WRKSRC} && aclocal
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
@ -1 +1 @@
|
|||
MD5 (graphviz-1.6.tar.gz) = bad03a6a1bee4c2bb0928dd017d61f2b
|
||||
MD5 (gviz17a.tgz) = a077970c1a010d3c7bcd1ed82eaa22a0
|
||||
|
|
|
@ -1,11 +1,14 @@
|
|||
--- lefty/lefty.c.orig Tue Apr 18 05:55:50 2000
|
||||
+++ lefty/lefty.c Tue Oct 17 18:47:51 2000
|
||||
@@ -32,6 +32,8 @@
|
||||
#else
|
||||
#ifdef _CNT_IN_FILESTRUCT
|
||||
#define canread(fp) ((fp)->_cnt > 0)
|
||||
+#elif __FreeBSD__
|
||||
+#define canread(fp) ((fp)->_r > 0)
|
||||
#else
|
||||
--- lefty/lefty.c.orig Mon Oct 9 09:19:43 2000
|
||||
+++ lefty/lefty.c Fri Nov 3 04:20:09 2000
|
||||
@@ -44,7 +44,11 @@
|
||||
#define canread(fp) ((fp)->_IO_read_end > (fp)->_IO_read_ptr)
|
||||
#else
|
||||
#ifdef NO_CNT_IN_FILESTRUCT
|
||||
+#ifdef __FreeBSD__
|
||||
+#define canread(fp) ((fp)->_r > 0)
|
||||
+#else
|
||||
#define canread(fp) ((fp)->_IO_read_end > (fp)->_IO_read_ptr)
|
||||
+#endif
|
||||
#else
|
||||
#define canread(fp) ((fp)->_cnt > 0)
|
||||
#endif
|
||||
|
|
|
@ -5,6 +5,6 @@
|
|||
DOCS = dotguide.ps dotty.ps gd.html lefty.ps neatoguide.ps tcldot.html
|
||||
|
||||
-docdir = $(prefix)/doc
|
||||
+docdir = $(datadir)/doc/graphviz
|
||||
+docdir = $(datadir)/doc/@PACKAGE@
|
||||
doc_DATA = $(DOCS)
|
||||
EXTRA_DIST = $(DOCS)
|
||||
|
|
10
graphics/graphviz/files/patch-lefty:Makefile.am
Normal file
10
graphics/graphviz/files/patch-lefty:Makefile.am
Normal file
|
@ -0,0 +1,10 @@
|
|||
--- lefty/Makefile.am.orig Sun Oct 15 16:53:05 2000
|
||||
+++ lefty/Makefile.am Fri Nov 3 03:24:02 2000
|
||||
@@ -21,6 +21,7 @@
|
||||
nmakefile makefile.old
|
||||
|
||||
INCLUDES = \
|
||||
+ @X_CFLAGS@ \
|
||||
-I$(srcdir)/ws/x11 \
|
||||
-I$(srcdir)/os/unix \
|
||||
-I$(srcdir)/dot2l
|
11
graphics/graphviz/files/patch-lefty:ws:x11:Makefile.am
Normal file
11
graphics/graphviz/files/patch-lefty:ws:x11:Makefile.am
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- lefty/ws/x11/Makefile.am.orig Sat May 27 03:07:57 2000
|
||||
+++ lefty/ws/x11/Makefile.am Fri Nov 3 03:25:30 2000
|
||||
@@ -9,7 +9,7 @@
|
||||
noinst_HEADERS = gcommon.h
|
||||
noinst_LTLIBRARIES = libws.la
|
||||
|
||||
-INCLUDES = -I../..
|
||||
+INCLUDES = @X_CFLAGS@ -I../..
|
||||
|
||||
libws_la_SOURCES = garray.c gbutton.c gcanvas.c gcommon.c glabel.c \
|
||||
gmenu.c gpcanvas.c gquery.c gscroll.c gtext.c gview.c gcommon.h
|
|
@ -0,0 +1,11 @@
|
|||
--- lefty/ws/x11/libfilereq/Makefile.am.orig Sun Oct 15 14:31:01 2000
|
||||
+++ lefty/ws/x11/libfilereq/Makefile.am Fri Nov 3 03:27:59 2000
|
||||
@@ -7,6 +7,8 @@
|
||||
noinst_HEADERS = SFinternal.h xstat.h
|
||||
noinst_LTLIBRARIES = libfilereq.la
|
||||
|
||||
+INCLUDES = @X_CFLAGS@
|
||||
+
|
||||
libfilereq_la_SOURCES = Dir.c Draw.c Path.c SelFile.c SFinternal.h xstat.h
|
||||
|
||||
EXTRA_DIST = README.selfile
|
10
graphics/graphviz/files/patch-tkspline:Makefile.am
Normal file
10
graphics/graphviz/files/patch-tkspline:Makefile.am
Normal file
|
@ -0,0 +1,10 @@
|
|||
--- tkspline/Makefile.am.orig Sat May 27 03:07:57 2000
|
||||
+++ tkspline/Makefile.am Fri Nov 3 03:22:50 2000
|
||||
@@ -10,6 +10,7 @@
|
||||
man_MANS = tkspline.n
|
||||
|
||||
INCLUDES = \
|
||||
+ @X_CFLAGS@ \
|
||||
@TCL_CFLAGS@ \
|
||||
@TK_CFLAGS@ \
|
||||
-I@TK_EXEC_PREFIX@/include \
|
|
@ -1,7 +1,8 @@
|
|||
bin/dotneato
|
||||
bin/dot
|
||||
bin/dotty
|
||||
bin/lefty
|
||||
bin/lneato
|
||||
bin/neato
|
||||
lib/graphviz/demo/dge
|
||||
lib/graphviz/demo/dge.README
|
||||
lib/graphviz/demo/dge.example1.dot
|
||||
|
@ -64,11 +65,18 @@ lib/graphviz/graphs/directed/world.dot
|
|||
lib/graphviz/graphs/undirected/ER.dot
|
||||
lib/graphviz/graphs/undirected/ngk10_4.dot
|
||||
lib/graphviz/graphs/undirected/process.dot
|
||||
lib/graphviz/lefty/box.lefty
|
||||
lib/graphviz/lefty/def.lefty
|
||||
lib/graphviz/lefty/dotty.lefty
|
||||
lib/graphviz/lefty/dotty_draw.lefty
|
||||
lib/graphviz/lefty/dotty_edit.lefty
|
||||
lib/graphviz/lefty/dotty_layout.lefty
|
||||
lib/graphviz/lefty/dotty_ui.lefty
|
||||
lib/graphviz/lefty/fractal.lefty
|
||||
lib/graphviz/lefty/fractal2.lefty
|
||||
lib/graphviz/lefty/lefty.psp
|
||||
lib/graphviz/lefty/slides.lefty
|
||||
lib/graphviz/lefty/tree.lefty
|
||||
lib/graphviz/libgdtclft.so
|
||||
lib/graphviz/libgdtclft.so.0
|
||||
lib/graphviz/libtcldgl.so
|
||||
|
|
Loading…
Add table
Reference in a new issue