pkgsrc-Changes archive

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

CVS commit: pkgsrc/misc/step



Module Name:    pkgsrc
Committed By:   markd
Date:           Thu Nov 21 02:49:20 UTC 2019

Modified Files:
        pkgsrc/misc/step: Makefile PLIST

Log Message:
step: fix install of xdg file


To generate a diff of this commit:
cvs rdiff -u -r1.41 -r1.42 pkgsrc/misc/step/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/misc/step/PLIST

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

Modified files:

Index: pkgsrc/misc/step/Makefile
diff -u pkgsrc/misc/step/Makefile:1.41 pkgsrc/misc/step/Makefile:1.42
--- pkgsrc/misc/step/Makefile:1.41      Wed Nov 20 22:36:27 2019
+++ pkgsrc/misc/step/Makefile   Thu Nov 21 02:49:20 2019
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.41 2019/11/20 22:36:27 markd Exp $
+# $NetBSD: Makefile,v 1.42 2019/11/21 02:49:20 markd Exp $
 
 DISTNAME=      step-${KAPPSVER}
 CATEGORIES=    misc
@@ -13,6 +13,16 @@ BUILD_DEPENDS+=      kdoctools>=${KF5VER}:../
 
 USE_TOOLS+=    msgmerge pkg-config
 
+SUBST_CLASSES+=                xdg
+SUBST_STAGE.xdg=       pre-configure
+SUBST_MESSAGE.xdg=     Install via examples dir.
+SUBST_FILES.xdg=       step/CMakeLists.txt
+SUBST_SED.xdg=         -e 's:{KDE_INSTALL_CONFDIR}:{KDE_INSTALL_XDG_EX_DIR}:'
+
+MAKE_DIRS+=    ${PKG_SYSCONFDIR}/xdg
+CONF_FILES+=   ${PREFIX}/share/examples/kde-xdg/step.knsrc \
+               ${PKG_SYSCONFDIR}/xdg/step.knsrc
+
 .include "../../graphics/kplotting/buildlink3.mk"
 .include "../../math/eigen3/buildlink3.mk"
 .include "../../math/gsl/buildlink3.mk"

Index: pkgsrc/misc/step/PLIST
diff -u pkgsrc/misc/step/PLIST:1.3 pkgsrc/misc/step/PLIST:1.4
--- pkgsrc/misc/step/PLIST:1.3  Wed Nov 20 22:36:27 2019
+++ pkgsrc/misc/step/PLIST      Thu Nov 21 02:49:20 2019
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2019/11/20 22:36:27 markd Exp $
+@comment $NetBSD: PLIST,v 1.4 2019/11/21 02:49:20 markd Exp $
 bin/step
 share/applications/org.kde.step.desktop
 share/config.kcfg/step.kcfg
@@ -52,6 +52,7 @@ share/doc/HTML/uk/step/index.cache.bz2
 share/doc/HTML/uk/step/index.docbook
 share/doc/HTML/uk/step/mainwindow.png
 share/doc/HTML/uk/step/tutorials.docbook
+share/examples/kde-xdg/step.knsrc
 share/icons/hicolor/128x128/apps/step.png
 share/icons/hicolor/16x16/apps/step.png
 share/icons/hicolor/22x22/actions/pointer.png



Home | Main Index | Thread Index | Old Index