mirror of
https://github.com/openbsd/ports.git
synced 2026-06-17 23:13:55 +02:00
Import cad/clipper2
The Clipper2 library performs intersection, union, difference and XOR boolean operations on both simple and complex polygons. It also performs polygon offsetting. OK with many improvements sthen@ and jtt@
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
COMMENT = library to perform boolean operations on polygons
|
||||
|
||||
V = 1.5.4
|
||||
PKGNAME = clipper2-${V}
|
||||
GH_ACCOUNT = AngusJohnson
|
||||
GH_PROJECT = Clipper2
|
||||
GH_TAGNAME = Clipper2_${V}
|
||||
|
||||
SHARED_LIBS += Clipper2 0.0 # 0.0
|
||||
SHARED_LIBS += Clipper2Z 0.0 # 0.0
|
||||
|
||||
CATEGORIES = cad
|
||||
|
||||
HOMEPAGE = https://www.angusj.com/clipper2
|
||||
|
||||
# Boost Software License 1.0
|
||||
PERMIT_PACKAGE = Yes
|
||||
|
||||
WANTLIB += ${COMPILER_LIBCXX} m
|
||||
|
||||
COMPILER = base-clang ports-gcc
|
||||
|
||||
MODULES = devel/cmake
|
||||
|
||||
WRKSRC = ${WRKDIST}/CPP
|
||||
|
||||
BUILD_DEPENDS = devel/gtest
|
||||
|
||||
CONFIGURE_ARGS = -DBUILD_SHARED_LIBS=ON \
|
||||
-DUSE_EXTERNAL_GTEST=ON \
|
||||
-DCLIPPER2_EXAMPLES=OFF
|
||||
|
||||
.include <bsd.port.mk>
|
||||
@@ -0,0 +1,2 @@
|
||||
SHA256 (Clipper2-Clipper2_1.5.4.tar.gz) = nYo1op0EzRt7RfVCwLpIAV/uzhIQA26p5O+q0xQK9LA=
|
||||
SIZE (Clipper2-Clipper2_1.5.4.tar.gz) = 625047
|
||||
@@ -0,0 +1,3 @@
|
||||
The Clipper2 library performs intersection, union, difference and
|
||||
XOR boolean operations on both simple and complex polygons. It also
|
||||
performs polygon offsetting.
|
||||
@@ -0,0 +1,28 @@
|
||||
include/clipper2/
|
||||
include/clipper2/Utils/
|
||||
include/clipper2/Utils/ClipFileLoad.h
|
||||
include/clipper2/Utils/ClipFileSave.h
|
||||
include/clipper2/Utils/Colors.h
|
||||
include/clipper2/Utils/CommonUtils.h
|
||||
include/clipper2/Utils/Timer.h
|
||||
include/clipper2/Utils/clipper.svg.h
|
||||
include/clipper2/clipper.core.h
|
||||
include/clipper2/clipper.engine.h
|
||||
include/clipper2/clipper.export.h
|
||||
include/clipper2/clipper.h
|
||||
include/clipper2/clipper.minkowski.h
|
||||
include/clipper2/clipper.offset.h
|
||||
include/clipper2/clipper.rectclip.h
|
||||
include/clipper2/clipper.version.h
|
||||
lib/cmake/
|
||||
lib/cmake/clipper2/
|
||||
lib/cmake/clipper2/Clipper2Config.cmake
|
||||
lib/cmake/clipper2/Clipper2ConfigVersion.cmake
|
||||
lib/cmake/clipper2/Clipper2Targets${MODCMAKE_BUILD_SUFFIX}
|
||||
lib/cmake/clipper2/Clipper2Targets.cmake
|
||||
@lib lib/libClipper2.so.${LIBClipper2_VERSION}
|
||||
@lib lib/libClipper2Z.so.${LIBClipper2Z_VERSION}
|
||||
@static-lib lib/libClipper2Zutils.a
|
||||
@static-lib lib/libClipper2utils.a
|
||||
lib/pkgconfig/Clipper2.pc
|
||||
lib/pkgconfig/Clipper2Z.pc
|
||||
Reference in New Issue
Block a user