aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--devel/e4graph/Makefile14
-rw-r--r--devel/e4graph/distinfo2
-rw-r--r--devel/e4graph/pkg-plist4
3 files changed, 16 insertions, 4 deletions
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 <bsd.port.mk>
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