8a407cfe77
the package is still 4.7. as a proof, SHA256 in distinfo is identical. confusingly, the version in "About" says "master", not 4.8 nor 4.7. this PR should be reopened. (Tomoyuki Sakura) Apparently I forgot to remove a line causing the wrong cura version to be claimed as an update to 4.8 I think I have it right this time. Apologies I should have noticed. I'll take the pointyhat and go sit in the corner. PR: ports/251236 Submitted by: sko@rostwald.de Reported by: trombik1973@gmail.com
45 lines
1.3 KiB
Makefile
45 lines
1.3 KiB
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= Cura
|
|
DISTVERSION= 4.8
|
|
PORTREVISION= 2
|
|
PORTEPOCH= 2
|
|
CATEGORIES= cad
|
|
DIST_SUBDIR= Ultimaker
|
|
|
|
MAINTAINER= db@FreeBSD.org
|
|
COMMENT= Slicing application for 3D printers
|
|
|
|
LICENSE= AGPLv3
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
BUILD_DEPENDS= Uranium>0,1:cad/uranium
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}zeroconf>0:net/py-zeroconf@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}pyserial>0:comms/py-pyserial@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}Shapely>0:devel/py-shapely@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}numpy-stl>0:math/py-numpy-stl@${PY_FLAVOR} \
|
|
qt5-graphicaleffects>0:graphics/qt5-graphicaleffects \
|
|
qt5-quickcontrols>0:x11-toolkits/qt5-quickcontrols \
|
|
qt5-quickcontrols2>0:x11-toolkits/qt5-quickcontrols2 \
|
|
Uranium>0:cad/uranium \
|
|
libCharon>0:net/libcharon \
|
|
CuraEngine>0,1:cad/cura-engine \
|
|
fdm_materials>0,1:cad/fdm_materials \
|
|
${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.5+ pyqt:5 \
|
|
desktop-file-utils shared-mime-info
|
|
USE_PYQT= gui widgets qml
|
|
CMAKE_ARGS+= -DURANIUM_SCRIPTS_DIR:STRING="${LOCALBASE}/share/uranium/scripts"
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= Ultimaker
|
|
NO_ARCH= yes
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} -e 's|%%PYTHON_CMD%%|${PYTHON_CMD}|' \
|
|
${WRKSRC}/cura_app.py
|
|
|
|
.include <bsd.port.mk>
|