pkgsrc/graphics/graphviz/Makefile

81 lines
2.5 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.73 2009/04/01 17:12:57 tron Exp $
DISTNAME= graphviz-2.20.3
PKGREVISION= 4
CATEGORIES= graphics
MASTER_SITES= http://www.graphviz.org/pub/graphviz/stable/SOURCES/
MAINTAINER= pkgsrc-users@NetBSD.org
Update to version 1.8.9. Buildlink1 -> buildlink2. Update homepage. * Changes in version 1.8.9 August 2, 2002 - declare this version 1.8.9 - general - split rpm into: graphviz, graphviz-tcl, graphviz-graphs, graphviz-devel - gcc3 warning cleanup - Install lincdt, libgraph, libagraph, libgd, libpathplan, libexp, and libpack so that they can be used by other programs. Headers and man3 in graphviz-devel - dynagraph, graphsearch - New tools based on libagraph and written in C++ - dot, neato, twopi - Add node and edge tooltips for use with -Tcmap \N,\E,\H,\T substitutions also work in tooltips. - Add alt="label_string" to -Tcmap - Add edge-label and port mappings to -Tps and -Tps2 so that edges can be hyperlinked in PDF documents. - Add support for \E (edge name), \H (head-node name), \T (tail-node name) substitutions in edge labels and edge URLs - Add support for stylesheet="file.css" for use in -Tsvg - Fix -Tpic to work with recent gpic (Bruce Lilly) - Fix alignment of imagemaps to images. - Fix "transparent" color support in -Tsvg - Fix support for graph [URL="default.html"] in -Tsvg and -Tcmap. - Fix '&' escaping in URLs in -Tsvg - Fix infinite loop in dot layout algorithm - Fix text rotations again (hopefully freetype is stable now.) - Cluster layout improvements - Clean up warning messages from pathplan - Consolidation of mapping code from imapgen.c and ismapgen.c into mapgen.c - gpr - Added additional mode to extract components based sharing an edge or a cluster - Fix test for getopt - tcl-based tools - Disable tcl-based tool building if tcl/tk not available with stubs support. - documentation updates: FAQ, dotguide, dot.1 * Changes in version 1.8.8 July 5, 2002 - declare 1.8.7 a "brown bag" release and declare this version 1.8.8 - remove wrong assert in gdgen.c - fix graph centering in bitmap outputs - provide enough margins - fix line widths after scaling (test with directed/proc3d.dot) - fix text rotations (requires libfreetype.so.6.3.1) (test with directed/NaN.dot) * Changes in version 1.8.7 July 5, 2002 - declare this version 1.8.7 - Fix missing "]" in ihi demo. July 2, 2002 - Add URL mappings for clusters: svg,svgz,ps,ismap,imap,cmap. - Fix to avoid white edges in bitmap outputs when bgcolor is set. - Improve sizing and position of strings in bitmap outputs when using builtin fonts (when font file not found). - Fix \N substitution in edge URLs in imap and cmap outputs. - Add -Tcmap for client-side imagemaps. - Generate warnings instead of access violation for EPSF file problems. - Various spline fixes in neato. - Fixes to pack.c - Add feature to ccomps to allow extraction of individual component by number or node. - Cdt make to use iffe provided in the tools directory. - Various Makefile.old fixes. - Use HAVE_LIBZ to remove GD2 format if libz not available. Now bare-bones programs can be built without any add-on libraries. - Modified dot grammar to allow simple name attributes in attribute lists. Thus, [splines] is equivalent to [splines=true]. Adopted the same convention for command line attributes -G, -E and -N. In addition, such command line attributes now override any competing initial attribute statements. - HP-UX 11.11 build fixes for struct dioattr. - Fix for bug #158 "Nodes disappear with ports" - Various Windows-specific #ifdefs - Fix edge coordinates in -Tplain. * Changes in version 1.8.6 May 24, 2002 - declare this version 1.8.6 May 19, 2002 - Fixed segfault from use of bgcolor in clusters. May 15, 2002 - Changed install location of architecture-independent demo scripts and graphs to <prefix>/share/graphviz/ to conform to FHS. - Avoid multiple linking of libfreetype (and others) which caused problems on SunOS-2.8. May 6, 2002 - Factored out some duplicated arrow code from dotgen/splines.c and neatorgen/splines.c into common/arrows.c. - Added new arrow types: halfopen, box, obox, crow. - Touched up the arrow designs so that they look better at default size. - Modified/extended graphs/directed/newarrows.dot to show new arrows. May 3, 2002 - Added some UML arrow types from Diomidis Spinellis <dds@aueb.gr> empty, invempty, open, diamond, odiamond. May 2, 2002 - Added new pack option to neato. This causes each connected component to be laid out separately, and then the resulting graphs are packed together in a single layout. - Amended neato to accept new tee arrowhead. April 19, 2002 - Coords of rectangles changed to left/top right/bottom in -Timap. - Generate COPYING from LICENSE.html during ./authogen.sh, remove COPYING from CVS. April 16, 2002 - Minor license file patches. - Corrected one of those reversed flat edge bugs again.
2002-08-28 15:49:35 +02:00
HOMEPAGE= http://www.graphviz.org/
COMMENT= Graph Drawing Programs from AT&T Research and Lucent Bell Labs
PKG_INSTALLATION_TYPES= overwrite pkgviews
PKG_DESTDIR_SUPPORT= user-destdir
DEPENDS+= ghostscript-fonts>=6.0:../../fonts/ghostscript-fonts
CHECK_FILES_SKIP= ${PREFIX}/lib/graphviz/config
USE_LANGUAGES= c c++
USE_LIBTOOL= yes
USE_TOOLS+= bison pkg-config
Update to version 1.8.9. Buildlink1 -> buildlink2. Update homepage. * Changes in version 1.8.9 August 2, 2002 - declare this version 1.8.9 - general - split rpm into: graphviz, graphviz-tcl, graphviz-graphs, graphviz-devel - gcc3 warning cleanup - Install lincdt, libgraph, libagraph, libgd, libpathplan, libexp, and libpack so that they can be used by other programs. Headers and man3 in graphviz-devel - dynagraph, graphsearch - New tools based on libagraph and written in C++ - dot, neato, twopi - Add node and edge tooltips for use with -Tcmap \N,\E,\H,\T substitutions also work in tooltips. - Add alt="label_string" to -Tcmap - Add edge-label and port mappings to -Tps and -Tps2 so that edges can be hyperlinked in PDF documents. - Add support for \E (edge name), \H (head-node name), \T (tail-node name) substitutions in edge labels and edge URLs - Add support for stylesheet="file.css" for use in -Tsvg - Fix -Tpic to work with recent gpic (Bruce Lilly) - Fix alignment of imagemaps to images. - Fix "transparent" color support in -Tsvg - Fix support for graph [URL="default.html"] in -Tsvg and -Tcmap. - Fix '&' escaping in URLs in -Tsvg - Fix infinite loop in dot layout algorithm - Fix text rotations again (hopefully freetype is stable now.) - Cluster layout improvements - Clean up warning messages from pathplan - Consolidation of mapping code from imapgen.c and ismapgen.c into mapgen.c - gpr - Added additional mode to extract components based sharing an edge or a cluster - Fix test for getopt - tcl-based tools - Disable tcl-based tool building if tcl/tk not available with stubs support. - documentation updates: FAQ, dotguide, dot.1 * Changes in version 1.8.8 July 5, 2002 - declare 1.8.7 a "brown bag" release and declare this version 1.8.8 - remove wrong assert in gdgen.c - fix graph centering in bitmap outputs - provide enough margins - fix line widths after scaling (test with directed/proc3d.dot) - fix text rotations (requires libfreetype.so.6.3.1) (test with directed/NaN.dot) * Changes in version 1.8.7 July 5, 2002 - declare this version 1.8.7 - Fix missing "]" in ihi demo. July 2, 2002 - Add URL mappings for clusters: svg,svgz,ps,ismap,imap,cmap. - Fix to avoid white edges in bitmap outputs when bgcolor is set. - Improve sizing and position of strings in bitmap outputs when using builtin fonts (when font file not found). - Fix \N substitution in edge URLs in imap and cmap outputs. - Add -Tcmap for client-side imagemaps. - Generate warnings instead of access violation for EPSF file problems. - Various spline fixes in neato. - Fixes to pack.c - Add feature to ccomps to allow extraction of individual component by number or node. - Cdt make to use iffe provided in the tools directory. - Various Makefile.old fixes. - Use HAVE_LIBZ to remove GD2 format if libz not available. Now bare-bones programs can be built without any add-on libraries. - Modified dot grammar to allow simple name attributes in attribute lists. Thus, [splines] is equivalent to [splines=true]. Adopted the same convention for command line attributes -G, -E and -N. In addition, such command line attributes now override any competing initial attribute statements. - HP-UX 11.11 build fixes for struct dioattr. - Fix for bug #158 "Nodes disappear with ports" - Various Windows-specific #ifdefs - Fix edge coordinates in -Tplain. * Changes in version 1.8.6 May 24, 2002 - declare this version 1.8.6 May 19, 2002 - Fixed segfault from use of bgcolor in clusters. May 15, 2002 - Changed install location of architecture-independent demo scripts and graphs to <prefix>/share/graphviz/ to conform to FHS. - Avoid multiple linking of libfreetype (and others) which caused problems on SunOS-2.8. May 6, 2002 - Factored out some duplicated arrow code from dotgen/splines.c and neatorgen/splines.c into common/arrows.c. - Added new arrow types: halfopen, box, obox, crow. - Touched up the arrow designs so that they look better at default size. - Modified/extended graphs/directed/newarrows.dot to show new arrows. May 3, 2002 - Added some UML arrow types from Diomidis Spinellis <dds@aueb.gr> empty, invempty, open, diamond, odiamond. May 2, 2002 - Added new pack option to neato. This causes each connected component to be laid out separately, and then the resulting graphs are packed together in a single layout. - Amended neato to accept new tee arrowhead. April 19, 2002 - Coords of rectangles changed to left/top right/bottom in -Timap. - Generate COPYING from LICENSE.html during ./authogen.sh, remove COPYING from CVS. April 16, 2002 - Minor license file patches. - Corrected one of those reversed flat edge bugs again.
2002-08-28 15:49:35 +02:00
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --disable-java
CONFIGURE_ARGS+= --disable-perl
CONFIGURE_ARGS+= --disable-php
CONFIGURE_ARGS+= --disable-python
CONFIGURE_ARGS+= --disable-ruby
CONFIGURE_ARGS+= --disable-sharp
# build fails when PHP and/or Ruby are also installed
CONFIGURE_ENV+= ac_cv_prog_PHP=
CONFIGURE_ENV+= ac_cv_prog_RUBY=
CPPFLAGS+= -DNO_POSTSCRIPT_ALIAS=1
PKGCONFIG_OVERRIDE= lib/agraph/libagraph.pc.in
PKGCONFIG_OVERRIDE+= lib/cdt/libcdt.pc.in
PKGCONFIG_OVERRIDE+= lib/cgraph/libcgraph.pc.in
PKGCONFIG_OVERRIDE+= lib/expr/libexpr.pc.in
PKGCONFIG_OVERRIDE+= lib/graph/libgraph.pc.in
PKGCONFIG_OVERRIDE+= lib/gvc/libgvc.pc.in
PKGCONFIG_OVERRIDE+= lib/gvc/libgvc_builtins.pc.in
PKGCONFIG_OVERRIDE+= lib/pathplan/libpathplan.pc.in
XAW_TYPE= standard
REPLACE_INTERPRETER+= lua
REPLACE.lua.old= .*lua
REPLACE.lua.new= ${PREFIX}/bin/lua
REPLACE_FILES.lua= tclpkg/gv/demo/modgraph.lua
REPLACE_INTERPRETER+= tclsh
REPLACE.tclsh.old= .*tclsh
REPLACE.tclsh.new= ${PREFIX}/bin/tclsh
REPLACE_FILES.tclsh= tclpkg/gv/demo/modgraph.tcl
.include "../../mk/bsd.prefs.mk"
.include "../../mk/compiler.mk"
.if !empty(CC_VERSION:Mgcc-2*)
BUILDLINK_TRANSFORM+= rm:-Wno-unused-parameter
.endif
# Prevent another config.status run.
Update to version 1.16. Changes since last packaged version (1.12) September 14, 2004 - release 1.16 dotneato - fix bugs: 275, 523, 526, 527, 529, 534 August 30, 2004 - release 1.14 dotneato - the official gd now has support support for GIFs again - the internal gd is now closely sync'ed with the official version and will eventually be removed in favor of using a separate installation of the official version. - gd has new support for FontConfig (thanks to Dag Lem) NB. the fontname attribute in graphs is now a font pattern as understood by fontconfig (e.g. fontname="Times-Italic"), unless it contains a '/' in which case it is interpreted as a font path as before. - gd provides support for html4 entities in decimal, hex or named, e.g "&lt;" - "dot -v" debugging output now reports fontname -> fontpath resolutions - PostScript generated by -Tps now uses "xshow" operator for strings for better matching of bitmap and PostScript outputs. - ability to use an external gd-2.0.29 version of libgd (EXPERIMENTAL) - new feature: parallel edges by using a ":" separated list of edge colors - new feature: rankdir=BT and rankdir=RL (thanks to Dag Lem) - new layout engine: fdp - force directed placement (EXPERIMENTAL) a neato-like undirected layout engine that produces clustered symmetric layouts. Supports edges between clusters and nodes. - updated neato engine: now using stress majorization as the default, which avoids the potential for cycling - model=subset in neato provides a third distance function, where two nodes sharing many nodes will be place farther apart - shape=none now equivalent to shape=plaintext - fix label justification with \l and \r - first cut at <FONT> support added to html labels - various color transparency fixes - various fixes for UTF8 and Latin[12] character encodings. - various cluster fixes. - improved hyperlink support in -Tsvg - support tooltips on clusters in client-side imagemaps gvpr - add support for scanf and friends general - greater use of shared libraries. - pkg-config files provided for shared libraries (EXPERIMENTAL) - "./configure --disable-shared --enable-static" works if needed - C++ wrappers on all header files (thanks to Victor Wodecki) - various configuration and portablity fixes - provide pdf version of man pages - Windows package provides graphviz libraries and header files - Closed bugs: 195, 198, 234, 321, 330, 399, 401, 406, 410, 411, 412, 413, 415, 416, 417, 423, 424, 427, 430, 431, 433, 434, 435, 438, 441, 442, 444, 445, 449, 450, 452, 454, 457, 458, 462, 463, 464, 467, 468, 469, 471, 475, 480, 482, 485, 495, 496, 498, 499, 500, 501, 504, 508, 511, 512, 514 March 5, 2004 - added glyphwidths.ps support utility
2004-11-29 23:11:50 +01:00
pre-build:
touch ${WRKSRC}/Makefile
# Remove temporary files and directories created by re-linking "libgv_lua.la".
post-install:
2009-03-03 17:04:53 +01:00
${RM} -rf ${DESTDIR}${PREFIX}/lib/graphviz/lua/gv.so \
${DESTDIR}${PREFIX}/lib/graphviz/tcl/tcl \
${DESTDIR}${PREFIX}/lib/lua/5.1/gv.so
.include "options.mk"
.include "../../converters/libiconv/buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../devel/libltdl/convenience.mk"
.include "../../fonts/fontconfig/buildlink3.mk"
#.include "../../graphics/jpeg/buildlink3.mk"
#.include "../../graphics/png/buildlink3.mk"
.include "../../textproc/expat/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"