summaryrefslogtreecommitdiffstats
path: root/cad/gerbv
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2004-12-31 13:17:30 +0000
committerkrion <krion@FreeBSD.org>2004-12-31 13:17:30 +0000
commitabb63e95584635d73c0454db3fd6bc1e79de5d4e (patch)
treeea57b015b942f7b9a4a4082402ce33d133731cd9 /cad/gerbv
parent17f931a0fedd0f4093204fa8400305f353983368 (diff)
downloadFreeBSD-ports-abb63e95584635d73c0454db3fd6bc1e79de5d4e.zip
FreeBSD-ports-abb63e95584635d73c0454db3fd6bc1e79de5d4e.tar.gz
Update to version 1.0.0
PR: ports/75688 Submitted by: Ports Fury
Diffstat (limited to 'cad/gerbv')
-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 54cdd41..6c06b23 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 b1f4696..634e4a1 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
OpenPOWER on IntegriCloud