mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-19 00:13:33 +00:00
3d9a815d9c
The logic in USES=python will automatically convert this to 3.8+ by itself. Adjust two ports that only had Python 3.7 mentioned but build fine on Python 3.8 too. finance/quickfix: mark BROKEN with PYTHON libtool: compile: c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++ -DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable -Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi -Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings -Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x -MT _quickfix_la-QuickfixPython.lo -MD -MP -MF .deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp -fPIC -DPIC -o .libs/_quickfix_la-QuickfixPython.o warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found ^~~~~~~~~~ 1 warning and 1 error generated. Reviewed by: portmgr, vishwin, yuri Differential Revision: <https://reviews.freebsd.org/D40568>
55 lines
1.8 KiB
Makefile
55 lines
1.8 KiB
Makefile
PORTNAME= Cura
|
|
DISTVERSION= 4.13.1
|
|
PORTREVISION= 4
|
|
PORTEPOCH= 2
|
|
CATEGORIES= cad
|
|
DIST_SUBDIR= Ultimaker
|
|
|
|
MAINTAINER= db@FreeBSD.org
|
|
COMMENT= Slicing application for 3D printers
|
|
WWW= https://github.com/Ultimaker/Cura/wiki
|
|
|
|
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} \
|
|
${PYTHON_PKGNAMEPREFIX}keyring>0:security/py-keyring@${PY_FLAVOR} \
|
|
qt5-graphicaleffects>0:graphics/qt5-graphicaleffects \
|
|
qt5-quickcontrols>0:x11-toolkits/qt5-quickcontrols \
|
|
qt5-quickcontrols2>0:x11-toolkits/qt5-quickcontrols2 \
|
|
Uranium>=${DISTVERSION}:cad/uranium \
|
|
libCharon>=4.13.0:net/libcharon \
|
|
CuraEngine>=${DISTVERSION}:cad/cura-engine \
|
|
fdm_materials>=4.13.0:cad/fdm_materials \
|
|
${PYTHON_PKGNAMEPREFIX}trimesh>0:devel/py-trimesh@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}pynest2d>=4.12.1:devel/py-pynest2d@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}sentry-sdk>0:devel/py-sentry-sdk@${PY_FLAVOR} \
|
|
libArcus>=${DISTVERSION}:net/libarcus \
|
|
libSavitar>=${DISTVERSION}:devel/libsavitar
|
|
LIB_DEPENDS= libArcus.so:net/libarcus \
|
|
libSavitar.so:devel/libsavitar
|
|
|
|
USES= cmake gettext shebangfix python pyqt:5 \
|
|
desktop-file-utils shared-mime-info
|
|
USE_PYQT= pyqt5
|
|
CMAKE_ARGS+= -DURANIUM_SCRIPTS_DIR:STRING="${LOCALBASE}/share/uranium/scripts" \
|
|
-DCURA_VERSION=${DISTVERSION}
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= Ultimaker
|
|
NO_ARCH= yes
|
|
SHEBANG_FILES= cura_app.py
|
|
|
|
pre-configure:
|
|
${REINPLACE_CMD} -e 's|%%DISTVERSION%%|${DISTVERSION}|' \
|
|
${WRKSRC}/CMakeLists.txt
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} -e 's|%%PYTHON_CMD%%|${PYTHON_CMD}|' \
|
|
${WRKSRC}/cura_app.py
|
|
|
|
.include <bsd.port.mk>
|