freebsd-ports/x11-toolkits/qt5-declarative/Makefile
Felix Palmen ddae4e92d8 Mk/Uses: always use colon for build/run suffix
Most USES use a colon for build/run(/test) suffixes. Change kde.mk,
qt.mk and pyqt.mk to do the same, and update all ports using that.

Document in CHANGES.

PR:			266034
Exp-run by:		antoine
Approved by:		tcberner (mentor)
Differential Revision:	https://reviews.freebsd.org/D36349
2022-09-11 12:20:14 +02:00

33 lines
988 B
Makefile

PORTNAME= declarative
PORTVERSION= ${QT5_VERSION}${QT5_KDE_PATCH}
CATEGORIES= x11-toolkits
PKGNAMEPREFIX= qt5-
MAINTAINER= kde@FreeBSD.org
COMMENT= Qt declarative framework for dynamic user interfaces
WWW= https://qt-project.org
USES= compiler:c++11-lang gl python:build qmake:norecursive \
qt-dist:5
USE_GL= gl
USE_QT= core gui network sql widgets \
buildtools:build
CONFLICTS= qt5-declarative-render2d-* qt5-qml qt5-quick
BINARY_ALIAS= python=${PYTHON_CMD}
QT_BINARIES= yes
QT_DEFINES= ACCESSIBILITY
QT_CONFIG= accessibility accessibility-atspi-bridge
TOOLS= qml qmlcachegen qmleasing qmlformat qmlimportscanner qmllint qmlmin \
qmlplugindump qmlpreview qmlprofiler qmlscene qmltyperegistrar
post-patch:
# qtdeclarative.pro wants to run python, replace that with PYTHON_CMD
${REINPLACE_CMD} '/py_out/s#python#${PYTHON_CMD}#g' \
${WRKSRC}/qtdeclarative.pro
${REINPLACE_CMD} 's,python,${PYTHON_CMD},g' \
${WRKSRC}/src/3rdparty/masm/masm.pri
.include <bsd.port.mk>