From 402646769184222ad8011c9aa2e18c8e20a81803 Mon Sep 17 00:00:00 2001 From: krion Date: Wed, 24 Sep 2003 13:59:39 +0000 Subject: - Update to version 1.0a9 PR: 56634 Submitted by: Ports Fury --- devel/e4graph/Makefile | 14 +++++++++++--- devel/e4graph/distinfo | 2 +- devel/e4graph/pkg-plist | 4 ++++ 3 files changed, 16 insertions(+), 4 deletions(-) (limited to 'devel') diff --git a/devel/e4graph/Makefile b/devel/e4graph/Makefile index 9b988a413d47..3b5da4e2fe80 100644 --- a/devel/e4graph/Makefile +++ b/devel/e4graph/Makefile @@ -7,8 +7,7 @@ # PORTNAME= e4graph -PORTVERSION= 1.0a8 -PORTREVISION= 1 +PORTVERSION= 1.0a9 CATEGORIES= devel tcl84 MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -35,10 +34,19 @@ MAKEFILE= makefile INSTALLS_SHLIB= yes PLIST_SUB= TCL_VER="${TCL_VER}" +.if defined(WITH_PYTHON) +USE_PYTHON= yes +CONFIGURE_ARGS+= --enable-python +PLIST_SUB+= PYTHON="" +.else +PLIST_SUB+= PYTHON="@comment " +.endif + TCL_VER?= 8.4 TCLVND= ${TCL_VER:S/.//} post-patch: - @${REINPLACE_CMD} -e 's|=-O$$|="$${CFLAGS}"|g' ${WRKSRC}/configure + @${REINPLACE_CMD} -e 's|=-O$$|="$${CFLAGS}"|g ; \ + s|gcc -shared|$$(CC) -shared|g' ${WRKSRC}/configure .include diff --git a/devel/e4graph/distinfo b/devel/e4graph/distinfo index c80f609ec67e..8672e9fd69f2 100644 --- a/devel/e4graph/distinfo +++ b/devel/e4graph/distinfo @@ -1 +1 @@ -MD5 (e4graph-1.0a8.src.tar.gz) = 18a7b10d482fd405fbdef2bd39b29b5d +MD5 (e4graph-1.0a9.src.tar.gz) = dfcd9a5c02aa435dd47f3d9f14593064 diff --git a/devel/e4graph/pkg-plist b/devel/e4graph/pkg-plist index ae38bf37d7bf..3cd52c6655b1 100644 --- a/devel/e4graph/pkg-plist +++ b/devel/e4graph/pkg-plist @@ -1,5 +1,6 @@ bin/testcore include/e4graph.h +%%PYTHON%%include/e4py.h include/e4xml.h include/t4graph.h include/t4graph_c.h @@ -7,6 +8,9 @@ include/t4xml_c.h lib/libe4graph.so lib/libe4graph.so.0 lib/libe4graph.so.0.0.0 +%%PYTHON%%lib/libe4py.so +%%PYTHON%%lib/libe4py.so.0 +%%PYTHON%%lib/libe4py.so.0.0.0 lib/libe4xml.so lib/libe4xml.so.0 lib/libe4xml.so.0.0.0 -- cgit