pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc/kcodecs kcodecs: Handle kcodecs.categories co...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3b8bc53c0db9
branches:  trunk
changeset: 374956:3b8bc53c0db9
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Thu Feb 01 10:09:38 2018 +0000

description:
kcodecs: Handle kcodecs.categories correctly.

diffstat:

 textproc/kcodecs/Makefile |  11 ++++++++++-
 textproc/kcodecs/PLIST    |   3 ++-
 2 files changed, 12 insertions(+), 2 deletions(-)

diffs (42 lines):

diff -r 8c216ef66237 -r 3b8bc53c0db9 textproc/kcodecs/Makefile
--- a/textproc/kcodecs/Makefile Thu Feb 01 10:06:27 2018 +0000
+++ b/textproc/kcodecs/Makefile Thu Feb 01 10:09:38 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2018/01/30 07:14:18 markd Exp $
+# $NetBSD: Makefile,v 1.19 2018/02/01 10:09:38 jperkin Exp $
 
 DISTNAME=      kcodecs-${KF5VER}
 PKGREVISION=   2
@@ -12,6 +12,15 @@
 
 BUILD_DEPENDS+=        gperf-[0-9]*:../../devel/gperf
 
+SUBST_CLASSES+=                xdg
+SUBST_STAGE.xdg=       pre-configure
+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/kcodecs.categories \
+                       ${PKG_SYSCONFDIR}/xdg/kcodecs.categories
+
 .include "../../x11/qt5-qtbase/buildlink3.mk"
 BUILDLINK_DEPMETHOD.qt5-qttools= build
 .include "../../x11/qt5-qttools/buildlink3.mk"
diff -r 8c216ef66237 -r 3b8bc53c0db9 textproc/kcodecs/PLIST
--- a/textproc/kcodecs/PLIST    Thu Feb 01 10:06:27 2018 +0000
+++ b/textproc/kcodecs/PLIST    Thu Feb 01 10:09:38 2018 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2016/05/26 09:26:56 markd Exp $
+@comment $NetBSD: PLIST,v 1.2 2018/02/01 10:09:38 jperkin Exp $
 include/KF5/KCodecs/KCharsets
 include/KF5/KCodecs/KCodecs
 include/KF5/KCodecs/KEmailAddress
@@ -17,6 +17,7 @@
 lib/libKF5Codecs.so.5
 lib/libKF5Codecs.so.${PKGVERSION}
 qt5/mkspecs/modules/qt_KCodecs.pri
+share/examples/kde-xdg/kcodecs.categories
 share/locale/af/LC_MESSAGES/kcodecs5_qt.qm
 share/locale/ar/LC_MESSAGES/kcodecs5_qt.qm
 share/locale/as/LC_MESSAGES/kcodecs5_qt.qm



Home | Main Index | Thread Index | Old Index