pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/math/congen Add congen 1.7, from David Flater
details: https://anonhg.NetBSD.org/pkgsrc/rev/09dc6fb13989
branches: trunk
changeset: 412120:09dc6fb13989
user: plunky <plunky%pkgsrc.org@localhost>
date: Fri Feb 28 22:08:05 2020 +0000
description:
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.
diffstat:
math/congen/DESCR | 19 +++++++++++++++++++
math/congen/Makefile | 22 ++++++++++++++++++++++
math/congen/PLIST | 9 +++++++++
math/congen/buildlink3.mk | 13 +++++++++++++
math/congen/distinfo | 7 +++++++
math/congen/patches/patch-configure | 15 +++++++++++++++
6 files changed, 85 insertions(+), 0 deletions(-)
diffs (109 lines):
diff -r d8454dc89b00 -r 09dc6fb13989 math/congen/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/math/congen/DESCR Fri Feb 28 22:08:05 2020 +0000
@@ -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.
diff -r d8454dc89b00 -r 09dc6fb13989 math/congen/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/math/congen/Makefile Fri Feb 28 22:08:05 2020 +0000
@@ -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"
diff -r d8454dc89b00 -r 09dc6fb13989 math/congen/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/math/congen/PLIST Fri Feb 28 22:08:05 2020 +0000
@@ -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
diff -r d8454dc89b00 -r 09dc6fb13989 math/congen/buildlink3.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/math/congen/buildlink3.mk Fri Feb 28 22:08:05 2020 +0000
@@ -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
diff -r d8454dc89b00 -r 09dc6fb13989 math/congen/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/math/congen/distinfo Fri Feb 28 22:08:05 2020 +0000
@@ -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
diff -r d8454dc89b00 -r 09dc6fb13989 math/congen/patches/patch-configure
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/math/congen/patches/patch-configure Fri Feb 28 22:08:05 2020 +0000
@@ -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