summaryrefslogtreecommitdiff
path: root/net/knewstuff
diff options
context:
space:
mode:
authormarkd <markd@pkgsrc.org>2018-01-27 03:45:38 +0000
committermarkd <markd@pkgsrc.org>2018-01-27 03:45:38 +0000
commitd0eabbe95bfae04c6a9164fd52b9573c43c76aff (patch)
tree9ee3d9546ad2044bf5e08a065bd9755d3979133a /net/knewstuff
parent066f33750bc2a6ddf7488c6b3d8858b0be974a4d (diff)
downloadpkgsrc-d0eabbe95bfae04c6a9164fd52b9573c43c76aff.tar.gz
knewstuff: install knewstuff.categories properly
Diffstat (limited to 'net/knewstuff')
-rw-r--r--net/knewstuff/Makefile8
-rw-r--r--net/knewstuff/PLIST3
-rw-r--r--net/knewstuff/distinfo3
-rw-r--r--net/knewstuff/patches/patch-CMakeLists.txt14
4 files changed, 24 insertions, 4 deletions
diff --git a/net/knewstuff/Makefile b/net/knewstuff/Makefile
index 8183723eb0c..d83fbbd6e15 100644
--- a/net/knewstuff/Makefile
+++ b/net/knewstuff/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.16 2018/01/24 19:06:09 markd Exp $
+# $NetBSD: Makefile,v 1.17 2018/01/27 03:45:38 markd Exp $
DISTNAME= knewstuff-${KF5VER}
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= net
HOMEPAGE= https://community.kde.org/Frameworks
@@ -12,6 +12,10 @@ LICENSE= gnu-lgpl-v2.1
USE_TOOLS+= msgmerge
+MAKE_DIRS+= ${PKG_SYSCONFDIR}/xdg
+CONF_FILES+= ${PREFIX}/share/examples/kde-xdg/knewstuff.categories \
+ ${PKG_SYSCONFDIR}/xdg/knewstuff.categories
+
.include "../../devel/kio/buildlink3.mk"
.include "../../x11/qt5-qtbase/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/net/knewstuff/PLIST b/net/knewstuff/PLIST
index cc761e1ee08..c7a85e326e0 100644
--- a/net/knewstuff/PLIST
+++ b/net/knewstuff/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2018/01/17 20:05:44 markd Exp $
+@comment $NetBSD: PLIST,v 1.3 2018/01/27 03:45:38 markd Exp $
include/KF5/KNewStuff3/KNS3/Button
include/KF5/KNewStuff3/KNS3/DownloadDialog
include/KF5/KNewStuff3/KNS3/DownloadManager
@@ -73,6 +73,7 @@ qt5/qml/org/kde/newstuff/libnewstuffqmlplugin.so
qt5/qml/org/kde/newstuff/qml/NewStuffItem.qml
qt5/qml/org/kde/newstuff/qml/NewStuffList.qml
qt5/qml/org/kde/newstuff/qmldir
+share/examples/kde-xdg/knewstuff.categories
share/kf5/kmoretools/presets-kmoretools/_INFO
share/kf5/kmoretools/presets-kmoretools/angrysearch.desktop
share/kf5/kmoretools/presets-kmoretools/catfish.desktop
diff --git a/net/knewstuff/distinfo b/net/knewstuff/distinfo
index e882d6882d5..51bfd629dff 100644
--- a/net/knewstuff/distinfo
+++ b/net/knewstuff/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.3 2018/01/17 20:05:44 markd Exp $
+$NetBSD: distinfo,v 1.4 2018/01/27 03:45:38 markd Exp $
SHA1 (knewstuff-5.41.0.tar.xz) = c5c2c89615bf55f36b220dfd340cc945f5228d3c
RMD160 (knewstuff-5.41.0.tar.xz) = 50d1f0f3b828c5370b27f8c67f9ca72315c8315b
SHA512 (knewstuff-5.41.0.tar.xz) = 52001c0283c445eb0d2ea0d9f4a8f5d4dbdba518ae99d6e97fd12fcc522e422adc9d897b564a8adf45259ded9c674ab021d574ce084d9ed7f5242478ffa32ed8
Size (knewstuff-5.41.0.tar.xz) = 912224 bytes
+SHA1 (patch-CMakeLists.txt) = 03df1e39fe357c26d37618dae384817d2aaad269
diff --git a/net/knewstuff/patches/patch-CMakeLists.txt b/net/knewstuff/patches/patch-CMakeLists.txt
new file mode 100644
index 00000000000..08bdfdd3a28
--- /dev/null
+++ b/net/knewstuff/patches/patch-CMakeLists.txt
@@ -0,0 +1,14 @@
+$NetBSD: patch-CMakeLists.txt,v 1.1 2018/01/27 03:45:38 markd Exp $
+
+Install via examples dir
+
+--- CMakeLists.txt.orig 2018-01-27 03:35:50.182607249 +0000
++++ CMakeLists.txt
+@@ -151,6 +151,6 @@ install(FILES
+ DESTINATION ${KDE_INSTALL_INCLUDEDIR_KF5} COMPONENT Devel
+ )
+
+-install( FILES knewstuff.categories DESTINATION ${KDE_INSTALL_CONFDIR} )
++install( FILES knewstuff.categories DESTINATION ${KDE_INSTALL_DATAROOTDIR}/examples/kde-xdg )
+
+ feature_summary(WHAT ALL FATAL_ON_MISSING_REQUIRED_PACKAGES)