summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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