summaryrefslogtreecommitdiff
path: root/cad/libwcalc/Makefile
diff options
context:
space:
mode:
authordmcmahill <dmcmahill@pkgsrc.org>2005-11-01 03:49:19 +0000
committerdmcmahill <dmcmahill@pkgsrc.org>2005-11-01 03:49:19 +0000
commitb9a9fce91ee93d2df115c7aceec254e66ee333ec (patch)
tree33f0e3d4937995f9ed7fa44627eb92ff4d15bd10 /cad/libwcalc/Makefile
parent80655aebceef5c35d6dc5e56a2061811b51e262b (diff)
downloadpkgsrc-b9a9fce91ee93d2df115c7aceec254e66ee333ec.tar.gz
import libwcalc-0.9
This is the library for wcalc which contains all of the numerical backend routines and models. Wcalc is a tool for the analysis and synthesis of transmission line structures and related components. Wcalc provides the ability to analyze the electrical parameters of a particular structure based on the physical dimensions and material parameters. The synthesis portion calculates the required physical parameters to meet desired electrical specifications. Wcalc includes several models and places an emphasis on accuracy. Several frontends provide the user with several options for its use.
Diffstat (limited to 'cad/libwcalc/Makefile')
-rw-r--r--cad/libwcalc/Makefile32
1 files changed, 32 insertions, 0 deletions
diff --git a/cad/libwcalc/Makefile b/cad/libwcalc/Makefile
new file mode 100644
index 00000000000..3a59c7e1de5
--- /dev/null
+++ b/cad/libwcalc/Makefile
@@ -0,0 +1,32 @@
+# $NetBSD: Makefile,v 1.1.1.1 2005/11/01 03:49:19 dmcmahill Exp $
+#
+
+.include "../../cad/wcalc/Makefile.common"
+PKGNAME= lib${DISTNAME}
+
+COMMENT= Library for Transmission Line Analysis/Synthesis
+
+# Disable all the frontends so we only build/install the libwcalc
+# portion
+CONFIGURE_ARGS+= --disable-cgi
+CONFIGURE_ARGS+= --disable-gtk1
+CONFIGURE_ARGS+= --disable-gtk2
+CONFIGURE_ARGS+= --disable-htdocs
+CONFIGURE_ARGS+= --enable-libwcalc
+CONFIGURE_ARGS+= --disable-stdio
+CONFIGURE_ARGS+= --without-matlab
+CONFIGURE_ARGS+= --without-octave
+CONFIGURE_ARGS+= --without-scilab
+
+USE_PKGLOCALEDIR= yes
+
+PKGCONFIG_OVERRIDE= libwcalc/wcalc.pc.in
+
+pre-build:
+ ${MV} ${WRKSRC}/libwcalc/wcalc-config ${WRKSRC}/libwcalc/wcalc-config.bak
+ ${SED} 's;^RPATH.*;RPATH_FLAG="${COMPILER_RPATH_FLAG}";g' ${WRKSRC}/libwcalc/wcalc-config.bak > \
+ ${WRKSRC}/libwcalc/wcalc-config
+ ${CHMOD} 755 ${WRKSRC}/libwcalc/wcalc-config
+
+.include "../../devel/gettext-lib/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"