Files
ports/devel/py-pynest2d/Makefile
T
Diane Bruce cfdef888cc N.B. this port does not use distutils hence flavors *was not* defined.
This only cropped up when integrating with cura itself.
My fault for missing this.

PR:		ports/251236
Submitted by:	Sebastian <sko@rostwald.de>
Approved by:	implicit
2021-01-16 16:23:04 +00:00

32 lines
877 B
Makefile

# $FreeBSD$
PORTNAME= pynest2d
DISTVERSION= 4.8.0
PORTREVISION= 1
CATEGORIES= devel python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= y@trombik.org
COMMENT= CPython bindings for libnest2d by Ultimaker
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
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:d31a381
USE_PYQT= sip pysip
CMAKE_ARGS= -DSIP_EXECUTABLE=${SIP} \
-DLIBNEST2D_INCLUDE_DIRS=${PREFIX}/include/libnest2d
CONFIGURE_ENV= CLIPPER_PATH=${LOCALBASE} VERBOSE=y
.include <bsd.port.mk>