aboutsummaryrefslogtreecommitdiffstats
path: root/cad
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2002-07-16 04:00:33 +0800
committerijliao <ijliao@FreeBSD.org>2002-07-16 04:00:33 +0800
commit756fb68e9efb685048c346294ea55b08fd701bf8 (patch)
tree934a8792020bf8384b75651829191f06cfa1bc84 /cad
parentd0094042e5037a38399f2846356bcd5aaa3ee9b9 (diff)
downloadfreebsd-ports-gnome-756fb68e9efb685048c346294ea55b08fd701bf8.tar.gz
freebsd-ports-gnome-756fb68e9efb685048c346294ea55b08fd701bf8.tar.zst
freebsd-ports-gnome-756fb68e9efb685048c346294ea55b08fd701bf8.zip
add gerbv 0.0.9
A Free Gerber Viewer
Diffstat (limited to 'cad')
-rw-r--r--cad/Makefile1
-rw-r--r--cad/gerbv/Makefile40
-rw-r--r--cad/gerbv/distinfo1
-rw-r--r--cad/gerbv/pkg-comment1
-rw-r--r--cad/gerbv/pkg-descr19
-rw-r--r--cad/gerbv/pkg-plist75
6 files changed, 137 insertions, 0 deletions
diff --git a/cad/Makefile b/cad/Makefile
index dbde445a0b5b..bfbf9f4672e4 100644
--- a/cad/Makefile
+++ b/cad/Makefile
@@ -7,6 +7,7 @@
SUBDIR += felt
SUBDIR += geda
SUBDIR += geda-symbols
+ SUBDIR += gerbv
SUBDIR += gnetlist
SUBDIR += gnucap
SUBDIR += gschem
diff --git a/cad/gerbv/Makefile b/cad/gerbv/Makefile
new file mode 100644
index 000000000000..0db09da1ba3e
--- /dev/null
+++ b/cad/gerbv/Makefile
@@ -0,0 +1,40 @@
+# ex:ts=8
+# Ports collection makefile for: gerbv
+# Date created: Jul 16, 2002
+# Whom: ijliao
+#
+# $FreeBSD$
+#
+
+PORTNAME= gerbv
+PORTVERSION= 0.0.9
+CATEGORIES= cad
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+
+MAINTAINER= ports@FreeBSD.org
+
+LIB_DEPENDS= gdk_pixbuf:${PORTSDIR}/graphics/gdk-pixbuf \
+ png:${PORTSDIR}/graphics/png \
+ gnugetopt:${PORTSDIR}/devel/libgnugetopt
+
+USE_REINPLACE= yes
+USE_GTK= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ENV= CPPFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib -lgnugetopt"
+
+MAN1= gerbv.1
+
+post-patch:
+ @${REINPLACE_CMD} -e "s|malloc.h|stdlib.h|g" ${WRKSRC}/src/amacro.c
+
+.if !defined(NOPORTDOCS)
+post-install:
+ @${MKDIR} ${DOCSDIR}
+ ${CP} -R ${WRKSRC}/doc/* ${DOCSDIR}
+ @${MKDIR} ${EXAMPLESDIR}
+ ${CP} -R ${WRKSRC}/example/* ${EXAMPLESDIR}
+.endif
+
+.include <bsd.port.mk>
diff --git a/cad/gerbv/distinfo b/cad/gerbv/distinfo
new file mode 100644
index 000000000000..539984071483
--- /dev/null
+++ b/cad/gerbv/distinfo
@@ -0,0 +1 @@
+MD5 (gerbv-0.0.9.tar.gz) = 03e12f685f9b2d66158cda6c51cbe3e8
diff --git a/cad/gerbv/pkg-comment b/cad/gerbv/pkg-comment
new file mode 100644
index 000000000000..a16091f31533
--- /dev/null
+++ b/cad/gerbv/pkg-comment
@@ -0,0 +1 @@
+A Free Gerber Viewer
diff --git a/cad/gerbv/pkg-descr b/cad/gerbv/pkg-descr
new file mode 100644
index 000000000000..6eefd005d4c9
--- /dev/null
+++ b/cad/gerbv/pkg-descr
@@ -0,0 +1,19 @@
+Gerber Viewer (gerbv) is a viewer for Gerber files. Gerber files are
+generated from PCB CAD system and sent to PCB manufacturers as basis
+for the manufacturing process. The standard supported by gerbv is
+RS-274X. The basic difference between RS-274D (the old standard) and
+RS-274X is basically the addition of apertures in RS-274X. It might be
+possible to make an RS-274X file out of an RS-274D file and an aperture
+list.
+
+gerbv also supports drill files. The format supported are known under
+names as NC-drill or Excellon. The format is a bit undefined and different
+EDA-vendors implement it different. But basically you need to have the
+tools definition in the file, then the parser is quite tolerant. The
+different holes are shown as dots in the (scaled) correct size.
+
+The different layers of the PCB are separated into different files. gerbv
+can load all files at the same time and display them "on top of each
+other". You can independently turn them on and off.
+
+WWW: http://gerbv.sourceforge.net/
diff --git a/cad/gerbv/pkg-plist b/cad/gerbv/pkg-plist
new file mode 100644
index 000000000000..b01ace2f89fd
--- /dev/null
+++ b/cad/gerbv/pkg-plist
@@ -0,0 +1,75 @@
+bin/gerbv
+share/gerbv/scheme/gerb-debug.scm
+share/gerbv/scheme/gerb-ps.scm
+@dirrm share/gerbv/scheme
+@dirrm share/gerbv
+%%PORTDOCS%%share/doc/gerbv/aperturemacro.txt
+%%PORTDOCS%%share/doc/gerbv/sources.txt
+%%PORTDOCS%%@dirrm share/doc/gerbv
+%%PORTDOCS%%share/examples/gerbv/Mentor-BoardStation/README.txt
+%%PORTDOCS%%share/examples/gerbv/Mentor-BoardStation/artwork_1.grb
+%%PORTDOCS%%share/examples/gerbv/am-test/am-test.gbx
+%%PORTDOCS%%share/examples/gerbv/cslk/README.txt
+%%PORTDOCS%%share/examples/gerbv/cslk/cslk.gbx
+%%PORTDOCS%%share/examples/gerbv/cslk/cslk.ps
+%%PORTDOCS%%share/examples/gerbv/dan/README.txt
+%%PORTDOCS%%share/examples/gerbv/dan/top.gbx
+%%PORTDOCS%%share/examples/gerbv/eaglecad1/top-cop.gbx
+%%PORTDOCS%%share/examples/gerbv/eaglecad1/top-cop.pdf
+%%PORTDOCS%%share/examples/gerbv/ekf/ekf_08.apt
+%%PORTDOCS%%share/examples/gerbv/ekf/README
+%%PORTDOCS%%share/examples/gerbv/ekf/ekf.gap
+%%PORTDOCS%%share/examples/gerbv/ekf/l1.off
+%%PORTDOCS%%share/examples/gerbv/ekf2/README.txt
+%%PORTDOCS%%share/examples/gerbv/ekf2/d1.grb
+%%PORTDOCS%%share/examples/gerbv/ekf2/drill0.exc
+%%PORTDOCS%%share/examples/gerbv/ekf2/drill1.exc
+%%PORTDOCS%%share/examples/gerbv/ekf2/drill20.exc
+%%PORTDOCS%%share/examples/gerbv/ekf2/drill30.exc
+%%PORTDOCS%%share/examples/gerbv/ekf2/gnd.grb
+%%PORTDOCS%%share/examples/gerbv/ekf2/l0.grb
+%%PORTDOCS%%share/examples/gerbv/ekf2/l1.grb
+%%PORTDOCS%%share/examples/gerbv/ekf2/l2.grb
+%%PORTDOCS%%share/examples/gerbv/ekf2/l3.grb
+%%PORTDOCS%%share/examples/gerbv/ekf2/l4.grb
+%%PORTDOCS%%share/examples/gerbv/ekf2/l5.grb
+%%PORTDOCS%%share/examples/gerbv/ekf2/pow.grb
+%%PORTDOCS%%share/examples/gerbv/ekf2/pow3.grb
+%%PORTDOCS%%share/examples/gerbv/ekf2/resplan.grb
+%%PORTDOCS%%share/examples/gerbv/ekf2/sieb0.grb
+%%PORTDOCS%%share/examples/gerbv/ekf2/sieb1.grb
+%%PORTDOCS%%share/examples/gerbv/ekf2/stp0.grb
+%%PORTDOCS%%share/examples/gerbv/ekf2/stp1.grb
+%%PORTDOCS%%share/examples/gerbv/nollezappare/AssemblyTop.gdo
+%%PORTDOCS%%share/examples/gerbv/nollezappare/EtchLayer2Bottom.gdo
+%%PORTDOCS%%share/examples/gerbv/nollezappare/ThruHolePlated.ncd
+%%PORTDOCS%%share/examples/gerbv/numpres/numpres.pcb
+%%PORTDOCS%%share/examples/gerbv/numpres/numpres.pcb.output_componentmask.grb
+%%PORTDOCS%%share/examples/gerbv/numpres/numpres.pcb.output_componentsilk.grb
+%%PORTDOCS%%share/examples/gerbv/numpres/numpres.pcb.output_group1.grb
+%%PORTDOCS%%share/examples/gerbv/numpres/numpres.pcb.output_group2.grb
+%%PORTDOCS%%share/examples/gerbv/numpres/numpres.pcb.output_plated-drill.grb
+%%PORTDOCS%%share/examples/gerbv/numpres/numpres.pcb.output_soldermask.grb
+%%PORTDOCS%%share/examples/gerbv/numpres/numpres.pcb.output_unplated-drill.grb
+%%PORTDOCS%%share/examples/gerbv/orcad/README.txt
+%%PORTDOCS%%share/examples/gerbv/orcad/ast.ps
+%%PORTDOCS%%share/examples/gerbv/orcad/rs232_cm.asb
+%%PORTDOCS%%share/examples/gerbv/orcad/rs232_cm.ast
+%%PORTDOCS%%share/examples/gerbv/orcad/rs232_cm.bot
+%%PORTDOCS%%share/examples/gerbv/orcad/rs232_cm.drd
+%%PORTDOCS%%share/examples/gerbv/orcad/rs232_cm.smb
+%%PORTDOCS%%share/examples/gerbv/orcad/rs232_cm.smt
+%%PORTDOCS%%share/examples/gerbv/orcad/rs232_cm.ssb
+%%PORTDOCS%%share/examples/gerbv/orcad/rs232_cm.sst
+%%PORTDOCS%%share/examples/gerbv/orcad/rs232_cm.top
+%%PORTDOCS%%share/examples/gerbv/orcad/thruhole.tap
+%%PORTDOCS%%@dirrm share/examples/gerbv/Mentor-BoardStation
+%%PORTDOCS%%@dirrm share/examples/gerbv/am-test
+%%PORTDOCS%%@dirrm share/examples/gerbv/cslk
+%%PORTDOCS%%@dirrm share/examples/gerbv/dan
+%%PORTDOCS%%@dirrm share/examples/gerbv/eaglecad1
+%%PORTDOCS%%@dirrm share/examples/gerbv/ekf
+%%PORTDOCS%%@dirrm share/examples/gerbv/ekf2
+%%PORTDOCS%%@dirrm share/examples/gerbv/nollezappare
+%%PORTDOCS%%@dirrm share/examples/gerbv/numpres
+%%PORTDOCS%%@dirrm share/examples/gerbv/orcad