karchive: install karchive.categories via examples dirdiff -r1.8 -r1.9 pkgsrc/archivers/karchive/Makefile
(markd)
@@ -1,16 +1,21 @@ | @@ -1,16 +1,21 @@ | |||
1 | # $NetBSD: Makefile,v 1.8 2018/01/17 19:54:56 markd Exp $ | 1 | # $NetBSD: Makefile,v 1.9 2018/01/21 21:34:03 markd Exp $ | |
2 | 2 | |||
3 | DISTNAME= karchive-${KF5VER} | 3 | DISTNAME= karchive-${KF5VER} | |
4 | PKGREVISION= 1 | |||
4 | CATEGORIES= archivers | 5 | CATEGORIES= archivers | |
5 | 6 | |||
6 | HOMEPAGE= https://community.kde.org/Frameworks | 7 | HOMEPAGE= https://community.kde.org/Frameworks | |
7 | COMMENT= Qt 5 addon providing access to numerous types of archives | 8 | COMMENT= Qt 5 addon providing access to numerous types of archives | |
8 | LICENSE= gnu-gpl-v2 AND gnu-lgpl-v2.1 | 9 | LICENSE= gnu-gpl-v2 AND gnu-lgpl-v2.1 | |
9 | 10 | |||
10 | .include "../../meta-pkgs/kf5/Makefile.common" | 11 | .include "../../meta-pkgs/kf5/Makefile.common" | |
11 | 12 | |||
13 | MAKE_DIRS+= ${PKG_SYSCONFDIR}/xdg | |||
14 | CONF_FILES+= ${PREFIX}/share/examples/kde-xdg/karchive.categories \ | |||
15 | ${PKG_SYSCONFDIR}/xdg/karchive.categories | |||
16 | ||||
12 | .include "../../archivers/bzip2/buildlink3.mk" | 17 | .include "../../archivers/bzip2/buildlink3.mk" | |
13 | .include "../../archivers/xz/buildlink3.mk" | 18 | .include "../../archivers/xz/buildlink3.mk" | |
14 | .include "../../devel/zlib/buildlink3.mk" | 19 | .include "../../devel/zlib/buildlink3.mk" | |
15 | .include "../../x11/qt5-qtbase/buildlink3.mk" | 20 | .include "../../x11/qt5-qtbase/buildlink3.mk" | |
16 | .include "../../mk/bsd.pkg.mk" | 21 | .include "../../mk/bsd.pkg.mk" |
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.1 2016/05/25 23:20:33 markd Exp $ | 1 | @comment $NetBSD: PLIST,v 1.2 2018/01/21 21:34:03 markd Exp $ | |
2 | include/KF5/KArchive/K7Zip | 2 | include/KF5/KArchive/K7Zip | |
3 | include/KF5/KArchive/KAr | 3 | include/KF5/KArchive/KAr | |
4 | include/KF5/KArchive/KArchive | 4 | include/KF5/KArchive/KArchive | |
5 | include/KF5/KArchive/KArchiveDirectory | 5 | include/KF5/KArchive/KArchiveDirectory | |
6 | include/KF5/KArchive/KArchiveEntry | 6 | include/KF5/KArchive/KArchiveEntry | |
7 | include/KF5/KArchive/KArchiveFile | 7 | include/KF5/KArchive/KArchiveFile | |
8 | include/KF5/KArchive/KCompressionDevice | 8 | include/KF5/KArchive/KCompressionDevice | |
9 | include/KF5/KArchive/KFilterBase | 9 | include/KF5/KArchive/KFilterBase | |
10 | include/KF5/KArchive/KFilterDev | 10 | include/KF5/KArchive/KFilterDev | |
11 | include/KF5/KArchive/KTar | 11 | include/KF5/KArchive/KTar | |
12 | include/KF5/KArchive/KZip | 12 | include/KF5/KArchive/KZip | |
13 | include/KF5/KArchive/KZipFileEntry | 13 | include/KF5/KArchive/KZipFileEntry | |
14 | include/KF5/KArchive/k7zip.h | 14 | include/KF5/KArchive/k7zip.h | |
@@ -23,13 +23,14 @@ include/KF5/KArchive/kfilterbase.h | @@ -23,13 +23,14 @@ include/KF5/KArchive/kfilterbase.h | |||
23 | include/KF5/KArchive/kfilterdev.h | 23 | include/KF5/KArchive/kfilterdev.h | |
24 | include/KF5/KArchive/ktar.h | 24 | include/KF5/KArchive/ktar.h | |
25 | include/KF5/KArchive/kzip.h | 25 | include/KF5/KArchive/kzip.h | |
26 | include/KF5/KArchive/kzipfileentry.h | 26 | include/KF5/KArchive/kzipfileentry.h | |
27 | include/KF5/karchive_version.h | 27 | include/KF5/karchive_version.h | |
28 | lib/cmake/KF5Archive/KF5ArchiveConfig.cmake | 28 | lib/cmake/KF5Archive/KF5ArchiveConfig.cmake | |
29 | lib/cmake/KF5Archive/KF5ArchiveConfigVersion.cmake | 29 | lib/cmake/KF5Archive/KF5ArchiveConfigVersion.cmake | |
30 | lib/cmake/KF5Archive/KF5ArchiveTargets-noconfig.cmake | 30 | lib/cmake/KF5Archive/KF5ArchiveTargets-noconfig.cmake | |
31 | lib/cmake/KF5Archive/KF5ArchiveTargets.cmake | 31 | lib/cmake/KF5Archive/KF5ArchiveTargets.cmake | |
32 | lib/libKF5Archive.so | 32 | lib/libKF5Archive.so | |
33 | lib/libKF5Archive.so.5 | 33 | lib/libKF5Archive.so.5 | |
34 | lib/libKF5Archive.so.${PKGVERSION} | 34 | lib/libKF5Archive.so.${PKGVERSION} | |
35 | qt5/mkspecs/modules/qt_KArchive.pri | 35 | qt5/mkspecs/modules/qt_KArchive.pri | |
36 | share/examples/kde-xdg/karchive.categories |
@@ -1,6 +1,7 @@ | @@ -1,6 +1,7 @@ | |||
1 | $NetBSD: distinfo,v 1.3 2018/01/17 19:54:56 markd Exp $ | 1 | $NetBSD: distinfo,v 1.4 2018/01/21 21:34:03 markd Exp $ | |
2 | 2 | |||
3 | SHA1 (karchive-5.41.0.tar.xz) = d945571a3e23e41073c93ed1e00af68a8277a9a5 | 3 | SHA1 (karchive-5.41.0.tar.xz) = d945571a3e23e41073c93ed1e00af68a8277a9a5 | |
4 | RMD160 (karchive-5.41.0.tar.xz) = 6f19b98126de9cec0768477a49b0904b279fffc7 | 4 | RMD160 (karchive-5.41.0.tar.xz) = 6f19b98126de9cec0768477a49b0904b279fffc7 | |
5 | SHA512 (karchive-5.41.0.tar.xz) = fd28292b0076ef516ee695c057b026c3601386f1f4733f4ddc6ad21e416c27e891ffb2339f31100105834a84dc9adf4cef518d110e84f9f2d56ac92abe440f05 | 5 | SHA512 (karchive-5.41.0.tar.xz) = fd28292b0076ef516ee695c057b026c3601386f1f4733f4ddc6ad21e416c27e891ffb2339f31100105834a84dc9adf4cef518d110e84f9f2d56ac92abe440f05 | |
6 | Size (karchive-5.41.0.tar.xz) = 113596 bytes | 6 | Size (karchive-5.41.0.tar.xz) = 113596 bytes | |
7 | SHA1 (patch-CMakeLists.txt) = 0dc0dbc325fa6e6256dffed6817eea08de4db288 |
$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)