1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-21 04:06:46 +00:00
freebsd-ports/lang/qt5-qml/Makefile
Tobias C. Berner ec341b21d1 Fix build on armv6
PR:		216735
Submitted by:	Mikaël Urankar <mikael.urankar at gmail.com>
2017-06-03 10:06:10 +00:00

34 lines
787 B
Makefile

# $FreeBSD$
PORTNAME= qml
DISTVERSION= ${QT5_VERSION}
PORTREVISION= 1
CATEGORIES= lang
PKGNAMEPREFIX= qt5-
MAINTAINER= kde@FreeBSD.org
COMMENT= Qt QML and JavaScript language module
BROKEN_powerpc64= Does not build
USE_QT5= core network buildtools_build
QT_DIST= declarative
USES= python:build qmake
USE_LDCONFIG= ${PREFIX}/${QT_LIBDIR_REL}
BUILD_WRKSRC= ${WRKSRC}/src
INSTALL_WRKSRC= ${WRKSRC}/src
post-patch:
# tools/tools.pro will be processed automatically unless it does not exist.
${RM} -r ${WRKSRC}/tools
${REINPLACE_CMD} 's,python,${PYTHON_CMD},g' \
${WRKSRC}/src/3rdparty/masm/masm.pri
# qtdeclarative.pro wants to run python, replace that with PYTHON_CMD
${REINPLACE_CMD} '/py_out/s#python#${PYTHON_CMD}#g' \
${WRKSRC}/qtdeclarative.pro
.include <bsd.port.mk>