summaryrefslogtreecommitdiff
path: root/graphics/polyclipping/Makefile
blob: b9f937f308297202160095184830943294f1fcee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Created by: Nikolay Korotkiy <sikmir@gmail.com>
# $FreeBSD$

PORTNAME=	polyclipping
PORTVERSION=	6.4.2
CATEGORIES=	graphics
MASTER_SITES=	SF/${PORTNAME}
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 zip
USE_LDCONFIG=	yes

NO_WRKSUBDIR=	yes

CMAKE_SOURCE_PATH=	${WRKSRC}/cpp

PLIST_FILES=	include/polyclipping/clipper.hpp \
		lib/libpolyclipping.so \
		lib/libpolyclipping.so.22 \
		lib/libpolyclipping.so.22.0.0 \
		libdata/pkgconfig/polyclipping.pc

post-patch:
	@${REINPLACE_CMD} -e 's|share/pkgconfig|libdata/pkgconfig|' ${WRKSRC}/cpp/CMakeLists.txt

.include <bsd.port.mk>