aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/qt5-declarative/Makefile
blob: 9071c536a390f3d26d5c7b9ce95222a22275771a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# $FreeBSD$

PORTNAME=   declarative
DISTVERSION=    ${QT5_VERSION}
CATEGORIES= x11-toolkits
PKGNAMEPREFIX=  qt5-

MAINTAINER= kde@FreeBSD.org
COMMENT=    Qt declarative framework for dynamic user interfaces

USES=       compiler:c++11-lang gl python:build qmake:norecursive \
        qt-dist:5
USE_GL=     gl
USE_QT=     core gui network sql testlib \
        widgets xmlpatterns buildtools_build
USE_LDCONFIG=   ${PREFIX}/${QT_LIBDIR_REL}

CONFLICTS=  qt5-declarative-render2d-*

QT_DEFINES= ACCESSIBILITY
QT_CONFIG=  accessibility accessibility-atspi-bridge

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>