blob: 993520a121b0caeca614204c1531b5cae8298ca2 (
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
|
# $NetBSD: Makefile,v 1.50 2019/04/03 00:33:19 ryoon Exp $
DISTNAME= qttools-everywhere-src-${QTVERSION}
PKGNAME= qt5-qttools-${QTVERSION}
PKGREVISION= 1
COMMENT= Qt5 tools
DEPENDS+= xdg-utils-[0-9]*:../../misc/xdg-utils
MAKE_ENV+= QTDIR=${QTDIR}
INSTALL_ENV+= INSTALL_ROOT=${DESTDIR}
INSTALLATION_DIRS+= lib/pkgconfig
PKG_SUPPORTED_OPTIONS+= llvm
PKG_SUGGESTED_OPTIONS+= llvm
PLIST_VARS+= llvm
.include "../../x11/qt5-qtbase/Makefile.common"
.if !empty(PKG_OPTIONS:Mllvm)
PLIST.llvm= yes
MAKE_ENV+= LLVM_INSTALL_DIR=${BUILDLINK_PREFIX.clang}
.include "../../lang/clang/buildlink3.mk"
.endif
QTPKGCONFIGPC= Qt5Designer.pc Qt5Help.pc Qt5UiTools.pc
post-install:
.for i in ${QTPKGCONFIGPC}
cd ${DESTDIR}${PREFIX}/lib/pkgconfig && \
ln -f -s ${QTPREFIX}/lib/pkgconfig/${i} ${i}
.endfor
.include "../../x11/qt5-qtdeclarative/buildlink3.mk"
.include "../../x11/qt5-qtlocation/buildlink3.mk"
.include "../../x11/qt5-qtmultimedia/buildlink3.mk"
.include "../../x11/qt5-qtsensors/buildlink3.mk"
.include "../../x11/qt5-qtwebchannel/buildlink3.mk"
.include "../../x11/qt5-qtxmlpatterns/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|