blob: 523b07a57ba36f94e76aec5d8696164ef4f912aa (
plain)
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
31
32
33
34
35
|
# $NetBSD: Makefile,v 1.7 2014/08/24 07:30:50 wiz Exp $
PKGNAME= qt5-qtdeclarative-${QTVERSION}
PKGREVISION= 1
COMMENT= Qt5 module for declarative framework
.include "../../x11/qt5-qtbase/Makefile.common"
USE_LIBTOOL= yes
CONFIGURE_ARGS+= -I${QTDIR}/include -L${QTDIR}/lib
BUILD_DIRS= qtdeclarative
BUILD_TARGET= sub-tools
INSTALL_ENV+= INSTALL_ROOT=${DESTDIR}
INSTALLATION_DIRS+= lib/pkgconfig
QTPROG_BIN= qmlbundle qmlmin qmlplugindump qmlprofiler \
qmlscene qmltestrunner
post-install:
.for prog in ${QTPROG_BIN}
${LIBTOOL} --mode=install ${INSTALL_PROGRAM} \
${WRKSRC}/${BUILD_DIRS}/bin/${prog} \
${DESTDIR}${QTPREFIX}/bin/${prog}
.endfor
.for i in Qt5Qml.pc Qt5QmlDevTools.pc Qt5Quick.pc Qt5QuickParticles.pc \
Qt5QuickTest.pc
${RM} -f ${DESTDIR}${PREFIX}/lib/pkgconfig/${i} && \
cd ${DESTDIR}${PREFIX}/lib/pkgconfig && \
ln -s ${QTPREFIX}/lib/pkgconfig/${i} ${i}
.endfor
.include "../../x11/qt5-qtxmlpatterns/buildlink3.mk"
.include "../../lang/python/tool.mk"
.include "../../mk/bsd.pkg.mk"
|