aboutsummaryrefslogtreecommitdiff
path: root/cad/gerbv
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2004-12-31 13:17:30 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2004-12-31 13:17:30 +0000
commit7c91e0c9f5d42c6759586ee97d7bdc240f5a5067 (patch)
tree7a0d2383c45df4ffd4b9db11dc4a99c166e3dc0c /cad/gerbv
parentf4ac833f705ab9a69bfc2a755723283f23de67a2 (diff)
downloadports-7c91e0c9f5d42c6759586ee97d7bdc240f5a5067.tar.gz
ports-7c91e0c9f5d42c6759586ee97d7bdc240f5a5067.zip
Notes
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 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