summaryrefslogtreecommitdiff
path: root/cad
diff options
context:
space:
mode:
Diffstat (limited to 'cad')
-rw-r--r--cad/gtk2-wcalc/DESCR2
-rw-r--r--cad/gtk2-wcalc/Makefile24
-rw-r--r--cad/gtk2-wcalc/PLIST10
3 files changed, 36 insertions, 0 deletions
diff --git a/cad/gtk2-wcalc/DESCR b/cad/gtk2-wcalc/DESCR
new file mode 100644
index 00000000000..7f15be72256
--- /dev/null
+++ b/cad/gtk2-wcalc/DESCR
@@ -0,0 +1,2 @@
+This is the gtk2 based frontend for the Wcalc transmission
+line analysis/synthesis calculator.
diff --git a/cad/gtk2-wcalc/Makefile b/cad/gtk2-wcalc/Makefile
new file mode 100644
index 00000000000..de622a9eea1
--- /dev/null
+++ b/cad/gtk2-wcalc/Makefile
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1.1.1 2005/11/01 03:51:13 dmcmahill Exp $
+#
+
+.include "../../cad/wcalc/Makefile.common"
+PKGNAME= gtk2-${DISTNAME}
+
+COMMENT= GTK2 Based Transmission Line Analysis/Synthesis Calculator
+
+CONFLICTS+= gtk1-wcalc-*
+
+# Only enable the gtk frontend
+CONFIGURE_ARGS+= --disable-cgi
+CONFIGURE_ARGS+= --disable-gtk1
+CONFIGURE_ARGS+= --enable-gtk2
+CONFIGURE_ARGS+= --disable-htdocs
+CONFIGURE_ARGS+= --disable-libwcalc
+CONFIGURE_ARGS+= --disable-stdio
+CONFIGURE_ARGS+= --without-matlab
+CONFIGURE_ARGS+= --without-octave
+CONFIGURE_ARGS+= --without-scilab
+
+.include "../../cad/libwcalc/buildlink3.mk"
+.include "../../x11/gtk2/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/cad/gtk2-wcalc/PLIST b/cad/gtk2-wcalc/PLIST
new file mode 100644
index 00000000000..e8f88e3e5c5
--- /dev/null
+++ b/cad/gtk2-wcalc/PLIST
@@ -0,0 +1,10 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2005/11/01 03:51:12 dmcmahill Exp $
+bin/wcalc
+man/man1/wcalc.1
+share/${WCALC_DIR}/air_coil.wc
+share/${WCALC_DIR}/coax.wc
+share/${WCALC_DIR}/coupled_microstrip.wc
+share/${WCALC_DIR}/ic_microstrip.wc
+share/${WCALC_DIR}/microstrip.wc
+share/${WCALC_DIR}/stripline.wc
+@unexec ${RMDIR} %D/share/${WCALC_DIR} 2>/dev/null || ${TRUE}