summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--archivers/karchive/Makefile7
-rw-r--r--archivers/karchive/PLIST3
-rw-r--r--archivers/karchive/distinfo3
-rw-r--r--archivers/karchive/patches/patch-CMakeLists.txt14
4 files changed, 24 insertions, 3 deletions
diff --git a/archivers/karchive/Makefile b/archivers/karchive/Makefile
index ed3288498d9..b91d065fe64 100644
--- a/archivers/karchive/Makefile
+++ b/archivers/karchive/Makefile
@@ -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 @@ LICENSE= gnu-gpl-v2 AND gnu-lgpl-v2.1
.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 --git a/archivers/karchive/PLIST b/archivers/karchive/PLIST
index e755b9bbeb4..61ec77f519c 100644
--- a/archivers/karchive/PLIST
+++ b/archivers/karchive/PLIST
@@ -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
lib/libKF5Archive.so.5
lib/libKF5Archive.so.${PKGVERSION}
qt5/mkspecs/modules/qt_KArchive.pri
+share/examples/kde-xdg/karchive.categories
diff --git a/archivers/karchive/distinfo b/archivers/karchive/distinfo
index c620a31139b..3f492b0c0f4 100644
--- a/archivers/karchive/distinfo
+++ b/archivers/karchive/distinfo
@@ -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 --git a/archivers/karchive/patches/patch-CMakeLists.txt b/archivers/karchive/patches/patch-CMakeLists.txt
new file mode 100644
index 00000000000..7fc9de2e3e6
--- /dev/null
+++ b/archivers/karchive/patches/patch-CMakeLists.txt
@@ -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)