1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-27 21:29:02 +00:00
freebsd-ports/graphics/graphviz/Makefile

60 lines
1.6 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: graphviz
# Date created: 03 Feb 1998
# Whom: Thomas Gellekum <tg@FreeBSD.org>
#
1999-08-25 06:16:32 +00:00
# $FreeBSD$
#
PORTNAME= graphviz
PORTVERSION= 1.7.6
2000-10-23 12:37:30 +00:00
CATEGORIES= graphics tk83
MASTER_SITES= http://www.research.att.com/sw/tools/graphviz/dist/
DISTNAME= gviz${PORTVERSION:S/.//g}
EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
2000-10-23 12:37:30 +00:00
LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
png.4:${PORTSDIR}/graphics/png \
2001-08-06 11:43:59 +00:00
freetype.7:${PORTSDIR}/print/freetype2 \
tk83.1:${PORTSDIR}/x11-toolkits/tk83
2000-10-23 12:37:30 +00:00
WRKSRC= ${WRKDIR}/gv${PORTVERSION}
USE_XPM= yes
USE_GMAKE= yes
USE_AUTOMAKE= yes
AUTOMAKE_ARGS= --add-missing
2000-10-23 12:37:30 +00:00
USE_LIBTOOL= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${LOCALBASE}/include/tcl8.3 -I${LOCALBASE}/include/tk8.3" \
LDFLAGS="-L${LOCALBASE}/lib" \
2000-10-23 12:37:30 +00:00
TCLCONFIG=${LOCALBASE}/lib/tcl8.3/tclConfig.sh \
TKCONFIG=${LOCALBASE}/lib/tk8.3/tkConfig.sh
INSTALLS_SHLIB= yes
LDCONFIG_DIRS= ${PREFIX}/lib/graphviz
2000-10-23 12:37:30 +00:00
MAN1= acyclic.1 ccomps.1 colorize.1 dot.1 dotty.1 gc.1 gpr.1 \
lefty.1 neato.1 nop.1 sccmap.1 tred.1 unflatten.1
MAN3= agraph.3 cdt.3 expr.3 graph.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
post-patch:
@cd ${WRKSRC} && aclocal && autoheader && libtoolize --force
pre-build:
@cd ${WRKSRC}/cdt && ./iffe - set cc ${CC} ${CFLAGS} : run \
features/common > ast_common.h
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for file in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/doc/${file} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.mk>