git: 72badea7273d - main - math/R-cran-polyclip: New port
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 13 Oct 2025 08:27:49 UTC
The branch main has been updated by uzsolt:
URL: https://cgit.FreeBSD.org/ports/commit/?id=72badea7273da1b3fa58f8b1602982251ac7e527
commit 72badea7273da1b3fa58f8b1602982251ac7e527
Author: Zsolt Udvari <uzsolt@FreeBSD.org>
AuthorDate: 2025-10-13 08:26:56 +0000
Commit: Zsolt Udvari <uzsolt@FreeBSD.org>
CommitDate: 2025-10-13 08:27:35 +0000
math/R-cran-polyclip: New port
R port of Angus Johnson's open source library 'Clipper'. Performs polygon
clipping operations (intersection, union, set minus, set difference) for
polygonal regions of arbitrary complexity, including holes. Computes offset
polygons (spatial buffer zones, morphological dilations, Minkowski dilations)
for polygonal regions and polygonal lines. Computes Minkowski Sum of general
polygons. There is a function for removing self-intersections from polygon data.
---
math/Makefile | 1 +
math/R-cran-polyclip/Makefile | 14 ++++++++++++++
math/R-cran-polyclip/distinfo | 3 +++
math/R-cran-polyclip/pkg-descr | 6 ++++++
4 files changed, 24 insertions(+)
diff --git a/math/Makefile b/math/Makefile
index 53430a8c7182..076bb693bafd 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -118,6 +118,7 @@
SUBDIR += R-cran-pbkrtest
SUBDIR += R-cran-plot3D
SUBDIR += R-cran-pls
+ SUBDIR += R-cran-polyclip
SUBDIR += R-cran-polycor
SUBDIR += R-cran-polynom
SUBDIR += R-cran-pracma
diff --git a/math/R-cran-polyclip/Makefile b/math/R-cran-polyclip/Makefile
new file mode 100644
index 000000000000..bc0153feff28
--- /dev/null
+++ b/math/R-cran-polyclip/Makefile
@@ -0,0 +1,14 @@
+PORTNAME= polyclip
+DISTVERSION= 1.10-7
+CATEGORIES= math
+DISTNAME= ${PORTNAME}_${DISTVERSION}
+
+MAINTAINER= uzsolt@FreeBSD.org
+COMMENT= Polygon Clipping
+WWW= https://cran.r-project.org/package=${PORTNAME}
+
+LICENSE= BSL
+
+USES= cran:auto-plist,compiles
+
+.include <bsd.port.mk>
diff --git a/math/R-cran-polyclip/distinfo b/math/R-cran-polyclip/distinfo
new file mode 100644
index 000000000000..5c5b78686ced
--- /dev/null
+++ b/math/R-cran-polyclip/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1760329898
+SHA256 (polyclip_1.10-7.tar.gz) = f58eaac3a5b2f6711c0c5f12fff91cf80a245ae45878f7217880ab062b5550d3
+SIZE (polyclip_1.10-7.tar.gz) = 80102
diff --git a/math/R-cran-polyclip/pkg-descr b/math/R-cran-polyclip/pkg-descr
new file mode 100644
index 000000000000..eccd5e35ce53
--- /dev/null
+++ b/math/R-cran-polyclip/pkg-descr
@@ -0,0 +1,6 @@
+R port of Angus Johnson's open source library 'Clipper'. Performs polygon
+clipping operations (intersection, union, set minus, set difference) for
+polygonal regions of arbitrary complexity, including holes. Computes offset
+polygons (spatial buffer zones, morphological dilations, Minkowski dilations)
+for polygonal regions and polygonal lines. Computes Minkowski Sum of general
+polygons. There is a function for removing self-intersections from polygon data.