pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/archivers/karchive karchive: install karchive.categori...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8ceace10c229
branches:  trunk
changeset: 374358:8ceace10c229
user:      markd <markd%pkgsrc.org@localhost>
date:      Sun Jan 21 21:34:03 2018 +0000

description:
karchive: install karchive.categories via examples dir

diffstat:

 archivers/karchive/Makefile                     |   7 ++++++-
 archivers/karchive/PLIST                        |   3 ++-
 archivers/karchive/distinfo                     |   3 ++-
 archivers/karchive/patches/patch-CMakeLists.txt |  14 ++++++++++++++
 4 files changed, 24 insertions(+), 3 deletions(-)

diffs (67 lines):

diff -r 1131f6432d7e -r 8ceace10c229 archivers/karchive/Makefile
--- a/archivers/karchive/Makefile       Sun Jan 21 20:17:34 2018 +0000
+++ b/archivers/karchive/Makefile       Sun Jan 21 21:34:03 2018 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.8 2018/01/17 19:54:56 markd Exp $
+# $NetBSD: Makefile,v 1.9 2018/01/21 21:34:03 markd Exp $
 
 DISTNAME=      karchive-${KF5VER}
+PKGREVISION=   1
 CATEGORIES=    archivers
 
 HOMEPAGE=      https://community.kde.org/Frameworks
@@ -9,6 +10,10 @@
 
 .include "../../meta-pkgs/kf5/Makefile.common"
 
+MAKE_DIRS+=    ${PKG_SYSCONFDIR}/xdg
+CONF_FILES+=   ${PREFIX}/share/examples/kde-xdg/karchive.categories \
+               ${PKG_SYSCONFDIR}/xdg/karchive.categories
+
 .include "../../archivers/bzip2/buildlink3.mk"
 .include "../../archivers/xz/buildlink3.mk"
 .include "../../devel/zlib/buildlink3.mk"
diff -r 1131f6432d7e -r 8ceace10c229 archivers/karchive/PLIST
--- a/archivers/karchive/PLIST  Sun Jan 21 20:17:34 2018 +0000
+++ b/archivers/karchive/PLIST  Sun Jan 21 21:34:03 2018 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2016/05/25 23:20:33 markd Exp $
+@comment $NetBSD: PLIST,v 1.2 2018/01/21 21:34:03 markd Exp $
 include/KF5/KArchive/K7Zip
 include/KF5/KArchive/KAr
 include/KF5/KArchive/KArchive
@@ -33,3 +33,4 @@
 lib/libKF5Archive.so.5
 lib/libKF5Archive.so.${PKGVERSION}
 qt5/mkspecs/modules/qt_KArchive.pri
+share/examples/kde-xdg/karchive.categories
diff -r 1131f6432d7e -r 8ceace10c229 archivers/karchive/distinfo
--- a/archivers/karchive/distinfo       Sun Jan 21 20:17:34 2018 +0000
+++ b/archivers/karchive/distinfo       Sun Jan 21 21:34:03 2018 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.3 2018/01/17 19:54:56 markd Exp $
+$NetBSD: distinfo,v 1.4 2018/01/21 21:34:03 markd Exp $
 
 SHA1 (karchive-5.41.0.tar.xz) = d945571a3e23e41073c93ed1e00af68a8277a9a5
 RMD160 (karchive-5.41.0.tar.xz) = 6f19b98126de9cec0768477a49b0904b279fffc7
 SHA512 (karchive-5.41.0.tar.xz) = fd28292b0076ef516ee695c057b026c3601386f1f4733f4ddc6ad21e416c27e891ffb2339f31100105834a84dc9adf4cef518d110e84f9f2d56ac92abe440f05
 Size (karchive-5.41.0.tar.xz) = 113596 bytes
+SHA1 (patch-CMakeLists.txt) = 0dc0dbc325fa6e6256dffed6817eea08de4db288
diff -r 1131f6432d7e -r 8ceace10c229 archivers/karchive/patches/patch-CMakeLists.txt
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/archivers/karchive/patches/patch-CMakeLists.txt   Sun Jan 21 21:34:03 2018 +0000
@@ -0,0 +1,14 @@
+$NetBSD: patch-CMakeLists.txt,v 1.1 2018/01/21 21:34:03 markd Exp $
+
+Install via examples dir
+
+--- CMakeLists.txt.orig        2018-01-21 21:13:20.336090799 +0000
++++ CMakeLists.txt
+@@ -102,6 +102,6 @@ install(EXPORT KF5ArchiveTargets
+         FILE KF5ArchiveTargets.cmake
+         NAMESPACE KF5::)
+ 
+-install(FILES karchive.categories DESTINATION ${KDE_INSTALL_CONFDIR})
++install(FILES karchive.categories DESTINATION ${KDE_INSTALL_DATAROOTDIR}/examples/kde-xdg)
+ 
+ feature_summary(WHAT ALL   FATAL_ON_MISSING_REQUIRED_PACKAGES)



Home | Main Index | Thread Index | Old Index