summaryrefslogtreecommitdiff
path: root/math/wxmaxima
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2022-12-13 13:05:49 +0000
committerjperkin <jperkin@pkgsrc.org>2022-12-13 13:05:49 +0000
commit5c336aabb0a7cff88125660b0c99b4b9a800b1e4 (patch)
treef3b99c0b6965adc6d27c0f2d18c8eb3a174a648a /math/wxmaxima
parent419e7833100f415f045dca7b83527a70ee8b37be (diff)
downloadpkgsrc-5c336aabb0a7cff88125660b0c99b4b9a800b1e4.tar.gz
wxmaxima: USE PKGLOCALEDIR and PKGMANDIR.
Diffstat (limited to 'math/wxmaxima')
-rw-r--r--math/wxmaxima/Makefile15
-rw-r--r--math/wxmaxima/PLIST4
2 files changed, 14 insertions, 5 deletions
diff --git a/math/wxmaxima/Makefile b/math/wxmaxima/Makefile
index 85e1724d941..d5606961fe6 100644
--- a/math/wxmaxima/Makefile
+++ b/math/wxmaxima/Makefile
@@ -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"
diff --git a/math/wxmaxima/PLIST b/math/wxmaxima/PLIST
index 7a219a026bb..d9b61fa8f76 100644
--- a/math/wxmaxima/PLIST
+++ b/math/wxmaxima/PLIST
@@ -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