pkgsrc-Changes archive

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

CVS commit: pkgsrc/math/cantor



Module Name:    pkgsrc
Committed By:   markd
Date:           Thu Nov 21 02:39:22 UTC 2019

Modified Files:
        pkgsrc/math/cantor: Makefile PLIST

Log Message:
cantor: fix installation of xdg files


To generate a diff of this commit:
cvs rdiff -u -r1.53 -r1.54 pkgsrc/math/cantor/Makefile
cvs rdiff -u -r1.4 -r1.5 pkgsrc/math/cantor/PLIST

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

Modified files:

Index: pkgsrc/math/cantor/Makefile
diff -u pkgsrc/math/cantor/Makefile:1.53 pkgsrc/math/cantor/Makefile:1.54
--- pkgsrc/math/cantor/Makefile:1.53    Wed Nov 20 22:30:05 2019
+++ pkgsrc/math/cantor/Makefile Thu Nov 21 02:39:22 2019
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.53 2019/11/20 22:30:05 markd Exp $
+# $NetBSD: Makefile,v 1.54 2019/11/21 02:39:22 markd Exp $
 
 DISTNAME=      cantor-${KAPPSVER}
 CATEGORIES=    math
@@ -26,6 +26,31 @@ SUBST_SED.py3=               -e 's:python3):python-${
 
 REPLACE_SH+=   src/backends/sage/cantor-execsage
 
+SUBST_CLASSES+=                xdg
+SUBST_STAGE.xdg=       pre-configure
+SUBST_MESSAGE.xdg=     Install via examples dir.
+SUBST_FILES.xdg=       src/CMakeLists.txt
+SUBST_FILES.xdg+=      src/backends/*/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/cantor.knsrc \
+               ${PKG_SYSCONFDIR}/xdg/cantor.knsrc
+CONF_FILES+=   ${PREFIX}/share/examples/kde-xdg/cantor_kalgebra.knsrc \
+               ${PKG_SYSCONFDIR}/xdg/cantor_kalgebra.knsrc
+CONF_FILES+=   ${PREFIX}/share/examples/kde-xdg/cantor_maxima.knsrc \
+               ${PKG_SYSCONFDIR}/xdg/cantor_maxima.knsrc
+CONF_FILES+=   ${PREFIX}/share/examples/kde-xdg/cantor_octave.knsrc \
+               ${PKG_SYSCONFDIR}/xdg/cantor_octave.knsrc
+CONF_FILES+=   ${PREFIX}/share/examples/kde-xdg/cantor_python3.knsrc \
+               ${PKG_SYSCONFDIR}/xdg/cantor_python3.knsrc
+CONF_FILES+=   ${PREFIX}/share/examples/kde-xdg/cantor_qalculate.knsrc \
+               ${PKG_SYSCONFDIR}/xdg/cantor_qalculate.knsrc
+CONF_FILES+=   ${PREFIX}/share/examples/kde-xdg/cantor_sage.knsrc \
+               ${PKG_SYSCONFDIR}/xdg/cantor_sage.knsrc
+CONF_FILES+=   ${PREFIX}/share/examples/kde-xdg/cantor_scilab.knsrc \
+               ${PKG_SYSCONFDIR}/xdg/cantor_scilab.knsrc
+
 .include "../../devel/kpty/buildlink3.mk"
 .include "../../devel/ktexteditor/buildlink3.mk"
 .include "../../lang/python/application.mk"

Index: pkgsrc/math/cantor/PLIST
diff -u pkgsrc/math/cantor/PLIST:1.4 pkgsrc/math/cantor/PLIST:1.5
--- pkgsrc/math/cantor/PLIST:1.4        Wed Nov 20 22:30:06 2019
+++ pkgsrc/math/cantor/PLIST    Thu Nov 21 02:39:22 2019
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.4 2019/11/20 22:30:06 markd Exp $
+@comment $NetBSD: PLIST,v 1.5 2019/11/21 02:39:22 markd Exp $
 bin/cantor
 bin/cantor_python3server
 bin/cantor_scripteditor
@@ -137,6 +137,14 @@ share/doc/HTML/uk/cantor/plot2d-dlg.png
 share/doc/HTML/uk/cantor/plot3d-dlg.png
 share/doc/HTML/uk/cantor/screenshot.png
 share/doc/HTML/uk/cantor/solve-equations-dlg.png
+share/examples/kde-xdg/cantor.knsrc
+share/examples/kde-xdg/cantor_kalgebra.knsrc
+share/examples/kde-xdg/cantor_maxima.knsrc
+share/examples/kde-xdg/cantor_octave.knsrc
+share/examples/kde-xdg/cantor_python3.knsrc
+share/examples/kde-xdg/cantor_qalculate.knsrc
+share/examples/kde-xdg/cantor_sage.knsrc
+share/examples/kde-xdg/cantor_scilab.knsrc
 share/icons/hicolor/128x128/apps/cantor.png
 share/icons/hicolor/16x16/apps/cantor.png
 share/icons/hicolor/22x22/apps/cantor.png



Home | Main Index | Thread Index | Old Index