2018-04-14 09:33:52 +02:00
|
|
|
# $NetBSD: Makefile,v 1.22 2018/04/14 07:34:03 adam Exp $
|
2016-08-22 00:33:12 +02:00
|
|
|
|
|
|
|
DISTNAME= khtml-${KF5VER}
|
2018-04-14 09:33:52 +02:00
|
|
|
PKGREVISION= 1
|
2016-08-22 00:33:12 +02:00
|
|
|
CATEGORIES= www
|
|
|
|
|
|
|
|
HOMEPAGE= https://community.kde.org/Frameworks
|
|
|
|
COMMENT= HTML rendering engine
|
|
|
|
LICENSE= gnu-gpl-v3 AND gnu-lgpl-v2.1
|
|
|
|
|
2018-04-11 13:50:34 +02:00
|
|
|
.include "../../meta-pkgs/kde/kf5.mk"
|
|
|
|
MASTER_SITES= ${MASTER_SITE_KDE:=frameworks/5.44/portingAids/}
|
2016-08-22 00:33:12 +02:00
|
|
|
|
2016-09-06 22:54:31 +02:00
|
|
|
USE_TOOLS+= perl msgfmt
|
2016-08-22 00:33:12 +02:00
|
|
|
|
|
|
|
# generation of kded.moc fails when ${PREFIX}/include in the moc include path
|
|
|
|
SUBST_CLASSES+= fix-moc
|
|
|
|
SUBST_STAGE.fix-moc= post-configure
|
|
|
|
SUBST_MESSAGE.fix-moc= Cleaning up MOC includes
|
2018-01-17 21:13:38 +01:00
|
|
|
SUBST_FILES.fix-moc= _KDE_build/src/CMakeFiles/khtmlpart_autogen.dir/AutogenInfo.cmake
|
|
|
|
SUBST_FILES.fix-moc+= _KDE_build/src/CMakeFiles/khtmlimagepart_autogen.dir/AutogenInfo.cmake
|
|
|
|
SUBST_FILES.fix-moc+= _KDE_build/src/kmultipart/CMakeFiles/kmultipart_autogen.dir/AutogenInfo.cmake
|
2016-08-22 00:33:12 +02:00
|
|
|
SUBST_SED.fix-moc= -e 's,;${PREFIX}/include;,;,g'
|
|
|
|
|
2018-01-30 10:24:25 +01:00
|
|
|
SUBST_CLASSES+= xdg
|
2018-02-07 16:35:09 +01:00
|
|
|
SUBST_STAGE.xdg= pre-configure
|
2018-01-30 10:24:25 +01:00
|
|
|
SUBST_MESSAGE.xdg= Install via examples dir.
|
2018-04-11 13:50:34 +02:00
|
|
|
SUBST_FILES.xdg= CMakeLists.txt src/CMakeLists.txt
|
|
|
|
SUBST_SED.xdg= -e 's:{KDE_INSTALL_CONFDIR}:{KDE_INSTALL_XDG_EX_DIR}:'
|
2018-01-30 10:24:25 +01:00
|
|
|
|
2016-08-22 00:33:12 +02:00
|
|
|
MAKE_DIRS+= ${PKG_SYSCONFDIR}/xdg
|
|
|
|
CONF_FILES+= ${PREFIX}/share/examples/kde-xdg/khtmlrc \
|
|
|
|
${PKG_SYSCONFDIR}/xdg/khtmlrc
|
2018-04-11 13:50:34 +02:00
|
|
|
CONF_FILES+= ${PREFIX}/share/examples/kde-xdg/khtml.categories \
|
|
|
|
${PKG_SYSCONFDIR}/xdg/khtml.categories
|
2016-08-22 00:33:12 +02:00
|
|
|
|
2018-04-01 06:27:29 +02:00
|
|
|
.include "../../devel/gperf/buildlink3.mk"
|
2016-08-22 00:33:12 +02:00
|
|
|
.include "../../graphics/giflib/buildlink3.mk"
|
|
|
|
.include "../../security/openssl/buildlink3.mk"
|
|
|
|
.include "../../www/kjs/buildlink3.mk"
|
|
|
|
.include "../../devel/kparts/buildlink3.mk"
|
|
|
|
.include "../../x11/qt5-qtbase/buildlink3.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|