summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cad/sci-wcalc/DESCR2
-rw-r--r--cad/sci-wcalc/MESSAGE9
-rw-r--r--cad/sci-wcalc/Makefile25
-rw-r--r--cad/sci-wcalc/PLIST51
4 files changed, 87 insertions, 0 deletions
diff --git a/cad/sci-wcalc/DESCR b/cad/sci-wcalc/DESCR
new file mode 100644
index 00000000000..23fa8ed45cd
--- /dev/null
+++ b/cad/sci-wcalc/DESCR
@@ -0,0 +1,2 @@
+This is the Scilab frontend for the Wcalc transmission
+line analysis/synthesis calculator.
diff --git a/cad/sci-wcalc/MESSAGE b/cad/sci-wcalc/MESSAGE
new file mode 100644
index 00000000000..0dad51776b9
--- /dev/null
+++ b/cad/sci-wcalc/MESSAGE
@@ -0,0 +1,9 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1.1.1 2005/11/01 03:52:50 dmcmahill Exp $
+
+To use, you will need to add something like the following to your
+.scilab file in your home directory:
+
+ exec ${PREFIX}/libexec/scilab-${SCIVERSION}/${WCALC_DIR}/load_wcalc.sce;
+
+===========================================================================
diff --git a/cad/sci-wcalc/Makefile b/cad/sci-wcalc/Makefile
new file mode 100644
index 00000000000..a146b34db74
--- /dev/null
+++ b/cad/sci-wcalc/Makefile
@@ -0,0 +1,25 @@
+# $NetBSD: Makefile,v 1.1.1.1 2005/11/01 03:52:50 dmcmahill Exp $
+#
+
+.include "../../cad/wcalc/Makefile.common"
+PKGNAME= sci-${DISTNAME}
+
+COMMENT= Scilab Based Transmission Line Analysis/Synthesis Calculator
+
+# Only enable the scilab frontend
+CONFIGURE_ARGS+= --disable-cgi
+CONFIGURE_ARGS+= --disable-gtk1
+CONFIGURE_ARGS+= --disable-gtk2
+CONFIGURE_ARGS+= --disable-htdocs
+CONFIGURE_ARGS+= --disable-libwcalc
+CONFIGURE_ARGS+= --disable-stdio
+CONFIGURE_ARGS+= --without-matlab
+CONFIGURE_ARGS+= --without-octave
+CONFIGURE_ARGS+= --with-scilab=${SCI}
+
+PLIST_SUBST+= SCIVERSION=${SCIVERSION}
+MESSAGE_SUBST+= SCIVERSION=${SCIVERSION}
+
+.include "../../cad/libwcalc/buildlink3.mk"
+.include "../../math/scilab/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/cad/sci-wcalc/PLIST b/cad/sci-wcalc/PLIST
new file mode 100644
index 00000000000..fe06ca51c73
--- /dev/null
+++ b/cad/sci-wcalc/PLIST
@@ -0,0 +1,51 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2005/11/01 03:52:50 dmcmahill Exp $
+lib/scilab-${SCIVERSION}/${WCALC_DIR}/libsci_wcalc.la
+libexec/scilab-${SCIVERSION}/${WCALC_DIR}/load_wcalc.sce
+share/${WCALC_DIR}/sci-demos/air_coil_calc.dem
+share/${WCALC_DIR}/sci-demos/air_coil_syn.dem
+share/${WCALC_DIR}/sci-demos/wcalc-demo.dem
+share/${WCALC_DIR}/sci-man/air_coil_calc.cat
+share/${WCALC_DIR}/sci-man/air_coil_calc.htm
+share/${WCALC_DIR}/sci-man/air_coil_calc.man
+share/${WCALC_DIR}/sci-man/air_coil_syn.cat
+share/${WCALC_DIR}/sci-man/air_coil_syn.htm
+share/${WCALC_DIR}/sci-man/air_coil_syn.man
+share/${WCALC_DIR}/sci-man/coax_calc.cat
+share/${WCALC_DIR}/sci-man/coax_calc.htm
+share/${WCALC_DIR}/sci-man/coax_calc.man
+share/${WCALC_DIR}/sci-man/coax_syn.cat
+share/${WCALC_DIR}/sci-man/coax_syn.htm
+share/${WCALC_DIR}/sci-man/coax_syn.man
+share/${WCALC_DIR}/sci-man/coupled_microstrip_calc.cat
+share/${WCALC_DIR}/sci-man/coupled_microstrip_calc.htm
+share/${WCALC_DIR}/sci-man/coupled_microstrip_calc.man
+share/${WCALC_DIR}/sci-man/coupled_microstrip_syn.cat
+share/${WCALC_DIR}/sci-man/coupled_microstrip_syn.htm
+share/${WCALC_DIR}/sci-man/coupled_microstrip_syn.man
+share/${WCALC_DIR}/sci-man/ic_microstrip_calc.cat
+share/${WCALC_DIR}/sci-man/ic_microstrip_calc.htm
+share/${WCALC_DIR}/sci-man/ic_microstrip_calc.man
+share/${WCALC_DIR}/sci-man/ic_microstrip_syn.cat
+share/${WCALC_DIR}/sci-man/ic_microstrip_syn.htm
+share/${WCALC_DIR}/sci-man/ic_microstrip_syn.man
+share/${WCALC_DIR}/sci-man/microstrip_calc.cat
+share/${WCALC_DIR}/sci-man/microstrip_calc.htm
+share/${WCALC_DIR}/sci-man/microstrip_calc.man
+share/${WCALC_DIR}/sci-man/microstrip_syn.cat
+share/${WCALC_DIR}/sci-man/microstrip_syn.htm
+share/${WCALC_DIR}/sci-man/microstrip_syn.man
+share/${WCALC_DIR}/sci-man/stripline_calc.cat
+share/${WCALC_DIR}/sci-man/stripline_calc.htm
+share/${WCALC_DIR}/sci-man/stripline_calc.man
+share/${WCALC_DIR}/sci-man/stripline_syn.cat
+share/${WCALC_DIR}/sci-man/stripline_syn.htm
+share/${WCALC_DIR}/sci-man/stripline_syn.man
+share/${WCALC_DIR}/sci-man/whatis
+share/${WCALC_DIR}/sci-man/whatis.htm
+@dirrm share/${WCALC_DIR}/sci-man
+@dirrm share/${WCALC_DIR}/sci-demos
+@unexec ${RMDIR} %D/share/${WCALC_DIR} 2>/dev/null || ${TRUE}
+@dirrm libexec/scilab-${SCIVERSION}/${WCALC_DIR}
+@unexec ${RMDIR} %D/libexec/scilab-${SCIVERSION} 2>/dev/null || ${TRUE}
+@dirrm lib/scilab-${SCIVERSION}/${WCALC_DIR}
+@unexec ${RMDIR} %D/lib/scilab-${SCIVERSION} 2>/dev/null || ${TRUE}