pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/math/wxmaxima wxmaxima: USE PKGLOCALEDIR and PKGMANDIR.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/18780dd946a4
branches:  trunk
changeset: 389964:18780dd946a4
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Tue Dec 13 13:05:49 2022 +0000

description:
wxmaxima: USE PKGLOCALEDIR and PKGMANDIR.

diffstat:

 math/wxmaxima/Makefile |  15 ++++++++++++---
 math/wxmaxima/PLIST    |   4 ++--
 2 files changed, 14 insertions(+), 5 deletions(-)

diffs (48 lines):

diff -r e01b2a4fdc11 -r 18780dd946a4 math/wxmaxima/Makefile
--- a/math/wxmaxima/Makefile    Tue Dec 13 12:54:07 2022 +0000
+++ b/math/wxmaxima/Makefile    Tue Dec 13 13:05:49 2022 +0000
@@ -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 @@
 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 -r e01b2a4fdc11 -r 18780dd946a4 math/wxmaxima/PLIST
--- a/math/wxmaxima/PLIST       Tue Dec 13 12:54:07 2022 +0000
+++ b/math/wxmaxima/PLIST       Tue Dec 13 13:05:49 2022 +0000
@@ -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/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