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: SUBST rather than patch



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3b21db7e5901
branches:  trunk
changeset: 374840:3b21db7e5901
user:      markd <markd%pkgsrc.org@localhost>
date:      Tue Jan 30 07:52:36 2018 +0000

description:
attica-qt5: SUBST rather than patch

diffstat:

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

diffs (53 lines):

diff -r 0c952d6f8fa9 -r 3b21db7e5901 misc/attica-qt5/Makefile
--- a/misc/attica-qt5/Makefile  Tue Jan 30 07:43:23 2018 +0000
+++ b/misc/attica-qt5/Makefile  Tue Jan 30 07:52:36 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2018/01/27 03:32:16 markd Exp $
+# $NetBSD: Makefile,v 1.11 2018/01/30 07:52:36 markd Exp $
 
 DISTNAME=      attica-${KF5VER}
 PKGNAME=       ${DISTNAME:S/-/-qt5-/}
@@ -13,6 +13,12 @@
 
 PKGCONFIG_OVERRIDE+=   src/cmake/libKF5Attica.pc.cmake
 
+SUBST_CLASSES+=                xdg
+SUBST_STAGE.xdg=       post-patch
+SUBST_MESSAGE.xdg=     Install via examples dir.
+SUBST_FILES.xdg=       CMakeLists.txt
+SUBST_SED.xdg=         -e 's:{KDE_INSTALL_CONFDIR}:{KDE_INSTALL_DATAROOTDIR}/examples/kde-xdg:'
+
 MAKE_DIRS+=    ${PKG_SYSCONFDIR}/xdg
 CONF_FILES+=   ${PREFIX}/share/examples/kde-xdg/attica.categories \
                ${PKG_SYSCONFDIR}/xdg/attica.categories
diff -r 0c952d6f8fa9 -r 3b21db7e5901 misc/attica-qt5/distinfo
--- a/misc/attica-qt5/distinfo  Tue Jan 30 07:43:23 2018 +0000
+++ b/misc/attica-qt5/distinfo  Tue Jan 30 07:52:36 2018 +0000
@@ -1,7 +1,6 @@
-$NetBSD: distinfo,v 1.4 2018/01/27 03:32:16 markd Exp $
+$NetBSD: distinfo,v 1.5 2018/01/30 07:52:36 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 0c952d6f8fa9 -r 3b21db7e5901 misc/attica-qt5/patches/patch-CMakeLists.txt
--- a/misc/attica-qt5/patches/patch-CMakeLists.txt      Tue Jan 30 07:43:23 2018 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-$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