diff --git c/graphics/polyclipping/Makefile i/graphics/polyclipping/Makefile new file mode 100644 index 0000000..a8b28ec --- /dev/null +++ i/graphics/polyclipping/Makefile @@ -0,0 +1,29 @@ +# Created by: Nikolay Korotkiy +# $FreeBSD$ + +PORTNAME= polyclipping +PORTVERSION= 6.1.3a +CATEGORIES= graphics +MASTER_SITES= http://downloads.sourceforge.net/polyclipping/ +DISTNAME= clipper_ver${PORTVERSION} + +MAINTAINER= sikmir@gmail.com +COMMENT= Polygon and line clipping and offsetting library + +LICENSE= BSL +LICENSE_FILE= ${WRKSRC}/License.txt + +USES= cmake:outsource zip +USE_LDCONFIG= yes + +NO_WRKSUBDIR= yes + +CMAKE_SOURCE_PATH= ${WRKSRC}/cpp + +PLIST_FILES= include/polyclipping/clipper.hpp \ + lib/libpolyclipping.so \ + lib/libpolyclipping.so.16 \ + lib/libpolyclipping.so.16.0.0 \ + share/pkgconfig/polyclipping.pc + +.include diff --git c/graphics/polyclipping/distinfo i/graphics/polyclipping/distinfo new file mode 100644 index 0000000..8dc46ff --- /dev/null +++ i/graphics/polyclipping/distinfo @@ -0,0 +1,2 @@ +SHA256 (clipper_ver6.1.3a.zip) = 5928e483bbba726eaa6197bfe33d05b7738e47f93450412ec78d6df5c2fd16e8 +SIZE (clipper_ver6.1.3a.zip) = 2216993 diff --git c/graphics/polyclipping/pkg-descr i/graphics/polyclipping/pkg-descr new file mode 100644 index 0000000..c6a1548 --- /dev/null +++ i/graphics/polyclipping/pkg-descr @@ -0,0 +1,8 @@ +polyclipping - Polygon and line clipping and offsetting library. + +The Clipper library performs clipping and offsetting for both +lines and polygons. All four boolean clipping operations are +supported - intersection, union, difference and exclusive-or. +Polygons can be of any shape including self-intersecting polygons. + +WWW: http://sourceforge.net/projects/polyclipping/