ports/75688: Update port: cad/gerbv to 1.0.0
KATO Tsuguru
tkato432 at yahoo.com
Fri Dec 31 12:00:44 UTC 2004
>Number: 75688
>Category: ports
>Synopsis: Update port: cad/gerbv to 1.0.0
>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: Fri Dec 31 12:00:43 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator: KATO Tsuguru
>Release: FreeBSD 4.10-RELEASE-p5 i386
>Organization:
>Environment:
>Description:
- Update to version 1.0.0
>How-To-Repeat:
>Fix:
diff -urN /usr/ports/cad/gerbv/Makefile cad/gerbv/Makefile
--- /usr/ports/cad/gerbv/Makefile Mon Nov 8 14:05:14 2004
+++ cad/gerbv/Makefile Thu Dec 30 19:40:54 2004
@@ -7,8 +7,7 @@
#
PORTNAME= gerbv
-PORTVERSION= 0.16
-PORTREVISION= 1
+PORTVERSION= 1.0.0
CATEGORIES= cad
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -18,14 +17,20 @@
USE_GNOME= gnometarget gtk20
USE_GETOPT_LONG= yes
+USE_REINPLACE= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
CONFIGURE_ARGS= --enable-gtk2
-MAN1= gerbv.1
+MAN1= gerbv.1
CPPFLAGS= -I${LOCALBASE}/include
LDFLAGS= -L${LOCALBASE}/lib
+
+post-patch:
+ @${FIND} ${WRKSRC} -name "configure" | ${XARGS} ${REINPLACE_CMD} -e \
+ 's|libpng-config --cflags|pkg-config --cflags libpng12|g ; \
+ s|libpng-config --libs|pkg-config --libs libpng12|g'
post-install:
.if !defined(NOPORTDOCS)
diff -urN /usr/ports/cad/gerbv/distinfo cad/gerbv/distinfo
--- /usr/ports/cad/gerbv/distinfo Mon Jun 28 22:56:50 2004
+++ cad/gerbv/distinfo Thu Dec 30 19:34:57 2004
@@ -1,2 +1,2 @@
-MD5 (gerbv-0.16.tar.gz) = d7b375137cbfc8f1c1fef04493fd4a61
-SIZE (gerbv-0.16.tar.gz) = 1032058
+MD5 (gerbv-1.0.0.tar.gz) = 20a9e90c7045e7590a462cd9ef76f408
+SIZE (gerbv-1.0.0.tar.gz) = 1033785
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list