blob: c324f3e933d517a26ac56733cd6633fae18249f5 (
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
|
# $NetBSD: Makefile,v 1.22 2018/04/11 11:50:39 markd Exp $
DISTNAME= kdelibs4support-${KF5VER}
CATEGORIES= devel
HOMEPAGE= https://community.kde.org/Frameworks
COMMENT= Porting aid from KDELibs4
LICENSE= gnu-gpl-v2 AND gnu-lgpl-v2.1
.include "../../meta-pkgs/kde/kf5.mk"
MASTER_SITES= ${MASTER_SITE_KDE:=frameworks/5.44/portingAids/}
BUILD_DEPENDS+= kdoctools>=${KF5VER}:../../devel/kdoctools
BUILD_DEPENDS+= p5-URI-[0-9]*:../../www/p5-URI
DEPENDS+= kded>=${KF5VER}:../../x11/kded
DEPENDS+= kdesignerplugin>=${KF5VER}:../../x11/kdesignerplugin
USE_TOOLS+= perl:run pkg-config msgfmt
REPLACE_PERL+= src/kio/fileshareset
SUBST_CLASSES+= xdg
SUBST_STAGE.xdg= pre-configure
SUBST_MESSAGE.xdg= Install via examples dir.
SUBST_FILES.xdg= src/CMakeLists.txt
SUBST_FILES.xdg+= src/kssl/kssl/CMakeLists.txt
SUBST_SED.xdg= -e 's:{KDE_INSTALL_CONFDIR}:{KDE_INSTALL_XDG_EX_DIR}:'
MAKE_DIRS+= ${PKG_SYSCONFDIR}/xdg/colors
CONF_FILES+= ${PREFIX}/share/examples/kde-xdg/kdebug.areas \
${PKG_SYSCONFDIR}/xdg/kdebug.areas
CONF_FILES+= ${PREFIX}/share/examples/kde-xdg/kdebugrc \
${PKG_SYSCONFDIR}/xdg/kdebugrc
CONF_FILES+= ${PREFIX}/share/examples/kde-xdg/ksslcalist \
${PKG_SYSCONFDIR}/xdg/ksslcalist
CONF_FILES+= ${PREFIX}/share/examples/kde-xdg/colors/40.colors \
${PKG_SYSCONFDIR}/xdg/colors/40.colors
CONF_FILES+= ${PREFIX}/share/examples/kde-xdg/colors/Oxygen.colors \
${PKG_SYSCONFDIR}/xdg/colors/Oxygen.colors
CONF_FILES+= ${PREFIX}/share/examples/kde-xdg/colors/Rainbow.colors \
${PKG_SYSCONFDIR}/xdg/colors/Rainbow.colors
CONF_FILES+= ${PREFIX}/share/examples/kde-xdg/colors/Royal.colors \
${PKG_SYSCONFDIR}/xdg/colors/Royal.colors
CONF_FILES+= ${PREFIX}/share/examples/kde-xdg/colors/Web.colors \
${PKG_SYSCONFDIR}/xdg/colors/Web.colors
SUBST_CLASSES+= fix-moc
SUBST_STAGE.fix-moc= post-configure
SUBST_MESSAGE.fix-moc= Cleaning up MOC includes
SUBST_FILES.fix-moc= _KDE_build/src/solid-networkstatus/kded/CMakeFiles/kded_networkstatus_autogen.dir/AutogenInfo.cmake
SUBST_FILES.fix-moc+= _KDE_build/autotests/CMakeFiles/klibloadertestmodule5_autogen.dir/AutogenInfo.cmake
SUBST_SED.fix-moc= -e 's,;${PREFIX}/include;,;,g'
.include "../../misc/kemoticons/buildlink3.mk"
.include "../../devel/kitemmodels/buildlink3.mk"
.include "../../misc/kunitconversion/buildlink3.mk"
.include "../../devel/kparts/buildlink3.mk"
.include "../../x11/qt5-qtbase/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|