2020-03-26 00:03:41 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= Cura
|
2020-09-26 19:53:09 +00:00
|
|
|
DISTVERSION= 4.7.1
|
2020-04-12 23:04:13 +00:00
|
|
|
PORTEPOCH= 2
|
2020-03-26 00:03:41 +00:00
|
|
|
CATEGORIES= cad
|
|
|
|
DIST_SUBDIR= Ultimaker
|
|
|
|
|
2020-03-26 12:06:13 +00:00
|
|
|
MAINTAINER= db@FreeBSD.org
|
2020-03-26 00:03:41 +00:00
|
|
|
COMMENT= Slicing application for 3D printers
|
|
|
|
|
|
|
|
LICENSE= AGPLv3
|
|
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
|
2020-09-26 19:53:09 +00:00
|
|
|
BUILD_DEPENDS= Uranium>0,1:cad/uranium
|
2020-03-26 00:03:41 +00:00
|
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}qt5-gui>0:x11-toolkits/py-qt5-gui@${PY_FLAVOR} \
|
|
|
|
${PYTHON_PKGNAMEPREFIX}qt5-widgets>0:x11-toolkits/py-qt5-widgets@${PY_FLAVOR} \
|
|
|
|
${PYTHON_PKGNAMEPREFIX}qt5-qml>0:lang/py-qt5-qml@${PY_FLAVOR} \
|
|
|
|
${PYTHON_PKGNAMEPREFIX}zeroconf>0:net/py-zeroconf@${PY_FLAVOR} \
|
2020-06-27 09:37:50 +00:00
|
|
|
${PYTHON_PKGNAMEPREFIX}pyserial>0:comms/py-pyserial@${PY_FLAVOR} \
|
2020-03-26 00:03:41 +00:00
|
|
|
${PYTHON_PKGNAMEPREFIX}Shapely>0:devel/py-shapely@${PY_FLAVOR} \
|
2020-09-26 19:53:09 +00:00
|
|
|
${PYTHON_PKGNAMEPREFIX}numpy-stl>0:math/py-numpy-stl@${PY_FLAVOR} \
|
2020-03-27 13:08:25 +00:00
|
|
|
qt5-graphicaleffects>0:graphics/qt5-graphicaleffects \
|
2020-04-12 23:04:13 +00:00
|
|
|
qt5-quickcontrols>0:x11-toolkits/qt5-quickcontrols \
|
2020-03-27 13:08:25 +00:00
|
|
|
qt5-quickcontrols2>0:x11-toolkits/qt5-quickcontrols2 \
|
2020-03-26 00:03:41 +00:00
|
|
|
Uranium>0:cad/uranium \
|
|
|
|
libCharon>0:net/libcharon \
|
2020-09-26 19:53:09 +00:00
|
|
|
CuraEngine>0,1:cad/cura-engine \
|
|
|
|
fdm_materials>0,1:cad/fdm_materials \
|
2020-03-26 00:03:41 +00:00
|
|
|
${PYTHON_PKGNAMEPREFIX}trimesh>0:devel/py-trimesh@${PY_FLAVOR}
|
|
|
|
LIB_DEPENDS= libArcus.so:net/libarcus \
|
|
|
|
libSavitar.so:devel/libsavitar
|
|
|
|
|
|
|
|
USES= cmake gettext shebangfix python:3.4+ desktop-file-utils shared-mime-info
|
|
|
|
CMAKE_ARGS+= -DURANIUM_SCRIPTS_DIR:STRING="${LOCALBASE}/share/uranium/scripts"
|
|
|
|
USE_GITHUB= yes
|
|
|
|
GH_ACCOUNT= Ultimaker
|
2020-09-26 19:53:09 +00:00
|
|
|
GH_TAGNAME= d115efbb
|
2020-03-26 00:03:41 +00:00
|
|
|
NO_ARCH= yes
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
${REINPLACE_CMD} -e 's|%%PYTHON_CMD%%|${PYTHON_CMD}|' \
|
|
|
|
${WRKSRC}/cura_app.py
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|