Wed May 20 21:31:09 2020 UTC ()
(devel/kservice) revert the previous commit. But dropped CMakeList.txt


(mef)
diff -r1.29 -r1.30 pkgsrc/devel/kservice/Makefile

cvs diff -r1.29 -r1.30 pkgsrc/devel/kservice/Makefile (expand / switch to context diff)
--- pkgsrc/devel/kservice/Makefile 2020/05/19 15:28:29 1.29
+++ pkgsrc/devel/kservice/Makefile 2020/05/20 21:31:09 1.30
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.29 2020/05/19 15:28:29 mef Exp $
+# $NetBSD: Makefile,v 1.30 2020/05/20 21:31:09 mef Exp $
 
 DISTNAME=	kservice-${KF5VER}
 PKGREVISION=	3
@@ -13,6 +13,12 @@
 BUILD_DEPENDS+=	kdoctools>=${KF5VER}:../../devel/kdoctools
 
 USE_TOOLS+=	bison flex msgmerge
+
+SUBST_CLASSES+=		xdg
+SUBST_STAGE.xdg=	pre-configure
+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 \