aboutsummaryrefslogtreecommitdiff
path: root/cad
diff options
context:
space:
mode:
Diffstat (limited to 'cad')
-rw-r--r--cad/gerbv/Makefile15
-rw-r--r--cad/gerbv/distinfo4
-rw-r--r--cad/gerbv/pkg-plist4
3 files changed, 11 insertions, 12 deletions
diff --git a/cad/gerbv/Makefile b/cad/gerbv/Makefile
index f043d122f89b..57024d621119 100644
--- a/cad/gerbv/Makefile
+++ b/cad/gerbv/Makefile
@@ -7,8 +7,7 @@
#
PORTNAME= gerbv
-PORTVERSION= 0.15
-PORTREVISION= 1
+PORTVERSION= 0.16
CATEGORIES= cad
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -16,28 +15,24 @@ MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
COMMENT= A Free Gerber Viewer
-USE_GNOME= gdkpixbuf gnometarget
-USE_REINPLACE= yes
+USE_GNOME= gnometarget gtk20
USE_GETOPT_LONG= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
-CONFIGURE_ARGS= --enable-exportpng
+CONFIGURE_ARGS= --enable-gtk2
MAN1= gerbv.1
CPPFLAGS= -I${LOCALBASE}/include
LDFLAGS= -L${LOCALBASE}/lib
-post-patch:
- @${REINPLACE_CMD} -e "s|malloc.h|stdlib.h|g" ${WRKSRC}/src/amacro.c
-
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
- cd ${WRKSRC}/doc && ${FIND} . | \
+ cd ${WRKSRC}/doc && ${FIND} . ! -name "*Makefile*" | \
${CPIO} -pdm -L -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR}
@${MKDIR} ${EXAMPLESDIR}
- cd ${WRKSRC}/example && ${FIND} . | \
+ cd ${WRKSRC}/example && ${FIND} . ! -name "*Makefile*" | \
${CPIO} -pdm -L -R ${SHAREOWN}:${SHAREGRP} ${EXAMPLESDIR}
.endif
diff --git a/cad/gerbv/distinfo b/cad/gerbv/distinfo
index d493e7319c87..b1f4696dbe8e 100644
--- a/cad/gerbv/distinfo
+++ b/cad/gerbv/distinfo
@@ -1,2 +1,2 @@
-MD5 (gerbv-0.15.tar.gz) = 6b874e7bbf44cb22465442e1aa92c751
-SIZE (gerbv-0.15.tar.gz) = 1021073
+MD5 (gerbv-0.16.tar.gz) = d7b375137cbfc8f1c1fef04493fd4a61
+SIZE (gerbv-0.16.tar.gz) = 1032058
diff --git a/cad/gerbv/pkg-plist b/cad/gerbv/pkg-plist
index 8e59d3d6ab3c..f5fde823831f 100644
--- a/cad/gerbv/pkg-plist
+++ b/cad/gerbv/pkg-plist
@@ -5,6 +5,7 @@ bin/gerbv
%%PORTDOCS%%%%DOCSDIR%%/eagle/eagle2exc.txt
%%PORTDOCS%%%%DOCSDIR%%/aperturemacro.txt
%%PORTDOCS%%%%DOCSDIR%%/image2pixmap.fig
+%%PORTDOCS%%%%DOCSDIR%%/projectfiles.txt
%%PORTDOCS%%%%DOCSDIR%%/sources.txt
%%PORTDOCS%%%%EXAMPLESDIR%%/Mentor-BoardStation/README.txt
%%PORTDOCS%%%%EXAMPLESDIR%%/Mentor-BoardStation/artwork_1.grb
@@ -64,6 +65,9 @@ bin/gerbv
%%PORTDOCS%%%%EXAMPLESDIR%%/orcad/rs232_cm.sst
%%PORTDOCS%%%%EXAMPLESDIR%%/orcad/rs232_cm.top
%%PORTDOCS%%%%EXAMPLESDIR%%/orcad/thruhole.tap
+%%DATADIR%%/scheme/init.scm
+@dirrm %%DATADIR%%/scheme
+@dirrm %%DATADIR%%
%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/orcad
%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/numpres
%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/nollezappare