pkgsrc/graphics/graphviz/Makefile
seb c014e9f9f8 Update to version 1.10.
Changes since version 1.9:
July 9, 2003
        - rerelease 1.10 with ast_common.h fix in -devel rpms
July 3, 2003
        - declare this version 1.10
        - general
            - "mkdir obj;cd obj;../configure;make"   now works (bug #293)
            - "make prefix=xxx"   now works (bug #274)
            - "--with-wish=xxx"   now works (bug #270)
            - remove generated file: ast_common.h from source distributions
            - make GIF support configurable
            - added .cvsignore thoughout source tree to reduce CVS noise
            - FAQ updates
            - documentation updates for gpr
            - improve portability of dotneato-config, but requires libtool now
            - improvements to error processing for library users
        -gd
            - sync with gd-2.0.15
            - optimize line drawing code
        - dot, neato, twopi
            - fix bugs 240,270,274,293,298,303
            - support "peripheries=0" without crashing
            - add support for "dia" output format (-Tdia)
            - espf fixes (use of showpage)
            - svg fixes (coordinates and viewBox)
            - ismap/imap, fixes (quoting of label strings)
            - fix to "point" shape
            - improve (m|c|re)alloc usage
            - improve handling of very-small fonts in bitmap outputs.
            - various fixes for multiple -T -o feature
            - add support for splines to records and ports (neato)
            - various improvements to libpack
            - dot_init_graph and neato_init_graph external for library users
            - cluster improvements (neato)
            - fix support for truecolor
            - normalize splines so that they now always go from tail to head
            - add some simple help text for any unrecognized option
                (e.g. -?  -h  --help)
        - tools
            - extend gpr language to allow access to command-line arguments
            - add sqrt() function to gpr
            - add new tool - gvpack
        - tcldot
            - use .dll extension if on windows
            - doted demo
                - use tcl's file requestor instead of homebrew
                - add zooming controlled by mousewheel
                - support additonal export formats
2003-07-28 10:06:43 +00:00

72 lines
2.8 KiB
Makefile

# $NetBSD: Makefile,v 1.15 2003/07/28 10:06:43 seb Exp $
#
DISTNAME= graphviz-1.10
CATEGORIES= graphics
MASTER_SITES= http://www.graphviz.org/pub/graphviz/ARCHIVE/
MAINTAINER= seb@NetBSD.org
HOMEPAGE= http://www.graphviz.org/
COMMENT= Graph Drawing Programs from AT&T Research and Lucent Bell Labs
LICENSE= graphviz-license
GNU_CONFIGURE= yes
USE_BUILDLINK2= yes
USE_LIBTOOL= yes
USE_X11= yes
LIBTOOL_OVERRIDE= ${WRKSRC}/libtool
XAW_TYPE= standard
CONFIGURE_ENV+= TCLCONFIG=${BUILDLINK_PREFIX.tcl}/lib/tclConfig.sh
CONFIGURE_ENV+= TKCONFIG=${BUILDLINK_PREFIX.tk}/lib/tkConfig.sh
CONFIGURE_ENV+= X11PREFIX=${X11PREFIX} X11BASE=${X11BASE}
CONFIGURE_ENV+= BUILDLINK_PREFIX_TCL=${BUILDLINK_PREFIX.tcl}
CONFIGURE_ENV+= BUILDLINK_PREFIX_TK=${BUILDLINK_PREFIX.tk}
CONFIGURE_ARGS+= --with-zincludedir=${BUILDLINK_PREFIX.zlib}/include
CONFIGURE_ARGS+= --with-zlibdir=${BUILDLINK_PREFIX.zlib}/lib
CONFIGURE_ARGS+= --with-iconvincludedir=${BUILDLINK_PREFIX.iconv}/include
CONFIGURE_ARGS+= --with-iconvlibdir=${BUILDLINK_PREFIX.iconv}/lib
CONFIGURE_ARGS+= --with-jpegincludedir=${BUILDLINK_PREFIX.jpeg}/include
CONFIGURE_ARGS+= --with-jpeglibdir=${BUILDLINK_PREFIX.jpeg}/lib
CONFIGURE_ARGS+= --with-expatincludedir=${BUILDLINK_PREFIX.expat}/include
CONFIGURE_ARGS+= --with-expatlibdir=${BUILDLINK_PREFIX.expat}/lib
# curl support... Not yet
#CONFIGURE_ARGS+= --with-curlincludedir=${BUILDLINK_PREFIX.curl}/include
#CONFIGURE_ARGS+= --with-curllibdir=${BUILDLINK_PREFIX.curl}/lib
# Dynagraph is left out for now
#UNLIMIT_RESOURCES= datasize stacksize memorysize
CONFIGURE_ARGS+= --without-dynagraph
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/graphviz
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/html/graphviz
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/html/graphviz/info
.for __f__ in Dot.ref dotguide.pdf dottyguide.pdf leftyguide.pdf \
neatoguide.pdf
${INSTALL_DATA} ${WRKSRC}/doc/${__f__} ${PREFIX}/share/doc/graphviz
.endfor
.for __f__ in FAQ.html tcldot.html
${INSTALL_DATA} ${WRKSRC}/doc/${__f__} ${PREFIX}/share/doc/html/graphviz
.endfor
.if 0 # dynagraph "disabled"
${INSTALL_DATA} ${WRKSRC}/dynagraph/dynagraph.html ${PREFIX}/share/doc/html/graphviz
.endif
for f in ${WRKSRC}/doc/info/*.html ${WRKSRC}/doc/info/*.gif; do \
${INSTALL_DATA} $${f} ${PREFIX}/share/doc/html/graphviz/info; \
done
${INSTALL_DATA} ${WRKSRC}/COPYING ${PREFIX}/share/doc/graphviz
${INSTALL_DATA} ${WRKSRC}/MINTERMS.txt ${PREFIX}/share/doc/graphviz
.include "../../graphics/png/buildlink2.mk"
.include "../../devel/zlib/buildlink2.mk"
.include "../../converters/libiconv/buildlink2.mk"
.include "../../graphics/jpeg/buildlink2.mk"
.include "../../graphics/freetype2/buildlink2.mk"
.include "../../x11/tk/buildlink2.mk"
# .include "../../www/curl/buildlink2.mk"
.include "../../textproc/expat/buildlink2.mk"
.include "../../mk/xaw.buildlink2.mk"
.include "../../mk/bsd.pkg.mk"