blob: 20881bf65149b7295665d4edaa6a745e5f3ca9b7 (
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
|
PORTNAME= pynest2d
# XXX there is no 4.13.1
DISTVERSION= 4.12.1
PORTREVISION= 3
CATEGORIES= devel python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= db@FreeBSD.org
COMMENT= CPython bindings for libnest2d by Ultimaker
WWW= https://github.com/Ultimaker/libnest2d
LICENSE= LGPL3
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${LOCALBASE}/include/libnest2d/libnest2d.hpp:devel/libnest2d-ultimaker
BUILD_DEPENDS= ${LOCALBASE}/include/libnest2d/libnest2d.hpp:devel/libnest2d-ultimaker \
sip:devel/py-sip4
LIB_DEPENDS= libpolyclipping.so:graphics/polyclipping \
libboost_system.so:devel/boost-libs \
libnlopt.so:math/nlopt
USES= python:3.6+ cmake compiler:c++11-lang pyqt:5 pkgconfig
USE_PYTHON= flavors
USE_GITHUB= yes
GH_TUPLE= Ultimaker:pynest2d:baec470
CMAKE_ARGS= -DLIBNEST2D_INCLUDE_DIRS=${PREFIX}/include/libnest2d
CONFIGURE_ENV= CLIPPER_PATH=${LOCALBASE} VERBOSE=y
.include <bsd.port.mk>
|