From nobody Thu Aug 25 23:20:39 2022 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MDJqD064Yz4ZmwC; Thu, 25 Aug 2022 23:20:40 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MDJqC6QjYz3y0H; Thu, 25 Aug 2022 23:20:39 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1661469639; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=ej/ieoNOe/PsR2VV4Q+zWQXd70gJVZYb4QnHdf1iLCM=; b=L/yy+2vUFOtw5sGEsvCd3MZhyve419mb5braQnjRlL3K1xxLGyLiFoNqDciO8QD/2LW0mz tcVM6Fhpc+ECGr3oM/eAeJnkqd7Uz9Cb3KtJTVpComUyoXxriI4mIlERvHSVg3pmjnzUCu Omf6oI1bOTXLDoOpRFoM4ZGcrz/H0mJkHQ8ynRMU+yulKmpdA4u/6hk8pKggptWAT/3Voe SosPZPIilMMQn1Jh2MEeCtnhUJlxjshm3de9ShgZu6XY8yQZCAzUASCgiJxFSQe0Zjrx2H kDfA58VuCKARoBEu4dpBkpfbFJEQ0FQM6JVYm6GxAJC3NDV4IEYXUD7jN47Cew== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4MDJqC5VXqz15c6; Thu, 25 Aug 2022 23:20:39 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 27PNKdjg035811; Thu, 25 Aug 2022 23:20:39 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 27PNKdmC035810; Thu, 25 Aug 2022 23:20:39 GMT (envelope-from git) Date: Thu, 25 Aug 2022 23:20:39 GMT Message-Id: <202208252320.27PNKdmC035810@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: 98d311a8b74e - main - astro/pal: New port: Positional Astronomy Library List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 98d311a8b74ed96470e7064b913c2b0a72fb1e7b Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1661469639; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=ej/ieoNOe/PsR2VV4Q+zWQXd70gJVZYb4QnHdf1iLCM=; b=jfmNm45lnhnnnaeWyKny2Pzdf23pQcmUGPu9zV/uEN7ihxj43DZYx35vG2sL9PUT0WuSGg TgaAIIWPMkv5uSf8g9el0/5eUCsgcVUCjog7p6aHEsjzRh/0rXfugB2xVMY0keZu9v8zDI /tcD7CFha5bBZp0c6H4eZeWy+c/D8ErMqcSONdmCNaRNkIOioiapFN8sUUrJBgGjyfrZ+w Cfqg8CE4dhlBv2VL+BqiTtQ6YxQOmc7PUFemApL0L9ppRY8kJlbusXUrE0P6O4cloMPvbq E2iCZ+YpqX/5Hm8bwp69lAo5C0h+S9ZNkkKUPG7UxgGig1y0ZkLI2vaYnJT6Lg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1661469639; a=rsa-sha256; cv=none; b=BkJqSRMGcqmloOhTNpWt15SfSzZ2I6Jf6RBfJI0R6d6Xm0DV44zIoCuMo/EENIhJGMujQH zJmVAr3DgSfmk3vIRRcrt0swzA1oCCUcGh8pIUL86lMMYfE1lfY7Ht3W0wdhRSQSuHO5bY BbuZX1+xYXR1VFkx0s2kCBGwkC5wCuAPnT5jEWPjkeQEz18AcTU3B79/GhT+Su/MUjkMTg g8SXN1gxnMjq9TZ/Neqr8Eiiez8GnYPnZ5UI8nrwCMSyJFom1rqyZy0uEYC69q9u98J3G6 4yr3RTt5UVwL8SU89WQmWzvAbHeXi5ja4bGI61hMC5aZpz7ZgeqFFf9pUWowig== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=98d311a8b74ed96470e7064b913c2b0a72fb1e7b commit 98d311a8b74ed96470e7064b913c2b0a72fb1e7b Author: Yuri Victorovich AuthorDate: 2022-08-25 23:20:09 +0000 Commit: Yuri Victorovich CommitDate: 2022-08-25 23:20:37 +0000 astro/pal: New port: Positional Astronomy Library --- astro/Makefile | 1 + astro/pal/Makefile | 36 ++++++++++++++++++++++++++++++++++++ astro/pal/distinfo | 3 +++ astro/pal/pkg-descr | 12 ++++++++++++ 4 files changed, 52 insertions(+) diff --git a/astro/Makefile b/astro/Makefile index c75416f2e648..74793fabccd0 100644 --- a/astro/Makefile +++ b/astro/Makefile @@ -72,6 +72,7 @@ SUBDIR += p5-Net-GPSD3 SUBDIR += p5-Starlink-AST SUBDIR += p5-Weather-Underground + SUBDIR += pal SUBDIR += phd2 SUBDIR += phoon SUBDIR += pp3 diff --git a/astro/pal/Makefile b/astro/pal/Makefile new file mode 100644 index 000000000000..bbcaccbff909 --- /dev/null +++ b/astro/pal/Makefile @@ -0,0 +1,36 @@ +PORTNAME= pal +DISTVERSION= 0.9.8 +CATEGORIES= astro geography +MASTER_SITES= https://github.com/Starlink/pal/releases/download/v${DISTVERSION}/ +PKGNAMESUFFIX= -astronomical + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Positional Astronomy Library + +LICENSE= LGPL3 +LICENSE_FILE= ${WRKSRC}/COPYING + +LIB_DEPENDS= liberfa.so:astro/erfa + +USES= gmake libtool +USE_LDCONFIG= yes + +GNU_CONFIGURE= yes + +INSTALL_TARGET= install-strip + +PLIST_FILES= include/star/pal.h \ + include/star/palmac.h \ + lib/libpal.a \ + lib/libpal.so \ + lib/libpal.so.0 \ + lib/libpal.so.0.0.0 + +post-install: # remove manifest file that contains stage dir, news and docs directories, and datadir with licenses + @${RM} -r \ + ${STAGEDIR}${PREFIX}/manifests \ + ${STAGEDIR}${PREFIX}/news \ + ${STAGEDIR}${PREFIX}/docs \ + ${STAGEDIR}${DATADIR} + +.include diff --git a/astro/pal/distinfo b/astro/pal/distinfo new file mode 100644 index 000000000000..718c6209b8b2 --- /dev/null +++ b/astro/pal/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1661467182 +SHA256 (pal-0.9.8.tar.gz) = 191fde8c4f45d6807d4b011511344014966bb46e44029a4481d070cd5e7cc697 +SIZE (pal-0.9.8.tar.gz) = 1267834 diff --git a/astro/pal/pkg-descr b/astro/pal/pkg-descr new file mode 100644 index 000000000000..b882427b2962 --- /dev/null +++ b/astro/pal/pkg-descr @@ -0,0 +1,12 @@ +The PAL library is a partial re-implementation of Pat Wallace's popular SLALIB +library written in C using a Gnu GPL license and layered on top of the IAU's +SOFA library (or the BSD-licensed ERFA) where appropriate. PAL attempts to stick +to the SLA C API where possible although palObs() has a more C-like API than the +equivalent slaObs() function. In most cases it is enough to simply change the +function prefix of a routine in order to link against PAL rather than SLALIB. +Routines calling SOFA use modern notation and precession models so will return +slightly different answers than native SLALIB. PAL functions not available in +SOFA were ported from the Fortran version of SLALIB that ships as part of the +Starlink software and uses a GPL licence. + +WWW: https://github.com/Starlink/pal