pkgsrc/cad/libwcalc/Makefile
dmcmahill c573c962e6 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.
2005-11-01 03:49:19 +00:00

32 lines
983 B
Makefile

# $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"