pkgsrc/graphics/graphviz/Makefile
dholland 1a2ce4bab3 Update graphviz to 2.26.3.
pkgsrc changes: fix a bit of pkglint. Todo: add an option to enable smyrna.
Upstream changelog:

January 26, 2010
        - Release 2.26.3
        - libcgraph.so   version bumped from 4 to 5 due to API changes
        - Allow ranksep to specify multiple radial differences in twopi
        - Allow the user to specify all pairwise distances in neato with
        - Fixed bugs: 1280, 1409, 1567, 1583, 1624, 1631, 1655, 1708, 1709,
            1727, 1784, 1792, 1798, 1800, 1813, 1814, 1830, 1831, 1833, 1836,
            1839

December 10, 2009
        - Release 2.26.0
        - Core features:
            - added: "smyrna" - a new opengl-based viewer for large graphs
            - added: rudimentary "gml2gv", "gv2gml" converters
            - extended support for various image formats in node images
            - removed vestiges of codegens, now all putput formats supported
              through plugins.  Dropped some output formats for which
              plugins have not been developed: -Tdia, -Tmif
            - gvpr converted to a library; additional array handling and
              text processing functions added; language extended to allow
              multiple BEG_G/N/E blocks.
            - allow background images specified via xdot
        - Fixed bugs:
            1683, 1713, 1718, 1720, 1738, 1747, 1759, 1770, 1776, 1786,
            1799, 1816, 1827
2010-11-17 15:46:21 +00:00

84 lines
2.6 KiB
Makefile

# $NetBSD: Makefile,v 1.87 2010/11/17 15:46:21 dholland Exp $
DISTNAME= graphviz-2.26.3
CATEGORIES= graphics
MASTER_SITES= http://www.graphviz.org/pub/graphviz/stable/SOURCES/
MAINTAINER= sno@NetBSD.org
HOMEPAGE= http://www.graphviz.org/
COMMENT= Graph Drawing Programs from AT&T Research and Lucent Bell Labs
LICENSE= cpl-1.0
PKG_INSTALLATION_TYPES= overwrite pkgviews
PKG_DESTDIR_SUPPORT= user-destdir
CHECK_FILES_SKIP+= ${PREFIX}/lib/graphviz/config6
PRIVILEGED_STAGES+= clean
USE_LANGUAGES= c c++
USE_LIBTOOL= yes
USE_TOOLS+= bison pkg-config
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --disable-java
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
REPLACE_PERL+= config/config_perl.pl lib/gd/configure.pl \
tclpkg/gv/demo/modgraph.pl contrib/dotmcl.pl \
contrib/dirgraph/dirgraph.pl
.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.
pre-build:
touch ${WRKSRC}/Makefile
# Remove temporary files and directories created by re-linking "libgv_lua.la".
post-install:
${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/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"