mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-21 04:06:46 +00:00
ec341b21d1
PR: 216735 Submitted by: Mikaël Urankar <mikael.urankar at gmail.com>
34 lines
787 B
Makefile
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>
|