diff options
Diffstat (limited to 'cad/libwcalc')
-rw-r--r-- | cad/libwcalc/DESCR | 11 | ||||
-rw-r--r-- | cad/libwcalc/Makefile | 32 | ||||
-rw-r--r-- | cad/libwcalc/PLIST | 52 | ||||
-rw-r--r-- | cad/libwcalc/buildlink3.mk | 22 |
4 files changed, 117 insertions, 0 deletions
diff --git a/cad/libwcalc/DESCR b/cad/libwcalc/DESCR new file mode 100644 index 00000000000..d7297112c8e --- /dev/null +++ b/cad/libwcalc/DESCR @@ -0,0 +1,11 @@ +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. 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" diff --git a/cad/libwcalc/PLIST b/cad/libwcalc/PLIST new file mode 100644 index 00000000000..d938fcf4604 --- /dev/null +++ b/cad/libwcalc/PLIST @@ -0,0 +1,52 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2005/11/01 03:49:19 dmcmahill Exp $ +bin/wcalc-config +include/${WCALC_DIR}/air_coil.h +include/${WCALC_DIR}/air_coil_loadsave.h +include/${WCALC_DIR}/coax.h +include/${WCALC_DIR}/coax_loadsave.h +include/${WCALC_DIR}/coupled_microstrip.h +include/${WCALC_DIR}/coupled_microstrip_loadsave.h +include/${WCALC_DIR}/ic_microstrip.h +include/${WCALC_DIR}/ic_microstrip_loadsave.h +include/${WCALC_DIR}/libwcalc.h +include/${WCALC_DIR}/mathutil.h +include/${WCALC_DIR}/microstrip.h +include/${WCALC_DIR}/microstrip_loadsave.h +include/${WCALC_DIR}/misc.h +include/${WCALC_DIR}/physconst.h +include/${WCALC_DIR}/stripline.h +include/${WCALC_DIR}/stripline_loadsave.h +include/${WCALC_DIR}/units.h +include/${WCALC_DIR}/wcalc_loadsave.h +lib/libwcalc.la +lib/pkgconfig/wcalc.pc +${PKGLOCALEDIR}/locale/es/LC_MESSAGES/wcalc.mo +share/${WCALC_DIR}/air_coil.eps +share/${WCALC_DIR}/alert_fig.eps +share/${WCALC_DIR}/coax.eps +share/${WCALC_DIR}/coax_model.eps +share/${WCALC_DIR}/coupled_microstrip.eps +share/${WCALC_DIR}/ic_microstrip.eps +share/${WCALC_DIR}/ic_microstrip_model.eps +share/${WCALC_DIR}/logo.eps +share/${WCALC_DIR}/microstrip.eps +share/${WCALC_DIR}/microstrip_model.eps +share/${WCALC_DIR}/splash.eps +share/${WCALC_DIR}/stripline.eps +share/${WCALC_DIR}/stripline_model.eps +${WCALC_HTMLDIR}/air_coil.png +${WCALC_HTMLDIR}/alert_fig.png +${WCALC_HTMLDIR}/coax.png +${WCALC_HTMLDIR}/coax_model.png +${WCALC_HTMLDIR}/coupled_microstrip.png +${WCALC_HTMLDIR}/ic_microstrip.png +${WCALC_HTMLDIR}/ic_microstrip_model.png +${WCALC_HTMLDIR}/logo.png +${WCALC_HTMLDIR}/microstrip.png +${WCALC_HTMLDIR}/microstrip_model.png +${WCALC_HTMLDIR}/splash.png +${WCALC_HTMLDIR}/stripline.png +${WCALC_HTMLDIR}/stripline_model.png +@dirrm ${WCALC_HTMLDIR} +@dirrm share/${WCALC_DIR} +@dirrm include/${WCALC_DIR} diff --git a/cad/libwcalc/buildlink3.mk b/cad/libwcalc/buildlink3.mk new file mode 100644 index 00000000000..7c3361281e1 --- /dev/null +++ b/cad/libwcalc/buildlink3.mk @@ -0,0 +1,22 @@ +# $NetBSD: buildlink3.mk,v 1.1.1.1 2005/11/01 03:49:19 dmcmahill Exp $ +# + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +LIBWCALC_BUILDLINK3_MK:= ${LIBWCALC_BUILDLINK3_MK}+ + +.if !empty(BUILDLINK_DEPTH:M+) +BUILDLINK_DEPENDS+= libwcalc +.endif + +BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibwcalc} +BUILDLINK_PACKAGES+= libwcalc + +.if !empty(LIBWCALC_BUILDLINK3_MK:M+) +BUILDLINK_DEPENDS.libwcalc+= libwcalc-0.9* +BUILDLINK_PKGSRCDIR.libwcalc?= ../../cad/libwcalc +.endif # LIBWCALC_BUILDLINK3_MK + +.include "../../converters/libiconv/buildlink3.mk" +.include "../../devel/gettext-lib/buildlink3.mk" + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} |