pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
wip/zim: Fixed missing substitution of data-path
Module Name: pkgsrc-wip
Committed By: Matthias Petermann <mp%petermann-it.de@localhost>
Pushed By: mp
Date: Sat Jun 6 13:11:01 2020 +0200
Changeset: 6e0e699c7138723fe5be6ebaea4dfc8d9796d213
Modified Files:
zim/Makefile
Log Message:
wip/zim: Fixed missing substitution of data-path
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=6e0e699c7138723fe5be6ebaea4dfc8d9796d213
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
zim/Makefile | 15 ++++++++++-----
1 file changed, 10 insertions(+), 5 deletions(-)
diffs:
diff --git a/zim/Makefile b/zim/Makefile
index b66403850e..159f8eea5d 100644
--- a/zim/Makefile
+++ b/zim/Makefile
@@ -1,7 +1,7 @@
# $NetBSD: $
DISTNAME= zim-0.72.1
-PKGREVISION= 1
+PKGREVISION= 2
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= wip editors
MASTER_SITES= http://zim-wiki.org/downloads/
@@ -22,10 +22,15 @@ USE_LANGUAGES= # none
REPLACE_PYTHON= zim.py
PYTHON_VERSIONS_ACCEPTED= 37
-SUBST_CLASSES+= man-path
-SUBST_STAGE.man-path= pre-configure
-SUBST_FILES.man-path+= setup.py
-SUBST_SED.man-path= -e s,share/man/man1,${PKGMANDIR}/man1,
+SUBST_CLASSES+= data-path
+SUBST_STAGE.data-path= pre-configure
+SUBST_FILES.data-path= zim/config/basedirs.py
+SUBST_SED.data-path= -e 's,/usr/local/share/,${PREFIX}/share/,'
+
+SUBST_CLASSES+= man-path
+SUBST_STAGE.man-path= pre-configure
+SUBST_FILES.man-path+= setup.py
+SUBST_SED.man-path= -e s,share/man/man1,${PKGMANDIR}/man1,
.include "../../lang/python/application.mk"
.include "../../lang/python/distutils.mk"
Home |
Main Index |
Thread Index |
Old Index