blob: 57e1d7964e27a23366a6af0cf3ec944169b011d1 (
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
36
37
38
39
40
41
42
43
44
45
|
# $NetBSD: Makefile,v 1.3 2014/01/04 11:58:40 wiz Exp $
PKGNAME= qt5-qttools-${QTVERSION}
PKGREVISION= 2
COMMENT= Qt5 tools
.include "../../x11/qt5-qtbase/Makefile.common"
DEPENDS+= xdg-utils-[0-9]*:../../misc/xdg-utils
USE_LIBTOOL= yes
CONFIGURE_ARGS+= -I${QTDIR}/include -L${QTDIR}/lib
BUILD_DIRS+= qttools
MAKE_ENV+= QTDIR=${QTDIR}
INSTALL_ENV+= INSTALL_ROOT=${DESTDIR}
INSTALLATION_DIRS+= lib/pkgconfig
QTPROG_BIN= assistant linguist qcollectiongenerator \
designer lrelease qhelpconverter \
lconvert lupdate qhelpgenerator
QTPKGCONFIGPC= Qt5CLucene.pc Qt5DesignerComponents.pc Qt5UiTools.pc \
Qt5Designer.pc Qt5Help.pc
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 ${QTPKGCONFIGPC}
${RM} -f ${DESTDIR}${PREFIX}/lib/pkgconfig/${i} && \
cd ${DESTDIR}${PREFIX}/lib/pkgconfig && \
ln -s ${QTPREFIX}/lib/pkgconfig/${i} ${i}
.endfor
.include "../../x11/qt5-qtbase/buildlink3.mk"
.include "../../x11/qt5-dbus/buildlink3.mk"
.include "../../x11/qt5-qtxmlpatterns/buildlink3.mk"
.include "../../x11/qt5-qtwebkit/buildlink3.mk"
.include "../../x11/qt5-sqlite3/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|