ports/56634: Update port: devel/e4graph to 1.0a9

KATO Tsuguru tkato at prontomail.com
Tue Sep 9 15:00:38 UTC 2003


>Number:         56634
>Category:       ports
>Synopsis:       Update port: devel/e4graph to 1.0a9
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Sep 09 08:00:30 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.8-RELEASE-p3 i386
>Organization:
>Environment:
>Description:
- Update to version 1.0a9

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/devel/e4graph/Makefile devel/e4graph/Makefile
--- /usr/ports/devel/e4graph/Makefile	Sun Aug 31 23:10:54 2003
+++ devel/e4graph/Makefile	Mon Sep  8 20:12:34 2003
@@ -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 @@
 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 -urN /usr/ports/devel/e4graph/distinfo devel/e4graph/distinfo
--- /usr/ports/devel/e4graph/distinfo	Thu Aug  7 21:17:31 2003
+++ devel/e4graph/distinfo	Mon Sep  8 19:47:40 2003
@@ -1 +1 @@
-MD5 (e4graph-1.0a8.src.tar.gz) = 18a7b10d482fd405fbdef2bd39b29b5d
+MD5 (e4graph-1.0a9.src.tar.gz) = dfcd9a5c02aa435dd47f3d9f14593064
diff -urN /usr/ports/devel/e4graph/pkg-plist devel/e4graph/pkg-plist
--- /usr/ports/devel/e4graph/pkg-plist	Sun Aug 31 23:10:54 2003
+++ devel/e4graph/pkg-plist	Mon Sep  8 20:14:57 2003
@@ -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 @@
 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
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list