Received: by mail.netbsd.org (Postfix, from userid 605) id 9A11784DB0; Fri, 28 Feb 2020 22:08:07 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 2032184DAF for ; Fri, 28 Feb 2020 22:08:07 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id 65F0ir8oBv6w for ; Fri, 28 Feb 2020 22:08:06 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 4271984D36 for ; Fri, 28 Feb 2020 22:08:06 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 35DD5FBF4; Fri, 28 Feb 2020 22:08:06 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_158292768639560" MIME-Version: 1.0 Date: Fri, 28 Feb 2020 22:08:06 +0000 From: "Iain Hibbert" Subject: CVS commit: pkgsrc/math/congen To: pkgsrc-changes@NetBSD.org Reply-To: plunky@netbsd.org X-Mailer: log_accum Message-Id: <20200228220806.35DD5FBF4@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_158292768639560 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" 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. --_----------=_158292768639560 Content-Disposition: inline Content-Length: 4167 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii 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 +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 --_----------=_158292768639560--