From ebb6dabb7a2ac70a1d991a4a482fdbdac503f543 Mon Sep 17 00:00:00 2001 From: Ying-Chieh Liao Date: Thu, 18 Apr 2002 14:42:22 +0000 Subject: upgrade to 1.8.5 take over maintainership PR: 37203 Submitted by: Hye-Shik Chang Requested by: Stephen C. North (author) --- graphics/graphviz/Makefile | 30 +++++++++++++++++------------- 1 file changed, 17 insertions(+), 13 deletions(-) (limited to 'graphics/graphviz/Makefile') diff --git a/graphics/graphviz/Makefile b/graphics/graphviz/Makefile index 406705f17341..5d1c06bd0149 100644 --- a/graphics/graphviz/Makefile +++ b/graphics/graphviz/Makefile @@ -6,13 +6,11 @@ # PORTNAME= graphviz -PORTVERSION= 1.7.7 -PORTREVISION= 3 +PORTVERSION= 1.8.5 CATEGORIES= graphics tk83 -MASTER_SITES= http://www.research.att.com/sw/tools/graphviz/dist/ -EXTRACT_SUFX= .tgz +MASTER_SITES= http://www.graphviz.org/pub/graphviz/ARCHIVE/ -MAINTAINER= ports@FreeBSD.org +MAINTAINER= perky@fallin.lv LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \ png.5:${PORTSDIR}/graphics/png \ @@ -27,12 +25,17 @@ USE_LIBTOOL= yes CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${LOCALBASE}/include/tcl8.3 -I${LOCALBASE}/include/tk8.3" \ LDFLAGS="-L${LOCALBASE}/lib" \ TCLCONFIG=${LOCALBASE}/lib/tcl8.3/tclConfig.sh \ - TKCONFIG=${LOCALBASE}/lib/tk8.3/tkConfig.sh + TKCONFIG=${LOCALBASE}/lib/tk8.3/tkConfig.sh \ + AUTOHEADER=${LOCALBASE}/bin/autoheader213 \ + AUTOCONF=${LOCALBASE}/bin/autoconf213 \ + AUTOMAKE=${LOCALBASE}/bin/automake14 \ + ACLOCAL=${LOCALBASE}/bin/aclocal14 INSTALLS_SHLIB= yes LDCONFIG_DIRS= ${PREFIX}/lib/graphviz 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 + 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 pathplan.3 MANN= gdtclft.n tcldgl.n tcldgr.n tcldot.n tkspline.n @@ -42,15 +45,16 @@ PORTDOCS= dotguide.pdf dottyguide.pdf gd.html leftyguide.pdf \ .include .if exists(${LOCALBASE}/include/iconv.h) || defined(WITH_ICONV) -LIB_DEPENDS+= iconv.3:${PORTSDIR}/converters/libiconv -CONFIGURE_ENV+= LIBS="-liconv" +LIB_DEPENDS+= iconv.3:${PORTSDIR}/converters/libiconv +CONFIGURE_ARGS= --with-iconvlibdir=${LOCALBASE}/lib .endif -post-extract: - @${RM} ${WRKSRC}/cdt/ast_common.h +post-patch: + @${INSTALL_SCRIPT} ${LOCALBASE}/bin/libtool ${WRKSRC} +.if ${OSVERSION} >= 500032 + @${PERL} -pi.orig -e 's|expr |expr -- |' ${WRKSRC}/libtool +.endif -#post-patch: -# @cd ${WRKSRC} && ${ACLOCAL} && ${AUTOHEADER} && libtoolize --force post-install: .if !defined(NOPORTDOCS) -- cgit v1.2.3