pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/syntax-highlighting syntax-highlighting: Inst...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/414a83c4c18e
branches:  trunk
changeset: 374651:414a83c4c18e
user:      markd <markd%pkgsrc.org@localhost>
date:      Sat Jan 27 04:09:12 2018 +0000

description:
syntax-highlighting: Install org_kde_ksyntaxhighlighting.categories properly

diffstat:

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

diffs (72 lines):

diff -r bf6db8412108 -r 414a83c4c18e textproc/syntax-highlighting/Makefile
--- a/textproc/syntax-highlighting/Makefile     Sat Jan 27 03:56:52 2018 +0000
+++ b/textproc/syntax-highlighting/Makefile     Sat Jan 27 04:09:12 2018 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.2 2018/01/24 19:06:10 markd Exp $
+# $NetBSD: Makefile,v 1.3 2018/01/27 04:09:12 markd Exp $
 
 DISTNAME=      syntax-highlighting-${KF5VER}
-PKGREVISION=   1
+PKGREVISION=   2
 CATEGORIES=    textproc
 
 HOMEPAGE=      https://community.kde.org/Frameworks
@@ -12,6 +12,10 @@
 
 USE_TOOLS+=    perl
 
+MAKE_DIRS+=    ${PKG_SYSCONFDIR}/xdg
+CONF_FILES+=   ${PREFIX}/share/examples/kde-xdg/org_kde_ksyntaxhighlighting.categories \
+               ${PKG_SYSCONFDIR}/xdg/org_kde_ksyntaxhighlighting.categories
+
 .include "../../x11/qt5-qtbase/buildlink3.mk"
 BUILDLINK_DEPMETHOD.qt5-qttools= build
 .include "../../x11/qt5-qttools/buildlink3.mk"
diff -r bf6db8412108 -r 414a83c4c18e textproc/syntax-highlighting/PLIST
--- a/textproc/syntax-highlighting/PLIST        Sat Jan 27 03:56:52 2018 +0000
+++ b/textproc/syntax-highlighting/PLIST        Sat Jan 27 04:09:12 2018 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2018/01/17 20:11:06 markd Exp $
+@comment $NetBSD: PLIST,v 1.2 2018/01/27 04:09:12 markd Exp $
 bin/kate-syntax-highlighter
 include/KF5/KSyntaxHighlighting/AbstractHighlighter
 include/KF5/KSyntaxHighlighting/Definition
@@ -26,6 +26,7 @@
 lib/libKF5SyntaxHighlighting.so.5
 lib/libKF5SyntaxHighlighting.so.${PKGVERSION}
 qt5/mkspecs/modules/qt_KSyntaxHighlighting.pri
+share/examples/kde-xdg/org_kde_ksyntaxhighlighting.categories
 share/locale/af/LC_MESSAGES/syntaxhighlighting5_qt.qm
 share/locale/ar/LC_MESSAGES/syntaxhighlighting5_qt.qm
 share/locale/ast/LC_MESSAGES/syntaxhighlighting5_qt.qm
diff -r bf6db8412108 -r 414a83c4c18e textproc/syntax-highlighting/distinfo
--- a/textproc/syntax-highlighting/distinfo     Sat Jan 27 03:56:52 2018 +0000
+++ b/textproc/syntax-highlighting/distinfo     Sat Jan 27 04:09:12 2018 +0000
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.1 2018/01/17 20:11:06 markd Exp $
+$NetBSD: distinfo,v 1.2 2018/01/27 04:09:12 markd Exp $
 
 SHA1 (syntax-highlighting-5.41.0.tar.xz) = ad61d8625a5bcc7d20dabe73509b3db53536d5f1
 RMD160 (syntax-highlighting-5.41.0.tar.xz) = 49913b2f58f39d9d61ffe7b1080e2f4622103076
 SHA512 (syntax-highlighting-5.41.0.tar.xz) = 86ed50766c9c0a3ef9e71421f5e7b9248ab1f28d0ecd424af57d643e613f488e572d001c55c58ab0ef501d6160b2db75dec0b325447132a5f49ff6dc6c52afea
 Size (syntax-highlighting-5.41.0.tar.xz) = 1108580 bytes
+SHA1 (patch-CMakeLists.txt) = 74daf57002d9a9fea008888f9510cdde293789ae
 SHA1 (patch-autotests_input_highlight.sh) = a03c2d3a389b066d914a1c1aab97977013af4626
diff -r bf6db8412108 -r 414a83c4c18e textproc/syntax-highlighting/patches/patch-CMakeLists.txt
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/syntax-highlighting/patches/patch-CMakeLists.txt Sat Jan 27 04:09:12 2018 +0000
@@ -0,0 +1,14 @@
+$NetBSD: patch-CMakeLists.txt,v 1.1 2018/01/27 04:09:12 markd Exp $
+
+Install via examples dir
+
+--- CMakeLists.txt.orig        2018-01-27 03:59:04.323745347 +0000
++++ CMakeLists.txt
+@@ -109,6 +109,6 @@ endif()
+ install(FILES "${CMAKE_CURRENT_BINARY_DIR}/ksyntaxhighlighting_version.h"
+         DESTINATION "${KDE_INSTALL_INCLUDEDIR_KF5}"
+         COMPONENT Devel)
+-install(FILES org_kde_ksyntaxhighlighting.categories DESTINATION ${KDE_INSTALL_CONFDIR})
++install(FILES org_kde_ksyntaxhighlighting.categories DESTINATION ${KDE_INSTALL_DATAROOTDIR}/examples/kde-xdg)
+ 
+ feature_summary(WHAT ALL INCLUDE_QUIET_PACKAGES FATAL_ON_MISSING_REQUIRED_PACKAGES)



Home | Main Index | Thread Index | Old Index