Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 May 2024 17:23:16 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: ce190fe74df3 - main - graphics/pecl-geospatial: Add pecl-geospatial 0.3.2
Message-ID:  <202405191723.44JHNGmP057855@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=ce190fe74df32e39f8462071a327c5dd8e6d0f5b

commit ce190fe74df32e39f8462071a327c5dd8e6d0f5b
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-05-19 15:45:29 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-05-19 17:14:59 +0000

    graphics/pecl-geospatial: Add pecl-geospatial 0.3.2
    
    geospatial is a PHP Extension to handle common geospatial functions. The
    extension currently has implementations of the Haversine and Vincenty's formulas
    for calculating distances, an initial bearing calculation function, a Helmert
    transformation function to transfer between different supported datums,
    conversions between polar and Cartesian coordinates, conversions between
    Degree/Minute/Seconds and decimal degrees, a method to simplify linear
    geometries, as well as a method to calculate intermediate points on a
    LineString.
---
 graphics/Makefile                  |  1 +
 graphics/pecl-geospatial/Makefile  | 15 +++++++++++++++
 graphics/pecl-geospatial/distinfo  |  3 +++
 graphics/pecl-geospatial/pkg-descr |  8 ++++++++
 4 files changed, 27 insertions(+)

diff --git a/graphics/Makefile b/graphics/Makefile
index b94e0d260f71..493e7685792a 100644
--- a/graphics/Makefile
+++ b/graphics/Makefile
@@ -788,6 +788,7 @@
     SUBDIR += pear-Image_Graph
     SUBDIR += pear-Image_GraphViz
     SUBDIR += pear-Image_Transform
+    SUBDIR += pecl-geospatial
     SUBDIR += pecl-imagick
     SUBDIR += pecl-qrencode
     SUBDIR += pecl-vips
diff --git a/graphics/pecl-geospatial/Makefile b/graphics/pecl-geospatial/Makefile
new file mode 100644
index 000000000000..77d642457627
--- /dev/null
+++ b/graphics/pecl-geospatial/Makefile
@@ -0,0 +1,15 @@
+PORTNAME=	geospatial
+PORTVERSION=	0.3.2
+CATEGORIES=	graphics
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	PHP Extension to handle common geospatial functions
+WWW=		https://pecl.php.net/package/geospatial \
+		https://github.com/php-geospatial/geospatial
+
+LICENSE=	PHP301
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+USES=		php:pecl
+
+.include <bsd.port.mk>
diff --git a/graphics/pecl-geospatial/distinfo b/graphics/pecl-geospatial/distinfo
new file mode 100644
index 000000000000..da24860c53f9
--- /dev/null
+++ b/graphics/pecl-geospatial/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1715842482
+SHA256 (PECL/geospatial-0.3.2.tgz) = 3b704d44c4851f04da78ceafca14358257345b8a22d71b2fa0bd5ac705475449
+SIZE (PECL/geospatial-0.3.2.tgz) = 12502
diff --git a/graphics/pecl-geospatial/pkg-descr b/graphics/pecl-geospatial/pkg-descr
new file mode 100644
index 000000000000..d11a5b7be9a3
--- /dev/null
+++ b/graphics/pecl-geospatial/pkg-descr
@@ -0,0 +1,8 @@
+geospatial is a PHP Extension to handle common geospatial functions. The
+extension currently has implementations of the Haversine and Vincenty's formulas
+for calculating distances, an initial bearing calculation function, a Helmert
+transformation function to transfer between different supported datums,
+conversions between polar and Cartesian coordinates, conversions between
+Degree/Minute/Seconds and decimal degrees, a method to simplify linear
+geometries, as well as a method to calculate intermediate points on a
+LineString.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202405191723.44JHNGmP057855>