diff options
author | dmcmahill <dmcmahill@pkgsrc.org> | 2005-11-01 03:54:44 +0000 |
---|---|---|
committer | dmcmahill <dmcmahill@pkgsrc.org> | 2005-11-01 03:54:44 +0000 |
commit | fe9c2fe65fc50737b80ff199def102e2a25ab8fa (patch) | |
tree | 98a510be6897ce893158eec647a13ee7e54807d3 /cad/wcalc/Makefile | |
parent | eff60cfd80ea2d4ab4466cfb271f4a0b47bfeea5 (diff) | |
download | pkgsrc-fe9c2fe65fc50737b80ff199def102e2a25ab8fa.tar.gz |
import wcalc-0.9
Wcalc is a transmission line analysis and synthesis tool. Several
structures including air core solenoid inductors, coaxial cable,
single and coupled microstrip, stripline, and metal-insulator-
semiconductor microstrip are included.
Wcalc can analyze the electrical parameters for a given physical
description of the structure or synthesize the required dimensions
to meet certain desired electrical characteristics.
Wcalc provides several different frontends for accessing the numeric
engine. Currently, there is a GTK based standalone graphical
user interface, a common gateway interface (CGI) for web access,
Scilab, Octave, and Matlab interfaces for maximum flexibility within
a scientific programming environment, and a standard input/output
(stdio) interface which allows a simple interface to other 3rd
party tools which can communicate via a pipe.
The different frontends are installed as different packages for
flexibility in deployment.
Diffstat (limited to 'cad/wcalc/Makefile')
-rw-r--r-- | cad/wcalc/Makefile | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/cad/wcalc/Makefile b/cad/wcalc/Makefile new file mode 100644 index 00000000000..e37db4cbbae --- /dev/null +++ b/cad/wcalc/Makefile @@ -0,0 +1,44 @@ +# $NetBSD: Makefile,v 1.1.1.1 2005/11/01 03:54:45 dmcmahill Exp $ +# + +.include "../../cad/wcalc/Makefile.common" + +COMMENT= Meta-pkg for the Wcalc Transmission Line Analysis/Synthesis Calculator + +VER= ${DISTNAME:S/wcalc-//} + +DEPENDS+= libwcalc-${VER}*:../../cad/libwcalc +DEPENDS+= cgi-wcalc-${VER}*:../../cad/cgi-wcalc +DEPENDS+= sci-wcalc-${VER}*:../../cad/sci-wcalc +DEPENDS+= stdio-wcalc-${VER}*:../../cad/stdio-wcalc +DEPENDS+= wcalc-docs-${VER}*:../../cad/wcalc-docs + +PKG_OPTIONS_VAR= PKG_OPTIONS.wcalc +PKG_SUPPORTED_OPTIONS= mex wcalc-gtk1 + +.include "../../mk/bsd.prefs.mk" +.include "../../mk/bsd.options.mk" + +.if !empty(PKG_OPTIONS:Mmex-gtk1) +DEPENDS+= gtk1-wcalc-${VER}*:../../cad/gtk1-wcalc +.else +DEPENDS+= gtk2-wcalc-${VER}*:../../cad/gtk2-wcalc +.endif + +.if !empty(PKG_OPTIONS:Mmex) +# mex-wcalc needs a matlab installation. 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) +ONLY_FOR_PLATFORM= Linux-*-i386 SunOS-*-sparc* +DEPENDS+= mex-wcalc-${VER}*:../../cad/mex-wcalc +.endif + +EXTRACT_ONLY= # defined +NO_CHECKSUM= # defined +NO_CONFIGURE= # defined +NO_BUILD= # defined +NO_MTREE= # defined + +do-install: # empty + +.include "../../mk/bsd.pkg.mk" |