pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/cad/wcalc import wcalc-0.9
details: https://anonhg.NetBSD.org/pkgsrc/rev/72e364b92b7e
branches: trunk
changeset: 501978:72e364b92b7e
user: dmcmahill <dmcmahill%pkgsrc.org@localhost>
date: Tue Nov 01 03:54:44 2005 +0000
description:
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:
cad/wcalc/DESCR | 19 +++++++++++++++++
cad/wcalc/Makefile | 44 ++++++++++++++++++++++++++++++++++++++++
cad/wcalc/Makefile.common | 51 +++++++++++++++++++++++++++++++++++++++++++++++
cad/wcalc/PLIST | 1 +
cad/wcalc/distinfo | 5 ++++
5 files changed, 120 insertions(+), 0 deletions(-)
diffs (140 lines):
diff -r 971555385454 -r 72e364b92b7e cad/wcalc/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/cad/wcalc/DESCR Tue Nov 01 03:54:44 2005 +0000
@@ -0,0 +1,19 @@
+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.
diff -r 971555385454 -r 72e364b92b7e cad/wcalc/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/cad/wcalc/Makefile Tue Nov 01 03:54:44 2005 +0000
@@ -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"
diff -r 971555385454 -r 72e364b92b7e cad/wcalc/Makefile.common
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/cad/wcalc/Makefile.common Tue Nov 01 03:54:44 2005 +0000
@@ -0,0 +1,51 @@
+# $NetBSD: Makefile.common,v 1.1.1.1 2005/11/01 03:54:44 dmcmahill Exp $
+#
+
+DISTNAME= wcalc-0.9
+CATEGORIES= cad
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=wcalc/}
+
+MAINTAINER= dmcmahill%NetBSD.org@localhost
+HOMEPAGE= http://wcalc.sourceforge.net/
+
+DISTINFO_FILE= ${.CURDIR}/../../cad/wcalc/distinfo
+
+GNU_CONFIGURE= YES
+USE_LIBTOOL= YES
+
+# uses vpath and a GNU make pattern rule
+USE_TOOLS+= gmake pkg-config
+
+# subdirectory used by wcalc for headers, libexec stuff, etc.
+WCALC_DIR= ${DISTNAME}
+
+# where the HTML pages reside:
+WCALC_HTMLDIR?= share/${WCALC_DIR}/htdocs
+
+# URI for the static HTML content
+WCALC_HTMLPATH?= /wcalc/
+
+# where the CGI programs reside
+WCALC_CGIDIR?= libexec/cgi-bin
+
+# URI for the CGI programs
+WCALC_CGIPATH?= /cgi-wcalc/
+
+# setup the directories and URI path
+CONFIGURE_ARGS+= --with-htmldir=${PREFIX}/${WCALC_HTMLDIR}
+CONFIGURE_ARGS+= --with-htmlpath=${WCALC_HTMLPATH}
+CONFIGURE_ARGS+= --with-cgibin=${PREFIX}/${WCALC_CGIDIR}
+CONFIGURE_ARGS+= --with-cgipath=${WCALC_CGIPATH}
+
+# make sure we can refer to these paths in the MESSAGE
+MESSAGE_SUBST+= WCALC_CGIDIR=${WCALC_CGIDIR}
+MESSAGE_SUBST+= WCALC_CGIPATH=${WCALC_CGIPATH}
+MESSAGE_SUBST+= WCALC_HTMLDIR=${WCALC_HTMLDIR}
+MESSAGE_SUBST+= WCALC_HTMLPATH=${WCALC_HTMLPATH}
+MESSAGE_SUBST+= WCALC_DIR=${WCALC_DIR}
+
+# and the PLIST too
+PLIST_SUBST+= WCALC_CGIDIR=${WCALC_CGIDIR}
+PLIST_SUBST+= WCALC_HTMLDIR=${WCALC_HTMLDIR}
+PLIST_SUBST+= WCALC_DIR=${WCALC_DIR}
+
diff -r 971555385454 -r 72e364b92b7e cad/wcalc/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/cad/wcalc/PLIST Tue Nov 01 03:54:44 2005 +0000
@@ -0,0 +1,1 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2005/11/01 03:54:45 dmcmahill Exp $
diff -r 971555385454 -r 72e364b92b7e cad/wcalc/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/cad/wcalc/distinfo Tue Nov 01 03:54:44 2005 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2005/11/01 03:54:45 dmcmahill Exp $
+
+SHA1 (wcalc-0.9.tar.gz) = d59d03a8b1e1eceaae032ab755f0ee9ca30d0b95
+RMD160 (wcalc-0.9.tar.gz) = cccbbac6f4eca55a2a695d73da62cc4535e47edf
+Size (wcalc-0.9.tar.gz) = 1341805 bytes
Home |
Main Index |
Thread Index |
Old Index