1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-26 09:46:09 +00:00
freebsd-ports/graphics/polyclipping/Makefile
Tobias C. Berner 707c6bf295 Change cmake default behaviour to outsource.
Ports that build out of source now simply can use "USES=cmake"
instead of "USES=cmake:outsource". Ports that fail to build
out of source now need to specify "USES=cmake:insource".

I tried to only set insource where explictely needed.

PR:		232038
Exp-run by:	antoine
2018-12-25 20:25:39 +00:00

33 lines
721 B
Makefile

# 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>