aboutsummaryrefslogtreecommitdiffstats
path: root/cad
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2004-12-31 21:17:30 +0800
committerkrion <krion@FreeBSD.org>2004-12-31 21:17:30 +0800
commitabb63e95584635d73c0454db3fd6bc1e79de5d4e (patch)
treeea57b015b942f7b9a4a4082402ce33d133731cd9 /cad
parent17f931a0fedd0f4093204fa8400305f353983368 (diff)
downloadfreebsd-ports-gnome-abb63e95584635d73c0454db3fd6bc1e79de5d4e.tar.gz
freebsd-ports-gnome-abb63e95584635d73c0454db3fd6bc1e79de5d4e.tar.zst
freebsd-ports-gnome-abb63e95584635d73c0454db3fd6bc1e79de5d4e.zip
Update to version 1.0.0
PR: ports/75688 Submitted by: Ports Fury
Diffstat (limited to 'cad')
-rw-r--r--cad/gerbv/Makefile11
-rw-r--r--cad/gerbv/distinfo4
2 files changed, 10 insertions, 5 deletions
diff --git a/cad/gerbv/Makefile b/cad/gerbv/Makefile
index 54cdd41b98fd..6c06b23873e5 100644
--- a/cad/gerbv/Makefile
+++ b/cad/gerbv/Makefile
@@ -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,15 +17,21 @@ COMMENT= A Free Gerber Viewer
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)
@${MKDIR} ${DOCSDIR}
diff --git a/cad/gerbv/distinfo b/cad/gerbv/distinfo
index b1f4696dbe8e..634e4a117ec7 100644
--- a/cad/gerbv/distinfo
+++ b/cad/gerbv/distinfo
@@ -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