summaryrefslogtreecommitdiff
path: root/cad/oct-wcalc
diff options
context:
space:
mode:
authordmcmahill <dmcmahill@pkgsrc.org>2005-11-01 03:53:18 +0000
committerdmcmahill <dmcmahill@pkgsrc.org>2005-11-01 03:53:18 +0000
commit82979247a261787c15011265c655534e167bcd74 (patch)
tree22bab0ce850eb0167bb4f09878bcea7db9a9ce22 /cad/oct-wcalc
parent08d28847da21c93a156343bdd3876a175328b8b4 (diff)
downloadpkgsrc-82979247a261787c15011265c655534e167bcd74.tar.gz
import oct-wcalc-0.9
This is the Octave frontend for the Wcalc transmission line analysis/synthesis calculator.
Diffstat (limited to 'cad/oct-wcalc')
-rw-r--r--cad/oct-wcalc/DESCR2
-rw-r--r--cad/oct-wcalc/Makefile36
-rw-r--r--cad/oct-wcalc/PLIST15
3 files changed, 53 insertions, 0 deletions
diff --git a/cad/oct-wcalc/DESCR b/cad/oct-wcalc/DESCR
new file mode 100644
index 00000000000..624cd5df0f7
--- /dev/null
+++ b/cad/oct-wcalc/DESCR
@@ -0,0 +1,2 @@
+This is the Octave frontend for the Wcalc transmission
+line analysis/synthesis calculator.
diff --git a/cad/oct-wcalc/Makefile b/cad/oct-wcalc/Makefile
new file mode 100644
index 00000000000..d20949b6ed0
--- /dev/null
+++ b/cad/oct-wcalc/Makefile
@@ -0,0 +1,36 @@
+# $NetBSD: Makefile,v 1.1.1.1 2005/11/01 03:53:18 dmcmahill Exp $
+#
+
+.include "../../cad/wcalc/Makefile.common"
+PKGNAME= oct-${DISTNAME}
+
+COMMENT= Octave Based Transmission Line Analysis/Synthesis Calculator
+
+# Only enable the octave 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+= --with-octave
+CONFIGURE_ARGS+= --without-scilab
+
+# This mirrors what octave-current/octave-forge use.
+# The c++ code is from the mex wrappers created by
+# the octave-forge mex script, not any c++ code
+# explicitly present in wcalc. The fortran part
+# also comes from ocatve, not from wcalc.
+GCC_REQD= 3.0
+USE_LANGUAGES= c c++ fortran
+
+.include "../../math/octave/octave.mk"
+
+PLIST_SUBST+= OCT_LOCALVERFCNFILEDIR=${OCT_LOCALVERFCNFILEDIR:S/${LOCALBASE}\///}
+PLIST_SUBST+= OCT_LOCALVEROCTFILEDIR=${OCT_LOCALVEROCTFILEDIR:S/${LOCALBASE}\///}
+
+.include "../../cad/libwcalc/buildlink3.mk"
+.include "../../math/octave/buildlink3.mk"
+.include "../../math/octave-forge/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/cad/oct-wcalc/PLIST b/cad/oct-wcalc/PLIST
new file mode 100644
index 00000000000..1a3c5b77e26
--- /dev/null
+++ b/cad/oct-wcalc/PLIST
@@ -0,0 +1,15 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2005/11/01 03:53:18 dmcmahill Exp $
+${OCT_LOCALVEROCTFILEDIR}/${WCALC_DIR}/air_coil_calc.oct
+${OCT_LOCALVEROCTFILEDIR}/${WCALC_DIR}/air_coil_syn.oct
+${OCT_LOCALVEROCTFILEDIR}/${WCALC_DIR}/coax_calc.oct
+${OCT_LOCALVEROCTFILEDIR}/${WCALC_DIR}/coax_syn.oct
+${OCT_LOCALVEROCTFILEDIR}/${WCALC_DIR}/coupled_microstrip_calc.oct
+${OCT_LOCALVEROCTFILEDIR}/${WCALC_DIR}/coupled_microstrip_syn.oct
+${OCT_LOCALVEROCTFILEDIR}/${WCALC_DIR}/ic_microstrip_calc.oct
+${OCT_LOCALVEROCTFILEDIR}/${WCALC_DIR}/ic_microstrip_syn.oct
+${OCT_LOCALVEROCTFILEDIR}/${WCALC_DIR}/microstrip_calc.oct
+${OCT_LOCALVEROCTFILEDIR}/${WCALC_DIR}/microstrip_syn.oct
+${OCT_LOCALVEROCTFILEDIR}/${WCALC_DIR}/stripline_calc.oct
+${OCT_LOCALVEROCTFILEDIR}/${WCALC_DIR}/stripline_syn.oct
+@dirrm ${OCT_LOCALVERFCNFILEDIR}/${WCALC_DIR}
+@dirrm ${OCT_LOCALVEROCTFILEDIR}/${WCALC_DIR}