pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/knewstuff knewstuff: install knewstuff.categories ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e722c208c5c0
branches:  trunk
changeset: 374649:e722c208c5c0
user:      markd <markd%pkgsrc.org@localhost>
date:      Sat Jan 27 03:45:38 2018 +0000

description:
knewstuff: install knewstuff.categories properly

diffstat:

 net/knewstuff/Makefile                     |   8 ++++++--
 net/knewstuff/PLIST                        |   3 ++-
 net/knewstuff/distinfo                     |   3 ++-
 net/knewstuff/patches/patch-CMakeLists.txt |  14 ++++++++++++++
 4 files changed, 24 insertions(+), 4 deletions(-)

diffs (71 lines):

diff -r cfda8f1c096f -r e722c208c5c0 net/knewstuff/Makefile
--- a/net/knewstuff/Makefile    Sat Jan 27 03:32:16 2018 +0000
+++ b/net/knewstuff/Makefile    Sat Jan 27 03:45:38 2018 +0000
@@ -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 @@
 
 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 -r cfda8f1c096f -r e722c208c5c0 net/knewstuff/PLIST
--- a/net/knewstuff/PLIST       Sat Jan 27 03:32:16 2018 +0000
+++ b/net/knewstuff/PLIST       Sat Jan 27 03:45:38 2018 +0000
@@ -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/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 -r cfda8f1c096f -r e722c208c5c0 net/knewstuff/distinfo
--- a/net/knewstuff/distinfo    Sat Jan 27 03:32:16 2018 +0000
+++ b/net/knewstuff/distinfo    Sat Jan 27 03:45:38 2018 +0000
@@ -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 -r cfda8f1c096f -r e722c208c5c0 net/knewstuff/patches/patch-CMakeLists.txt
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/knewstuff/patches/patch-CMakeLists.txt        Sat Jan 27 03:45:38 2018 +0000
@@ -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)



Home | Main Index | Thread Index | Old Index