pkgsrc-Changes archive

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

CVS commit: pkgsrc/math/wxmaxima



Module Name:    pkgsrc
Committed By:   jperkin
Date:           Tue Dec 13 13:05:49 UTC 2022

Modified Files:
        pkgsrc/math/wxmaxima: Makefile PLIST

Log Message:
wxmaxima: USE PKGLOCALEDIR and PKGMANDIR.


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 pkgsrc/math/wxmaxima/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/math/wxmaxima/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/wxmaxima/Makefile
diff -u pkgsrc/math/wxmaxima/Makefile:1.23 pkgsrc/math/wxmaxima/Makefile:1.24
--- pkgsrc/math/wxmaxima/Makefile:1.23  Wed Nov 23 16:20:36 2022
+++ pkgsrc/math/wxmaxima/Makefile       Tue Dec 13 13:05:49 2022
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.23 2022/11/23 16:20:36 adam Exp $
+# $NetBSD: Makefile,v 1.24 2022/12/13 13:05:49 jperkin Exp $
 
 DISTNAME=      wxmaxima-17.10.1
 PKGREVISION=   16
@@ -14,8 +14,17 @@ LICENSE=     gnu-gpl-v2
 DEPENDS+=      maxima>=5.15.0:../../math/maxima
 DEPENDS+=      gnuplot>=4.2.3:../../graphics/gnuplot
 
-USE_CMAKE=     yes
-USE_LANGUAGES= c c++
+USE_CMAKE=             yes
+USE_LANGUAGES=         c c++
+USE_PKGLOCALEDIR=      yes
+
+SUBST_CLASSES+=                paths
+SUBST_STAGE.paths=     pre-configure
+SUBST_FILES.paths=     data/CMakeLists.txt
+SUBST_FILES.paths+=    locales/CMakeLists.txt
+SUBST_SED.paths=       -e 's,share/locale,${PKGLOCALEDIR}/locale,g'
+SUBST_SED.paths+=      -e 's,share/man,${PKGMANDIR},g'
+SUBST_NOOP_OK.paths=   yes
 
 .include "../../x11/wxGTK30/buildlink3.mk"
 .include "../../textproc/libxml2/buildlink3.mk"

Index: pkgsrc/math/wxmaxima/PLIST
diff -u pkgsrc/math/wxmaxima/PLIST:1.2 pkgsrc/math/wxmaxima/PLIST:1.3
--- pkgsrc/math/wxmaxima/PLIST:1.2      Tue Nov 28 13:08:09 2017
+++ pkgsrc/math/wxmaxima/PLIST  Tue Dec 13 13:05:49 2022
@@ -1,5 +1,6 @@
-@comment $NetBSD: PLIST,v 1.2 2017/11/28 13:08:09 wiz Exp $
+@comment $NetBSD: PLIST,v 1.3 2022/12/13 13:05:49 jperkin Exp $
 bin/wxmaxima
+man/man1/wxmaxima.1
 share/applications/wxMaxima.desktop
 share/bash-completion/completions/wxmaxima
 share/doc/wxmaxima/Autocomplete1.jpg
@@ -46,7 +47,6 @@ share/locale/tr/LC_MESSAGES/wxMaxima.mo
 share/locale/uk/LC_MESSAGES/wxMaxima.mo
 share/locale/zh_CN/LC_MESSAGES/wxMaxima.mo
 share/locale/zh_TW/LC_MESSAGES/wxMaxima.mo
-share/man/man1/wxmaxima.1
 share/metainfo/wxMaxima.appdata.xml
 share/mime/packages/x-wxmathml.xml
 share/mime/packages/x-wxmaxima-batch.xml



Home | Main Index | Thread Index | Old Index