PORTNAME=	gdstk
DISTVERSIONPREFIX=	v
DISTVERSION=	1.0.0
CATEGORIES=	cad

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	C++ library for creation and manipulation of GDSII and OASIS files
WWW=		https://heitzmann.github.io/gdstk/ \
		https://github.com/heitzmann/gdstk/

LICENSE=	BSL
LICENSE_FILE=	${WRKSRC}/LICENSE

LIB_DEPENDS=	libqhull_r.so:math/qhull

USES=		cmake compiler:c++17-lang

USE_GITHUB=	yes
GH_ACCOUNT=	heitzmann

CMAKE_ON=	BUILD_SHARED_LIBS

CONFLICTS_INSTALL=	vxl # both install lib/libclipper.so

.include <bsd.port.mk>
