pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/misc/attica-qt5 attica-qt5: install attica.categories ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/cfda8f1c096f
branches:  trunk
changeset: 374648:cfda8f1c096f
user:      markd <markd%pkgsrc.org@localhost>
date:      Sat Jan 27 03:32:16 2018 +0000

description:
attica-qt5: install attica.categories properly

diffstat:

 misc/attica-qt5/Makefile                     |   8 ++++++--
 misc/attica-qt5/PLIST                        |   3 ++-
 misc/attica-qt5/distinfo                     |   3 ++-
 misc/attica-qt5/patches/patch-CMakeLists.txt |  15 +++++++++++++++
 4 files changed, 25 insertions(+), 4 deletions(-)

diffs (69 lines):

diff -r 60cca9f57cfd -r cfda8f1c096f misc/attica-qt5/Makefile
--- a/misc/attica-qt5/Makefile  Fri Jan 26 22:37:00 2018 +0000
+++ b/misc/attica-qt5/Makefile  Sat Jan 27 03:32:16 2018 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.9 2018/01/24 19:06:09 markd Exp $
+# $NetBSD: Makefile,v 1.10 2018/01/27 03:32:16 markd Exp $
 
 DISTNAME=      attica-${KF5VER}
 PKGNAME=       ${DISTNAME:S/-/-qt5-/}
-PKGREVISION=   1
+PKGREVISION=   2
 CATEGORIES=    misc
 
 HOMEPAGE=      https://community.kde.org/Frameworks
@@ -13,5 +13,9 @@
 
 PKGCONFIG_OVERRIDE+=   src/cmake/libKF5Attica.pc.cmake
 
+MAKE_DIRS+=    ${PKG_SYSCONFDIR}/xdg
+CONF_FILES+=   ${PREFIX}/share/examples/kde-xdg/attica.categories \
+               ${PKG_SYSCONFDIR}/xdg/attica.categories
+
 .include "../../x11/qt5-qtbase/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 60cca9f57cfd -r cfda8f1c096f misc/attica-qt5/PLIST
--- a/misc/attica-qt5/PLIST     Fri Jan 26 22:37:00 2018 +0000
+++ b/misc/attica-qt5/PLIST     Sat Jan 27 03:32:16 2018 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2016/08/21 21:21:12 markd Exp $
+@comment $NetBSD: PLIST,v 1.3 2018/01/27 03:32:16 markd Exp $
 include/KF5/Attica/Attica/AccountBalance
 include/KF5/Attica/Attica/Achievement
 include/KF5/Attica/Attica/Activity
@@ -89,3 +89,4 @@
 lib/libKF5Attica.so.${PKGVERSION}
 lib/pkgconfig/libKF5Attica.pc
 qt5/mkspecs/modules/qt_Attica.pri
+share/examples/kde-xdg/attica.categories
diff -r 60cca9f57cfd -r cfda8f1c096f misc/attica-qt5/distinfo
--- a/misc/attica-qt5/distinfo  Fri Jan 26 22:37:00 2018 +0000
+++ b/misc/attica-qt5/distinfo  Sat Jan 27 03:32:16 2018 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.3 2018/01/17 20:04:45 markd Exp $
+$NetBSD: distinfo,v 1.4 2018/01/27 03:32:16 markd Exp $
 
 SHA1 (attica-5.41.0.tar.xz) = ceaaac505ad122d364c04ec53969d83d914b2f7e
 RMD160 (attica-5.41.0.tar.xz) = 032930e755ac57cee71515b98ae6c3581332b150
 SHA512 (attica-5.41.0.tar.xz) = 9e9fc456bd1e7853140c71fead1ac6205e4f572d1d69d485d95188355e3b2fc775fa85c6d115564bd444f9925526a77da1decf990226ef46302fa5f605d73b09
 Size (attica-5.41.0.tar.xz) = 60588 bytes
+SHA1 (patch-CMakeLists.txt) = 4359602d2558b7f0ae1c5d621e469b1d59f0452a
diff -r 60cca9f57cfd -r cfda8f1c096f misc/attica-qt5/patches/patch-CMakeLists.txt
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/attica-qt5/patches/patch-CMakeLists.txt      Sat Jan 27 03:32:16 2018 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-CMakeLists.txt,v 1.1 2018/01/27 03:32:16 markd Exp $
+
+Install via examples dir
+
+--- CMakeLists.txt.orig        2017-12-02 09:52:08.000000000 +0000
++++ CMakeLists.txt
+@@ -88,7 +88,7 @@ install(FILES "${CMAKE_CURRENT_BINARY_DI
+         DESTINATION "${KDE_INSTALL_INCLUDEDIR_KF5}"
+         COMPONENT Devel)
+ 
+-install( FILES attica.categories  DESTINATION ${KDE_INSTALL_CONFDIR}) 
++install( FILES attica.categories  DESTINATION ${KDE_INSTALL_DATAROOTDIR}/examples/kde-xdg) 
+ 
+ feature_summary(WHAT ALL FATAL_ON_MISSING_REQUIRED_PACKAGES)
+ 



Home | Main Index | Thread Index | Old Index