summaryrefslogtreecommitdiff
path: root/math/congen/Makefile
diff options
context:
space:
mode:
authorplunky <plunky@pkgsrc.org>2020-02-28 22:08:05 +0000
committerplunky <plunky@pkgsrc.org>2020-02-28 22:08:05 +0000
commit6fb3816c8b36119e752667b0a434946fca2af8d5 (patch)
tree6b26c898aaede9edb31d25b680fb2f9ca11f901d /math/congen/Makefile
parent8dc05683a24619b29727c062ac48b217d614ed1e (diff)
downloadpkgsrc-6fb3816c8b36119e752667b0a434946fca2af8d5.tar.gz
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 (limited to 'math/congen/Makefile')
-rw-r--r--math/congen/Makefile22
1 files changed, 22 insertions, 0 deletions
diff --git a/math/congen/Makefile b/math/congen/Makefile
new file mode 100644
index 00000000000..9bfa318e376
--- /dev/null
+++ b/math/congen/Makefile
@@ -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
+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"