pkgsrc-Changes archive

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

CVS commit: pkgsrc/textproc/kcodecs



Module Name:    pkgsrc
Committed By:   jperkin
Date:           Thu Feb  1 10:09:38 UTC 2018

Modified Files:
        pkgsrc/textproc/kcodecs: Makefile PLIST

Log Message:
kcodecs: Handle kcodecs.categories correctly.


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 pkgsrc/textproc/kcodecs/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/textproc/kcodecs/PLIST

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/textproc/kcodecs/Makefile
diff -u pkgsrc/textproc/kcodecs/Makefile:1.18 pkgsrc/textproc/kcodecs/Makefile:1.19
--- pkgsrc/textproc/kcodecs/Makefile:1.18       Tue Jan 30 07:14:18 2018
+++ pkgsrc/textproc/kcodecs/Makefile    Thu Feb  1 10:09:38 2018
@@ -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 @@ LICENSE=     gnu-gpl-v2 AND gnu-lgpl-v2.1
 
 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"

Index: pkgsrc/textproc/kcodecs/PLIST
diff -u pkgsrc/textproc/kcodecs/PLIST:1.1 pkgsrc/textproc/kcodecs/PLIST:1.2
--- pkgsrc/textproc/kcodecs/PLIST:1.1   Thu May 26 09:26:56 2016
+++ pkgsrc/textproc/kcodecs/PLIST       Thu Feb  1 10:09:38 2018
@@ -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
 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