svn commit: r426692 - in head/graphics: . polyclipping

Olivier Duchateau olivierd at FreeBSD.org
Mon Nov 21 06:42:04 UTC 2016


Author: olivierd
Date: Mon Nov 21 06:42:03 2016
New Revision: 426692
URL: https://svnweb.freebsd.org/changeset/ports/426692

Log:
  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/
  
  PR:		214583
  Submitted by:	Nikolay Korotkiy

Added:
  head/graphics/polyclipping/
  head/graphics/polyclipping/Makefile   (contents, props changed)
  head/graphics/polyclipping/distinfo   (contents, props changed)
  head/graphics/polyclipping/pkg-descr   (contents, props changed)
Modified:
  head/graphics/Makefile

Modified: head/graphics/Makefile
==============================================================================
--- head/graphics/Makefile	Mon Nov 21 06:41:32 2016	(r426691)
+++ head/graphics/Makefile	Mon Nov 21 06:42:03 2016	(r426692)
@@ -804,6 +804,7 @@
     SUBDIR += pngrewrite
     SUBDIR += pngwriter
     SUBDIR += podofo
+    SUBDIR += polyclipping
     SUBDIR += poppler
     SUBDIR += poppler-data
     SUBDIR += poppler-glib

Added: head/graphics/polyclipping/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/polyclipping/Makefile	Mon Nov 21 06:42:03 2016	(r426692)
@@ -0,0 +1,32 @@
+# Created by: Nikolay Korotkiy <sikmir at gmail.com>
+# $FreeBSD$
+
+PORTNAME=	polyclipping
+PORTVERSION=	6.1.3a
+CATEGORIES=	graphics
+MASTER_SITES=	http://downloads.sourceforge.net/polyclipping/
+DISTNAME=	clipper_ver${PORTVERSION}
+
+MAINTAINER=	sikmir at 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 \
+		libdata/pkgconfig/polyclipping.pc
+
+post-patch:
+	@${REINPLACE_CMD} -e 's|share/pkgconfig|libdata/pkgconfig|' ${WRKSRC}/cpp/CMakeLists.txt
+
+.include <bsd.port.mk>

Added: head/graphics/polyclipping/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/polyclipping/distinfo	Mon Nov 21 06:42:03 2016	(r426692)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1479710414
+SHA256 (clipper_ver6.1.3a.zip) = 5928e483bbba726eaa6197bfe33d05b7738e47f93450412ec78d6df5c2fd16e8
+SIZE (clipper_ver6.1.3a.zip) = 2216993

Added: head/graphics/polyclipping/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/polyclipping/pkg-descr	Mon Nov 21 06:42:03 2016	(r426692)
@@ -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/


More information about the svn-ports-all mailing list