From nobody Mon Nov 21 12:38:58 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 4NG6QB3rmDz4hwNk; Mon, 21 Nov 2022 12:38:58 +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 4NG6QB3JVwz41Zc; Mon, 21 Nov 2022 12:38:58 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1669034338; 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=8kOr2a4QPhZAVvFpiEZblfXtCbsIfXU1Y4sA8KEtffA=; b=e8+iC/vW82nddpWo1IAp9OSQzlAlOXzkgXimg9E2W9Uki3G9x9LRheZr5YQwPjiXTo7LEU Og3iGZoAUkOWJ3slSI2KCc+XHeCCwbA/OlPcoulDiiphGdcXGl9kTdbwiwfQIjdimJ70OB PJv3LkbKvQgAXGMqoZgFm7AX4Jstll7QYzB/rzTWW1SZ9nmg83quSVcxLflCZJ9pB4qYgn IxQpsnAHnaCp1EPMgziUpNKElEWiO3+wqoDUOfRr1/cG54SHATJ8lmdPJZCF+ljeGA/2tM PQ+Gc/wvSksdddWY0isSwQ/5MRj0G8oImxEY5xuil2YmjFNBAX8FD/Ds5Byukw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1669034338; 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=8kOr2a4QPhZAVvFpiEZblfXtCbsIfXU1Y4sA8KEtffA=; b=SrYUvp3qf3W17RttAsKIIbX0eMA3ukhAV21veISt8MEASVzao7R5SUPSOFMl6LjZOGfw4W WqgevG71ySLQ8WX0yTyX+VDWIoR2Q6w6BXNcmyY7swXOYZxry9dcLwct7mpqRANkYhQi82 eMZ1EUHcSBvKL/Z/QIfWrt/Lk8P5ImbgMz1R6emHXbp71qYELBucwpLgu8TxY9NoWB/RMD O38Y5ONuwYd9n8holLfyIjxStNunfO+W5vzwWRj4xycC3l5lpF+xJ3KccaJUhsOVCYAp4Z 7pOcSbs1hHmSO+CagUydZgkSd8zAY95FynylESpQOIhXxyOLo7PimgvbVMmHuw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1669034338; a=rsa-sha256; cv=none; b=QSyfkJ1s2kq1JJJ/CNoaWet//Tcj/85yqo+cPlJbX0RhgLKmDkcBlCMkt9dQumi+OKwV+V q7ZqZBT1xb/m42MCv739iJHnko1m0Z3mlq/96WYxFx6QjtSxjyJ5Ul5IfRtqoMokFx7VBd 5R67X0aTWGS2UgvN2k4p7rYmKiWEtETD44RmTI8gxV68Llv+EqJOellO4Of3sBPyB1gazJ F9N1rPK33UbPIIgQ8o3U2QqQ8z2mj5MKxUHqIc+0LJtK00NSuDeL6TQ6TLKB+Vitue564S LpvDF/sWlurgXKE5tHTBfpve0eoZzFHMk24DHPGs0vgSTPV8aDKNOK3/6E+NVQ== 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 4NG6QB29lfz13pr; Mon, 21 Nov 2022 12:38:58 +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 2ALCcw8W070043; Mon, 21 Nov 2022 12:38:58 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2ALCcwIC070042; Mon, 21 Nov 2022 12:38:58 GMT (envelope-from git) Date: Mon, 21 Nov 2022 12:38:58 GMT Message-Id: <202211211238.2ALCcwIC070042@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Wen Heping Subject: git: 26024f6b780d - main - science/p5-Geo-Calc: Add new port 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: wen X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 26024f6b780d992dd909b4d8d16267ed4e61ab2c Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by wen: URL: https://cgit.FreeBSD.org/ports/commit/?id=26024f6b780d992dd909b4d8d16267ed4e61ab2c commit 26024f6b780d992dd909b4d8d16267ed4e61ab2c Author: Wen Heping AuthorDate: 2022-11-21 12:37:54 +0000 Commit: Wen Heping CommitDate: 2022-11-21 12:37:54 +0000 science/p5-Geo-Calc: Add new port Geo::Calc implements a variety of calculations for latitude/longitude points. All these formulare are for calculations on the basis of a spherical earth (ignoring ellipsoidal effects) which is accurate enough* for most purposes. --- science/Makefile | 1 + science/p5-Geo-Calc/Makefile | 27 +++++++++++++++++++++++++++ science/p5-Geo-Calc/distinfo | 3 +++ science/p5-Geo-Calc/pkg-descr | 4 ++++ science/p5-Geo-Calc/pkg-plist | 2 ++ 5 files changed, 37 insertions(+) diff --git a/science/Makefile b/science/Makefile index fd0c77a0d89f..d03c526d0235 100644 --- a/science/Makefile +++ b/science/Makefile @@ -247,6 +247,7 @@ SUBDIR += p5-Chemistry-Reaction SUBDIR += p5-Chemistry-Ring SUBDIR += p5-Geo-BUFR + SUBDIR += p5-Geo-Calc SUBDIR += p5-Geo-Coordinates-Converter SUBDIR += p5-Geo-Coordinates-Converter-iArea SUBDIR += p5-Geo-WebService-Elevation-USGS diff --git a/science/p5-Geo-Calc/Makefile b/science/p5-Geo-Calc/Makefile new file mode 100644 index 000000000000..467bf1214bae --- /dev/null +++ b/science/p5-Geo-Calc/Makefile @@ -0,0 +1,27 @@ +PORTNAME= Geo-Calc +PORTVERSION= 0.12 +CATEGORIES= science perl5 +MASTER_SITES= CPAN +MASTER_SITE_SUBDIR= CPAN:ASP +PKGNAMEPREFIX= p5- + +MAINTAINER= wen@FreeBSD.org +COMMENT= Simple geo calculator for points and distances +WWW= https://metacpan.org/release/Geo-Calc + +LICENSE= ART10 GPLv1+ +LICENSE_COMB= dual + +BUILD_DEPENDS= ${RUN_DEPENDS} +RUN_DEPENDS= p5-Moose>=0:devel/p5-Moose \ + p5-MooseX-FollowPBP>=0.04:devel/p5-MooseX-FollowPBP \ + p5-MooseX-Method-Signatures>=0.36:devel/p5-MooseX-Method-Signatures \ + p5-Math-BigInt>=1.60:math/p5-Math-BigInt \ + p5-Math-Complex>=1.04:math/p5-Math-Complex \ + p5-Math-Units>=1.3:math/p5-Math-Units + +NO_ARCH= yes +USES= perl5 +USE_PERL5= configure + +.include diff --git a/science/p5-Geo-Calc/distinfo b/science/p5-Geo-Calc/distinfo new file mode 100644 index 000000000000..8c7e989371f7 --- /dev/null +++ b/science/p5-Geo-Calc/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1666012786 +SHA256 (Geo-Calc-0.12.tar.gz) = 85fd7edc7dad86751db776eefaa6c31f97507f7dc907c5db2d949ccee7441c29 +SIZE (Geo-Calc-0.12.tar.gz) = 8739 diff --git a/science/p5-Geo-Calc/pkg-descr b/science/p5-Geo-Calc/pkg-descr new file mode 100644 index 000000000000..bb65e378b9b1 --- /dev/null +++ b/science/p5-Geo-Calc/pkg-descr @@ -0,0 +1,4 @@ +Geo::Calc implements a variety of calculations for latitude/longitude points. + +All these formulare are for calculations on the basis of a spherical earth +(ignoring ellipsoidal effects) which is accurate enough* for most purposes. diff --git a/science/p5-Geo-Calc/pkg-plist b/science/p5-Geo-Calc/pkg-plist new file mode 100644 index 000000000000..71ddb2d09ad1 --- /dev/null +++ b/science/p5-Geo-Calc/pkg-plist @@ -0,0 +1,2 @@ +%%SITE_PERL%%/Geo/Calc.pm +%%PERL5_MAN3%%/Geo::Calc.3.gz