pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/cad/libwcalc import libwcalc-0.9



details:   https://anonhg.NetBSD.org/pkgsrc/rev/63865d7a6260
branches:  trunk
changeset: 501971:63865d7a6260
user:      dmcmahill <dmcmahill%pkgsrc.org@localhost>
date:      Tue Nov 01 03:49:19 2005 +0000

description:
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:

 cad/libwcalc/DESCR         |  11 +++++++++
 cad/libwcalc/Makefile      |  32 ++++++++++++++++++++++++++++
 cad/libwcalc/PLIST         |  52 ++++++++++++++++++++++++++++++++++++++++++++++
 cad/libwcalc/buildlink3.mk |  22 +++++++++++++++++++
 4 files changed, 117 insertions(+), 0 deletions(-)

diffs (133 lines):

diff -r 390b75a3f069 -r 63865d7a6260 cad/libwcalc/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/cad/libwcalc/DESCR        Tue Nov 01 03:49:19 2005 +0000
@@ -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 -r 390b75a3f069 -r 63865d7a6260 cad/libwcalc/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/cad/libwcalc/Makefile     Tue Nov 01 03:49:19 2005 +0000
@@ -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 -r 390b75a3f069 -r 63865d7a6260 cad/libwcalc/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/cad/libwcalc/PLIST        Tue Nov 01 03:49:19 2005 +0000
@@ -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 -r 390b75a3f069 -r 63865d7a6260 cad/libwcalc/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/cad/libwcalc/buildlink3.mk        Tue Nov 01 03:49:19 2005 +0000
@@ -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/+$//}



Home | Main Index | Thread Index | Old Index