2000-01-29 21:51:04 +00:00
|
|
|
# New ports collection makefile for: graphviz
|
|
|
|
# Date created: 03 Feb 1998
|
|
|
|
# Whom: Thomas Gellekum <tg@FreeBSD.org>
|
1998-02-04 08:37:51 +00:00
|
|
|
#
|
1999-08-25 06:16:32 +00:00
|
|
|
# $FreeBSD$
|
1998-02-04 08:37:51 +00:00
|
|
|
#
|
|
|
|
|
2000-04-14 10:48:02 +00:00
|
|
|
PORTNAME= graphviz
|
2003-08-12 00:04:01 +00:00
|
|
|
PORTVERSION= 1.10
|
2003-07-07 06:45:45 +00:00
|
|
|
CATEGORIES= graphics tk84
|
2002-04-18 14:42:22 +00:00
|
|
|
MASTER_SITES= http://www.graphviz.org/pub/graphviz/ARCHIVE/
|
1998-02-04 08:37:51 +00:00
|
|
|
|
2002-06-25 07:50:58 +00:00
|
|
|
MAINTAINER= perky@FreeBSD.org
|
2003-02-25 06:25:35 +00:00
|
|
|
COMMENT= Graph Visualization Software from AT&T and Bell Labs
|
1998-02-04 08:37:51 +00:00
|
|
|
|
2000-10-23 12:37:30 +00:00
|
|
|
LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
|
2001-09-11 02:22:51 +00:00
|
|
|
png.5:${PORTSDIR}/graphics/png \
|
2002-03-11 17:25:31 +00:00
|
|
|
freetype.9:${PORTSDIR}/print/freetype2 \
|
2003-07-07 06:45:45 +00:00
|
|
|
tk84.1:${PORTSDIR}/x11-toolkits/tk84
|
2000-10-23 12:37:30 +00:00
|
|
|
|
2000-11-14 15:49:46 +00:00
|
|
|
USE_XPM= yes
|
|
|
|
USE_GMAKE= yes
|
|
|
|
USE_AUTOMAKE= yes
|
2000-12-09 06:17:16 +00:00
|
|
|
AUTOMAKE_ARGS= --add-missing
|
2000-10-23 12:37:30 +00:00
|
|
|
USE_LIBTOOL= yes
|
2003-07-07 06:45:45 +00:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${LOCALBASE}/include/tcl8.4 -I${LOCALBASE}/include/tk8.4" \
|
2000-11-14 15:49:46 +00:00
|
|
|
LDFLAGS="-L${LOCALBASE}/lib" \
|
2003-07-07 06:45:45 +00:00
|
|
|
TCLCONFIG=${LOCALBASE}/lib/tcl8.4/tclConfig.sh \
|
|
|
|
TKCONFIG=${LOCALBASE}/lib/tk8.4/tkConfig.sh \
|
2002-04-18 14:42:22 +00:00
|
|
|
AUTOHEADER=${LOCALBASE}/bin/autoheader213 \
|
|
|
|
AUTOCONF=${LOCALBASE}/bin/autoconf213 \
|
|
|
|
AUTOMAKE=${LOCALBASE}/bin/automake14 \
|
|
|
|
ACLOCAL=${LOCALBASE}/bin/aclocal14
|
2003-08-12 00:04:01 +00:00
|
|
|
CONFIGURE_ARGS= --program-transform-name="s/x/x/"
|
2000-11-14 15:49:46 +00:00
|
|
|
INSTALLS_SHLIB= yes
|
|
|
|
LDCONFIG_DIRS= ${PREFIX}/lib/graphviz
|
2002-05-23 00:32:04 +00:00
|
|
|
MAKE_ENV= EXPR_COMPAT=yes
|
2000-10-23 12:37:30 +00:00
|
|
|
|
2003-02-18 11:32:41 +00:00
|
|
|
MAN1= acyclic.1 ccomps.1 colorize.1 dot.1 dot2gxl.1 dotty.1 gc.1 \
|
2003-08-12 00:04:01 +00:00
|
|
|
gpr.1 gxl2dot.1 gvpack.1 lefty.1 neato.1 nop.1 prune.1 \
|
|
|
|
sccmap.1 tred.1 twopi.1 unflatten.1
|
2002-11-12 09:14:16 +00:00
|
|
|
MAN3= agraph.3 cdt.3 expr.3 graph.3 pack.3 pathplan.3
|
2001-02-28 15:03:58 +00:00
|
|
|
MANN= gdtclft.n tcldgl.n tcldgr.n tcldot.n tkspline.n
|
|
|
|
|
|
|
|
PORTDOCS= dotguide.pdf dottyguide.pdf gd.html leftyguide.pdf \
|
2001-11-09 12:38:54 +00:00
|
|
|
neatoguide.pdf tcldot.html Dot.ref FAQ.html
|
1998-02-04 08:37:51 +00:00
|
|
|
|
2002-02-24 17:34:22 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if exists(${LOCALBASE}/include/iconv.h) || defined(WITH_ICONV)
|
2003-08-12 00:04:01 +00:00
|
|
|
LIB_DEPENDS+= iconv.3:${PORTSDIR}/converters/libiconv
|
|
|
|
CONFIGURE_ARGS+= --with-iconvlibdir=${LOCALBASE}/lib
|
2002-02-24 17:34:22 +00:00
|
|
|
.endif
|
|
|
|
|
2001-02-28 15:03:58 +00:00
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
2001-08-05 19:12:27 +00:00
|
|
|
@${MKDIR} ${DOCSDIR}
|
2001-12-24 10:37:45 +00:00
|
|
|
.for file in ${PORTDOCS}
|
2001-08-05 19:12:27 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/${file} ${DOCSDIR}
|
2001-02-28 15:03:58 +00:00
|
|
|
.endfor
|
|
|
|
.endif
|
|
|
|
|
2002-02-24 17:34:22 +00:00
|
|
|
.include <bsd.port.post.mk>
|