pkgsrc-Changes archive

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

CVS commit: pkgsrc/math/congen



Module Name:    pkgsrc
Committed By:   plunky
Date:           Fri Feb 28 22:08:05 UTC 2020

Added Files:
        pkgsrc/math/congen: DESCR Makefile PLIST buildlink3.mk distinfo
        pkgsrc/math/congen/patches: patch-configure

Log Message:
Add congen 1.7, from David Flater

congen is a C++ library for generating the speeds, equilibrium arguments,
and node factors of Darwin-style tidal constituents more or less as defined
in SP 98:

  Manual of Harmonic Analysis and Prediction of Tides.  Special Publication
  No. 98, Revised (1940) Edition (reprinted 1958 with corrections;
  reprinted again 1994).  United States Government Printing Office, 1994.

Additionally, libcongen provides limited support for approximating
Doodson-style tidal constituents within the infrastructure of the former.
The Doodson approach is discussed in the following publication:

  Foreman, M.G.G., 1977.  Manual for Tidal Heights Analysis and Prediction.
  Pacific Marine Science Report 77-10, Institute of Ocean Sciences,
  Patricia Bay, Sidney, B.C. (2004 revision).

The Congen header file is intended to be self-documenting with regards to use
of the interface, assuming that one has access to SP 98 and a general
understanding of the subject matter.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/math/congen/DESCR pkgsrc/math/congen/Makefile \
    pkgsrc/math/congen/PLIST pkgsrc/math/congen/buildlink3.mk \
    pkgsrc/math/congen/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/math/congen/patches/patch-configure

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/math/congen/DESCR
diff -u /dev/null pkgsrc/math/congen/DESCR:1.1
--- /dev/null   Fri Feb 28 22:08:05 2020
+++ pkgsrc/math/congen/DESCR    Fri Feb 28 22:08:05 2020
@@ -0,0 +1,19 @@
+congen is a C++ library for generating the speeds, equilibrium arguments,
+and node factors of Darwin-style tidal constituents more or less as defined
+in SP 98:
+
+  Manual of Harmonic Analysis and Prediction of Tides.  Special Publication
+  No. 98, Revised (1940) Edition (reprinted 1958 with corrections;
+  reprinted again 1994).  United States Government Printing Office, 1994.
+
+Additionally, libcongen provides limited support for approximating
+Doodson-style tidal constituents within the infrastructure of the former.
+The Doodson approach is discussed in the following publication:
+
+  Foreman, M.G.G., 1977.  Manual for Tidal Heights Analysis and Prediction.
+  Pacific Marine Science Report 77-10, Institute of Ocean Sciences,
+  Patricia Bay, Sidney, B.C. (2004 revision).
+
+The Congen header file is intended to be self-documenting with regards to use
+of the interface, assuming that one has access to SP 98 and a general
+understanding of the subject matter.
Index: pkgsrc/math/congen/Makefile
diff -u /dev/null pkgsrc/math/congen/Makefile:1.1
--- /dev/null   Fri Feb 28 22:08:06 2020
+++ pkgsrc/math/congen/Makefile Fri Feb 28 22:08:05 2020
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1 2020/02/28 22:08:05 plunky Exp $
+
+DISTNAME=      congen-1.7
+CATEGORIES=    math
+MASTER_SITES=  https://flaterco.com/files/xtide/
+EXTRACT_SUFX=  .tar.xz
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://flaterco.com/
+COMMENT=       Constants generator for tidal constituents
+LICENSE=       gnu-gpl-v3
+
+GNU_CONFIGURE= yes
+USE_TOOLS=     bash gmake gsed
+USE_LIBTOOL=   yes
+USE_LANGUAGES= c c++
+
+REPLACE_RUBY=  scripts/*.rb
+
+.include "../../databases/libtcd/buildlink3.mk"
+.include "../../lang/ruby/replace.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/math/congen/PLIST
diff -u /dev/null pkgsrc/math/congen/PLIST:1.1
--- /dev/null   Fri Feb 28 22:08:06 2020
+++ pkgsrc/math/congen/PLIST    Fri Feb 28 22:08:05 2020
@@ -0,0 +1,9 @@
+@comment $NetBSD: PLIST,v 1.1 2020/02/28 22:08:05 plunky Exp $
+bin/Compound2Basic.rb
+bin/XDO2Basic.rb
+bin/congen
+bin/diff_congen_output
+include/Congen
+lib/libcongen.la
+share/congen/README
+share/congen/congen_input.txt
Index: pkgsrc/math/congen/buildlink3.mk
diff -u /dev/null pkgsrc/math/congen/buildlink3.mk:1.1
--- /dev/null   Fri Feb 28 22:08:06 2020
+++ pkgsrc/math/congen/buildlink3.mk    Fri Feb 28 22:08:05 2020
@@ -0,0 +1,13 @@
+# $NetBSD: buildlink3.mk,v 1.1 2020/02/28 22:08:05 plunky Exp $
+
+BUILDLINK_TREE+=       congen
+
+.if !defined(CONGEN_BUILDLINK3_MK)
+CONGEN_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.congen+= congen>=1.7
+BUILDLINK_PKGSRCDIR.congen?=   ../../math/congen
+
+.endif # CONGEN_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -congen
Index: pkgsrc/math/congen/distinfo
diff -u /dev/null pkgsrc/math/congen/distinfo:1.1
--- /dev/null   Fri Feb 28 22:08:06 2020
+++ pkgsrc/math/congen/distinfo Fri Feb 28 22:08:05 2020
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2020/02/28 22:08:05 plunky Exp $
+
+SHA1 (congen-1.7.tar.xz) = 1a404921ce07cd07887c5cc0fda5d0aedea45eb8
+RMD160 (congen-1.7.tar.xz) = 400373940570f90d0fd124e0381fe6df14c25c5e
+SHA512 (congen-1.7.tar.xz) = 5d0dcc405eae0e90ea21ace1a6beb9497b13d4c633d5029df35a262cb89d206842dee7743a784426b8aac9ba70baa00a91e246bfafc9b0c2a13e8e963d562173
+Size (congen-1.7.tar.xz) = 263368 bytes
+SHA1 (patch-configure) = 8080eca2a394d2549463087240aa4a155aef6984

Index: pkgsrc/math/congen/patches/patch-configure
diff -u /dev/null pkgsrc/math/congen/patches/patch-configure:1.1
--- /dev/null   Fri Feb 28 22:08:06 2020
+++ pkgsrc/math/congen/patches/patch-configure  Fri Feb 28 22:08:05 2020
@@ -0,0 +1,15 @@
+$NetBSD: patch-configure,v 1.1 2020/02/28 22:08:05 plunky Exp $
+
+fix non-portable test
+
+--- configure.orig     2020-01-08 20:26:58.772161471 +0000
++++ configure
+@@ -16080,7 +16080,7 @@ fi
+ fi
+ 
+ 
+- if test "$ac_cv_lib_tcd_get_tide_db_header" == "yes"; then
++ if test "$ac_cv_lib_tcd_get_tide_db_header" = "yes"; then
+   TCD_SWITCH_TRUE=
+   TCD_SWITCH_FALSE='#'
+ else



Home | Main Index | Thread Index | Old Index