summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authormarkd <markd@pkgsrc.org>2018-01-27 03:32:16 +0000
committermarkd <markd@pkgsrc.org>2018-01-27 03:32:16 +0000
commit066f33750bc2a6ddf7488c6b3d8858b0be974a4d (patch)
tree532579f5cb8e646210674b0ed8fe1855c016d446 /misc
parente360bb31aa6df0d3b2ba5ef8916f83abebedbb16 (diff)
downloadpkgsrc-066f33750bc2a6ddf7488c6b3d8858b0be974a4d.tar.gz
attica-qt5: install attica.categories properly
Diffstat (limited to 'misc')
-rw-r--r--misc/attica-qt5/Makefile8
-rw-r--r--misc/attica-qt5/PLIST3
-rw-r--r--misc/attica-qt5/distinfo3
-rw-r--r--misc/attica-qt5/patches/patch-CMakeLists.txt15
4 files changed, 25 insertions, 4 deletions
diff --git a/misc/attica-qt5/Makefile b/misc/attica-qt5/Makefile
index 61dac3aa014..facf396a253 100644
--- a/misc/attica-qt5/Makefile
+++ b/misc/attica-qt5/Makefile
@@ -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 @@ LICENSE= gnu-lgpl-v2.1
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 --git a/misc/attica-qt5/PLIST b/misc/attica-qt5/PLIST
index c5775685fe8..97373f8606e 100644
--- a/misc/attica-qt5/PLIST
+++ b/misc/attica-qt5/PLIST
@@ -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.5
lib/libKF5Attica.so.${PKGVERSION}
lib/pkgconfig/libKF5Attica.pc
qt5/mkspecs/modules/qt_Attica.pri
+share/examples/kde-xdg/attica.categories
diff --git a/misc/attica-qt5/distinfo b/misc/attica-qt5/distinfo
index 85a7b59f493..1ffae2460a1 100644
--- a/misc/attica-qt5/distinfo
+++ b/misc/attica-qt5/distinfo
@@ -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 --git a/misc/attica-qt5/patches/patch-CMakeLists.txt b/misc/attica-qt5/patches/patch-CMakeLists.txt
new file mode 100644
index 00000000000..31bde8876fe
--- /dev/null
+++ b/misc/attica-qt5/patches/patch-CMakeLists.txt
@@ -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)
+