The Clipper library primarily performs boolean clipping (intersection,

union, difference and xor) on polygons in 2D space. There are no
restrictions on either the number nor the type of polygon that can be
clipped. They can have holes, be self-intersecting and even have coincident
edges. The library also performs polygon offsetting

WWW: http://www.angusj.com/delphi/clipper.php

PR:		ports/175845
Submitted by:	Martin Dieringer <martin.dieringer@gmx.de>
This commit is contained in:
Martin Wilke 2013-02-12 12:11:04 +00:00
parent 7aa0a38bf0
commit bc211ca30d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=312105
5 changed files with 35 additions and 0 deletions

View File

@ -73,6 +73,7 @@
SUBDIR += chaco
SUBDIR += chryzodus
SUBDIR += clarence
SUBDIR += clipper
SUBDIR += cln
SUBDIR += clp
SUBDIR += coinmp

20
math/clipper/Makefile Normal file
View File

@ -0,0 +1,20 @@
# Created by: Martin Dieringer <martin.dieringer@gmx.de>
# $FreeBSD$
PORTNAME= clipperlib
PORTVERSION= 5.0.3
CATEGORIES= math
MASTER_SITES= SF
MASTER_SITE_SUBDIR= polyclipping
DISTNAME= clipper_ver${PORTVERSION}
MAINTAINER= martin.dieringer@gmx.de
COMMENT= Polygon clipping library
WRKSRC= ${WRKDIR}/cpp
USE_LDCONFIG= yes
USE_ZIP= yes
USE_CMAKE= yes
.include <bsd.port.mk>

2
math/clipper/distinfo Normal file
View File

@ -0,0 +1,2 @@
SHA256 (clipper_ver5.0.3.zip) = e48178e84b51b4ef7a1d13c0c6e1536e4e55ade71d893c26ba533915fc98fac3
SIZE (clipper_ver5.0.3.zip) = 1557310

7
math/clipper/pkg-descr Normal file
View File

@ -0,0 +1,7 @@
The Clipper library primarily performs boolean clipping (intersection,
union, difference and xor) on polygons in 2D space. There are no
restrictions on either the number nor the type of polygon that can be
clipped. They can have holes, be self-intersecting and even have coincident
edges. The library also performs polygon offsetting
WWW: http://www.angusj.com/delphi/clipper.php

5
math/clipper/pkg-plist Normal file
View File

@ -0,0 +1,5 @@
include/polyclipping/clipper.hpp
lib/libpolyclipping.so.5.0.0
lib/libpolyclipping.so.5
lib/libpolyclipping.so
@dirrmtry include/polyclipping