kconfigwidgets: Handle categories file correctly.

This commit is contained in:
jperkin 2018-02-07 15:37:30 +00:00
parent e54cefee7e
commit dd597c49a2
2 changed files with 13 additions and 2 deletions

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.12 2018/01/24 19:06:11 markd Exp $
# $NetBSD: Makefile,v 1.13 2018/02/07 15:37:30 jperkin Exp $
DISTNAME= kconfigwidgets-${KF5VER}
PKGREVISION= 1
@ -16,6 +16,16 @@ USE_TOOLS+= perl:run msgmerge
REPLACE_PERL+= src/preparetips5
SUBST_CLASSES+= xdg
SUBST_STAGE.xdg= pre-configure
SUBST_MESSAGE.xdg= Install via examples dir.
SUBST_FILES.xdg= CMakeLists.txt
SUBST_SED.xdg= -e 's:{KDE_INSTALL_CONFDIR}:{KDE_INSTALL_DATAROOTDIR}/examples/kde-xdg:'
MAKE_DIRS+= ${PKG_SYSCONFDIR}/xdg
CONF_FILES+= ${PREFIX}/share/examples/kde-xdg/kconfigwidgets.categories \
${PKG_SYSCONFDIR}/xdg/kconfigwidgets.categories
.include "../../lang/python/tool.mk"
.include "../../devel/kconfig/buildlink3.mk"
.include "../../devel/ki18n/buildlink3.mk"

View file

@ -1,4 +1,4 @@
@comment $NetBSD: PLIST,v 1.3 2018/01/17 20:16:57 markd Exp $
@comment $NetBSD: PLIST,v 1.4 2018/02/07 15:37:30 jperkin Exp $
bin/preparetips5
include/KF5/KConfigWidgets/KCModule
include/KF5/KConfigWidgets/KCodecAction
@ -50,6 +50,7 @@ man/ru/man1/preparetips5.1
man/sv/man1/preparetips5.1
man/uk/man1/preparetips5.1
qt5/mkspecs/modules/qt_KConfigWidgets.pri
share/examples/kde-xdg/kconfigwidgets.categories
share/locale/af/LC_MESSAGES/kconfigwidgets5.mo
share/locale/af/kf5_entry.desktop
share/locale/ar/LC_MESSAGES/kconfigwidgets5.mo