fe9c2fe65f
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.
51 lines
1.4 KiB
Text
51 lines
1.4 KiB
Text
# $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
|
|
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}
|
|
|