diff options
Diffstat (limited to 'cad/oct-wcalc')
-rw-r--r-- | cad/oct-wcalc/DESCR | 2 | ||||
-rw-r--r-- | cad/oct-wcalc/Makefile | 36 | ||||
-rw-r--r-- | cad/oct-wcalc/PLIST | 15 |
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} |