diff options
Diffstat (limited to 'cad/gerbv')
-rw-r--r-- | cad/gerbv/Makefile | 11 | ||||
-rw-r--r-- | cad/gerbv/distinfo | 4 |
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 |