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