pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/cad/mex-wcalc import mex-wcalc-0.9



details:   https://anonhg.NetBSD.org/pkgsrc/rev/fbc4b7158535
branches:  trunk
changeset: 501979:fbc4b7158535
user:      dmcmahill <dmcmahill%pkgsrc.org@localhost>
date:      Tue Nov 01 03:55:38 2005 +0000

description:
import mex-wcalc-0.9

This is the Matlab frontend for the Wcalc transmission
line analysis/synthesis calculator.  You will need a working
matlab installed on your system.  In addition, currently
only a native (non-emulation) matlab is supported.

diffstat:

 cad/mex-wcalc/DESCR    |   4 ++++
 cad/mex-wcalc/MESSAGE  |   9 +++++++++
 cad/mex-wcalc/Makefile |  36 ++++++++++++++++++++++++++++++++++++
 cad/mex-wcalc/PLIST    |  27 +++++++++++++++++++++++++++
 4 files changed, 76 insertions(+), 0 deletions(-)

diffs (92 lines):

diff -r 72e364b92b7e -r fbc4b7158535 cad/mex-wcalc/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/cad/mex-wcalc/DESCR       Tue Nov 01 03:55:38 2005 +0000
@@ -0,0 +1,4 @@
+This is the Matlab frontend for the Wcalc transmission
+line analysis/synthesis calculator.  You will need a working
+matlab installed on your system.  In addition, currently
+only a native (non-emulation) matlab is supported.
diff -r 72e364b92b7e -r fbc4b7158535 cad/mex-wcalc/MESSAGE
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/cad/mex-wcalc/MESSAGE     Tue Nov 01 03:55:38 2005 +0000
@@ -0,0 +1,9 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1.1.1 2005/11/01 03:55:38 dmcmahill Exp $
+
+To use, you will need to add something like the following to your
+matlab/startup.m file in your home directory:
+
+  addpath('${PREFIX}/libexec/matlab/${WCALC_DIR}');
+
+===========================================================================
diff -r 72e364b92b7e -r fbc4b7158535 cad/mex-wcalc/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/cad/mex-wcalc/Makefile    Tue Nov 01 03:55:38 2005 +0000
@@ -0,0 +1,36 @@
+# $NetBSD: Makefile,v 1.1.1.1 2005/11/01 03:55:38 dmcmahill Exp $
+#
+
+.include "../../cad/wcalc/Makefile.common"
+PKGNAME=       mex-${DISTNAME}
+
+COMMENT=       Matlab Based Transmission Line Analysis/Synthesis Calculator
+
+# Only enable the matlab frontend
+CONFIGURE_ARGS+=       --disable-cgi
+CONFIGURE_ARGS+=       --disable-gtk
+CONFIGURE_ARGS+=       --disable-htdocs
+CONFIGURE_ARGS+=       --disable-libwcalc
+CONFIGURE_ARGS+=       --disable-stdio
+CONFIGURE_ARGS+=       --with-matlab
+CONFIGURE_ARGS+=       --without-octave
+CONFIGURE_ARGS+=       --without-scilab
+
+# This depends on an installation of Matlab which pkgsrc does
+# not have.  Should find a sane way to deal with this.  It is
+# not clear if linux/solaris matlab users care to use pkgsrc
+# to manage its installation or if it will always be installed
+# outside of pkgsrc.
+
+# In addition, mex-wcalc will not currently build correctly
+# if you are using a non-native matlab (i.e. linux or solaris
+# matlab on NetBSD).  To get it to work, you need to set up
+# a cross-tool chain, build a libwcalc targeted to the same
+# system as the matlab installation, and modify the mexopts.sh
+# file in ${WRKSRC}/mex-wcalc to use this cross tool chain.
+# Basically what it comes down to is you need to compile shared
+# modules for the same os as the matlab binary.
+#
+ONLY_FOR_PLATFORM=     Linux-*-i386 SunOS-*-sparc*
+
+.include "../../mk/bsd.pkg.mk"
diff -r 72e364b92b7e -r fbc4b7158535 cad/mex-wcalc/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/cad/mex-wcalc/PLIST       Tue Nov 01 03:55:38 2005 +0000
@@ -0,0 +1,27 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2005/11/01 03:55:38 dmcmahill Exp $
+libexec/matlab/${WCALC_DIR}/air_coil_calc.la
+libexec/matlab/${WCALC_DIR}/air_coil_calc.m
+libexec/matlab/${WCALC_DIR}/air_coil_syn.la
+libexec/matlab/${WCALC_DIR}/air_coil_syn.m
+libexec/matlab/${WCALC_DIR}/coax_calc.la
+libexec/matlab/${WCALC_DIR}/coax_calc.m
+libexec/matlab/${WCALC_DIR}/coax_syn.la
+libexec/matlab/${WCALC_DIR}/coax_syn.m
+libexec/matlab/${WCALC_DIR}/coupled_microstrip_calc.la
+libexec/matlab/${WCALC_DIR}/coupled_microstrip_calc.m
+libexec/matlab/${WCALC_DIR}/coupled_microstrip_syn.la
+libexec/matlab/${WCALC_DIR}/coupled_microstrip_syn.m
+libexec/matlab/${WCALC_DIR}/ic_microstrip_calc.la
+libexec/matlab/${WCALC_DIR}/ic_microstrip_calc.m
+libexec/matlab/${WCALC_DIR}/ic_microstrip_syn.la
+libexec/matlab/${WCALC_DIR}/ic_microstrip_syn.m
+libexec/matlab/${WCALC_DIR}/microstrip_calc.la
+libexec/matlab/${WCALC_DIR}/microstrip_calc.m
+libexec/matlab/${WCALC_DIR}/microstrip_syn.la
+libexec/matlab/${WCALC_DIR}/microstrip_syn.m
+libexec/matlab/${WCALC_DIR}/stripline_calc.la
+libexec/matlab/${WCALC_DIR}/stripline_calc.m
+libexec/matlab/${WCALC_DIR}/stripline_syn.la
+libexec/matlab/${WCALC_DIR}/stripline_syn.m
+@dirrm libexec/matlab/${WCALC_DIR}
+@dirrm libexec/matlab



Home | Main Index | Thread Index | Old Index