1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-22 20:41:26 +00:00
freebsd-ports/graphics/graphviz/Makefile
Hye-Shik Chang 62ad8a57dd - Update to 1.10
- Ensure not to add target prefix to program name [1]
- Fix URL to license [2]

PR:		55460 [2]
Submitted by:	Chris Larsen <darth@vader.dk> [1],
		Ceri Davies <ceri@FreeBSD.org> [2]
2003-08-12 00:04:01 +00:00

64 lines
1.9 KiB
Makefile

# New ports collection makefile for: graphviz
# Date created: 03 Feb 1998
# Whom: Thomas Gellekum <tg@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= graphviz
PORTVERSION= 1.10
CATEGORIES= graphics tk84
MASTER_SITES= http://www.graphviz.org/pub/graphviz/ARCHIVE/
MAINTAINER= perky@FreeBSD.org
COMMENT= Graph Visualization Software from AT&T and Bell Labs
LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
png.5:${PORTSDIR}/graphics/png \
freetype.9:${PORTSDIR}/print/freetype2 \
tk84.1:${PORTSDIR}/x11-toolkits/tk84
USE_XPM= yes
USE_GMAKE= yes
USE_AUTOMAKE= yes
AUTOMAKE_ARGS= --add-missing
USE_LIBTOOL= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${LOCALBASE}/include/tcl8.4 -I${LOCALBASE}/include/tk8.4" \
LDFLAGS="-L${LOCALBASE}/lib" \
TCLCONFIG=${LOCALBASE}/lib/tcl8.4/tclConfig.sh \
TKCONFIG=${LOCALBASE}/lib/tk8.4/tkConfig.sh \
AUTOHEADER=${LOCALBASE}/bin/autoheader213 \
AUTOCONF=${LOCALBASE}/bin/autoconf213 \
AUTOMAKE=${LOCALBASE}/bin/automake14 \
ACLOCAL=${LOCALBASE}/bin/aclocal14
CONFIGURE_ARGS= --program-transform-name="s/x/x/"
INSTALLS_SHLIB= yes
LDCONFIG_DIRS= ${PREFIX}/lib/graphviz
MAKE_ENV= EXPR_COMPAT=yes
MAN1= acyclic.1 ccomps.1 colorize.1 dot.1 dot2gxl.1 dotty.1 gc.1 \
gpr.1 gxl2dot.1 gvpack.1 lefty.1 neato.1 nop.1 prune.1 \
sccmap.1 tred.1 twopi.1 unflatten.1
MAN3= agraph.3 cdt.3 expr.3 graph.3 pack.3 pathplan.3
MANN= gdtclft.n tcldgl.n tcldgr.n tcldot.n tkspline.n
PORTDOCS= dotguide.pdf dottyguide.pdf gd.html leftyguide.pdf \
neatoguide.pdf tcldot.html Dot.ref FAQ.html
.include <bsd.port.pre.mk>
.if exists(${LOCALBASE}/include/iconv.h) || defined(WITH_ICONV)
LIB_DEPENDS+= iconv.3:${PORTSDIR}/converters/libiconv
CONFIGURE_ARGS+= --with-iconvlibdir=${LOCALBASE}/lib
.endif
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for file in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/doc/${file} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.post.mk>