20c6cc2031
Package changes: - bl3ify - provide a buildlinl3.mk - no more conflicting with package coreutils Changes in graphviz since last packaged version: March 1, 2004 - release 1.12 - general - rename bcc -> bcomps to avoid name conflict with "Bruce's C Compiler" on Redhat distributions. - all build without X11 (fix problem in lefty tree) - remove from distribution: dag, fdp, geo, grid, incr, shape, tcldgr, tcldgl - dotneato - fix "brown-bag" problem resulting in PNG and JPEG errors on RH8 and RH9. February 23, 2004 - release 1.11 - general - fix windows builds - add tool "bcc" to distribution - dotneato - add -Gviewport="X,Y,Z,x,y" where XY are the dimensions of a viewport in device coordinates (pixels), Z is a zooming factor, x,y is the location of the center of the viewport in graph coordinates. Supported in bitmap and imagemap outputs only. - fix memory leak in gd/gdft.c - clean up calculation of whitespace around labels - dotty, lefty - fix for bug #400 December 23, 2003 - added dijkstra (single source distance) filter September 10, 2003 - general - removed CVS directories from .tar.gz distributions - add "config" directory to contain some of the autoconf clutter - only remove flex products with "make maintainer-clean" to avoid trying to regenerate them after "make distclean" basically this is to avoid the broken flex on Debian. - suppress complaints from ./configure about config.rpath - doc/build.html updated with notes about Windows builds - build fixes for Forte 6sp2 compiler on Sun -xarch=v9a (64bit) - build fixes for OpenBSD - improved configure testing for Tcl/Tk - various bug fixes, internal restructuring, etc - dotneato - fix problem with extra escape chars in .fig output - support for "setlinewidth" in -Tfig - improved splines in -Tfig - add manpage for dotneato-config - neato: add defaultdist graph attribute to set distance between components - first cut at html table formatter add. not ready for use yet as the syntax is going to change some more. - tools - renamed "colorize" to "gvcolor" to avoid conflict on Debian - renamed "gpr" to "gvpr" to avoid conflict on Debian - add fflush() to acyclic, ccomps, gvcolor, tred, dot2gxl to try to fix truncated output when used in php or perl cgi scripts
71 lines
2.6 KiB
Makefile
71 lines
2.6 KiB
Makefile
# $NetBSD: Makefile,v 1.21 2004/04/17 16:56:10 seb Exp $
|
|
#
|
|
|
|
DISTNAME= graphviz-1.12
|
|
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_BUILDLINK3= yes
|
|
USE_LIBTOOL= yes
|
|
USE_X11= yes
|
|
XAW_TYPE= standard
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
CONFIGURE_ENV+= TCLCONFIG=${TCLCONFIG_SH}
|
|
CONFIGURE_ENV+= TKCONFIG=${TKCONFIG_SH}
|
|
CONFIGURE_ENV+= X11PREFIX=${X11PREFIX} X11BASE=${X11BASE}
|
|
|
|
CONFIGURE_ARGS+= --with-zincludedir=${BUILDLINK_PREFIX.zlib}/include
|
|
CONFIGURE_ARGS+= --with-zlibdir=${BUILDLINK_PREFIX.zlib}/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
|
|
CONFIGURE_ARGS+= --with-freetypeincludedir=${BUILDLINK_PREFIX.freetype2}/include
|
|
CONFIGURE_ARGS+= --with-freetypelibdir=${BUILDLINK_PREFIX.freetype2}/lib
|
|
|
|
# Dynagraph is left out for now
|
|
#UNLIMIT_RESOURCES= datasize stacksize memorysize
|
|
CONFIGURE_ARGS+= --without-dynagraph
|
|
|
|
post-extract:
|
|
${FIND} ${WRKSRC} -name "*.orig" -print | ${XARGS} ${RM} -f
|
|
|
|
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/buildlink3.mk"
|
|
.include "../../devel/zlib/buildlink3.mk"
|
|
.include "../../graphics/jpeg/buildlink3.mk"
|
|
.include "../../graphics/png/buildlink3.mk"
|
|
.include "../../graphics/freetype2/buildlink3.mk"
|
|
.include "../../x11/tk/buildlink3.mk"
|
|
# .include "../../www/curl/buildlink3.mk"
|
|
.include "../../textproc/expat/buildlink3.mk"
|
|
.include "../../mk/xaw.buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|