pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/kservice



Module Name:    pkgsrc
Committed By:   markd
Date:           Tue Jan 30 08:58:47 UTC 2018

Modified Files:
        pkgsrc/devel/kservice: Makefile distinfo
Removed Files:
        pkgsrc/devel/kservice/patches: patch-src_CMakeLists.txt

Log Message:
kservice: SUBST rather than patch


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 pkgsrc/devel/kservice/Makefile
cvs rdiff -u -r1.5 -r1.6 pkgsrc/devel/kservice/distinfo
cvs rdiff -u -r1.1 -r0 pkgsrc/devel/kservice/patches/patch-src_CMakeLists.txt

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/kservice/Makefile
diff -u pkgsrc/devel/kservice/Makefile:1.10 pkgsrc/devel/kservice/Makefile:1.11
--- pkgsrc/devel/kservice/Makefile:1.10 Wed Jan 24 19:06:08 2018
+++ pkgsrc/devel/kservice/Makefile      Tue Jan 30 08:58:47 2018
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2018/01/24 19:06:08 markd Exp $
+# $NetBSD: Makefile,v 1.11 2018/01/30 08:58:47 markd Exp $
 
 DISTNAME=      kservice-${KF5VER}
 PKGREVISION=   1
@@ -14,6 +14,12 @@ BUILD_DEPENDS+=      kdoctools>=${KF5VER}:../
 
 USE_TOOLS+=    bison flex msgmerge
 
+SUBST_CLASSES+=                xdg
+SUBST_STAGE.xdg=       post-patch
+SUBST_MESSAGE.xdg=     Install via examples dir.
+SUBST_FILES.xdg=       src/CMakeLists.txt
+SUBST_SED.xdg=         -e 's:{KDE_INSTALL_SYSCONFDIR}/xdg/menus:{KDE_INSTALL_DATAROOTDIR}/examples/kservice:'
+
 MAKE_DIRS+=    ${PKG_SYSCONFDIR}/xdg/menus
 CONF_FILES+=   ${PREFIX}/share/examples/kservice/applications.menu \
                ${PKG_SYSCONFDIR}/xdg/menus/applications.menu

Index: pkgsrc/devel/kservice/distinfo
diff -u pkgsrc/devel/kservice/distinfo:1.5 pkgsrc/devel/kservice/distinfo:1.6
--- pkgsrc/devel/kservice/distinfo:1.5  Wed Jan 17 20:00:22 2018
+++ pkgsrc/devel/kservice/distinfo      Tue Jan 30 08:58:47 2018
@@ -1,7 +1,6 @@
-$NetBSD: distinfo,v 1.5 2018/01/17 20:00:22 markd Exp $
+$NetBSD: distinfo,v 1.6 2018/01/30 08:58:47 markd Exp $
 
 SHA1 (kservice-5.41.0.tar.xz) = 82d7519323de1a924c05c44738a26a3fffcc91c1
 RMD160 (kservice-5.41.0.tar.xz) = 65d1ce9d007ed213d5a3fc1e8df306ca3297d301
 SHA512 (kservice-5.41.0.tar.xz) = 4dee46935a3fd136b84edcdd4590531370e5d9c1b6fee31992811ba5f6c601a2da4d8d3bded9ca080c6263e00be80288ec22e814003f436a2439f8238598bb60
 Size (kservice-5.41.0.tar.xz) = 250040 bytes
-SHA1 (patch-src_CMakeLists.txt) = 5aba4175867e285af4f24de9aea19c859f7bdf55



Home | Main Index | Thread Index | Old Index