pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/databases/gourmet gourmet: Use PKGLOCALEDIR.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b332375e8bb7
branches:  trunk
changeset: 389967:b332375e8bb7
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Tue Dec 13 13:19:33 2022 +0000

description:
gourmet: Use PKGLOCALEDIR.

diffstat:

 databases/gourmet/Makefile |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r 6ce272c49740 -r b332375e8bb7 databases/gourmet/Makefile
--- a/databases/gourmet/Makefile        Tue Dec 13 13:13:47 2022 +0000
+++ b/databases/gourmet/Makefile        Tue Dec 13 13:19:33 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.73 2022/11/23 16:19:34 adam Exp $
+# $NetBSD: Makefile,v 1.74 2022/12/13 13:19:33 jperkin Exp $
 
 DISTNAME=              gourmet-0.8.5.14
 PKGREVISION=           52
@@ -12,6 +12,12 @@
 USE_PKGLOCALEDIR=              yes
 PYTHON_VERSIONS_ACCEPTED=      27 # py-metakit, py-imaging, py-gtk2
 
+SUBST_CLASSES+=                paths
+SUBST_STAGE.paths=     pre-configure
+SUBST_FILES.paths=     setup.py
+SUBST_SED.paths=       -e '/i18n_base.=/s/share/${PKGLOCALEDIR}/'
+SUBST_NOOP_OK.paths=   yes
+
 REPLACE_PYTHON+=       build_rpms.py
 REPLACE_PYTHON+=       setup.py
 REPLACE_PYTHON+=       src/gourmet



Home | Main Index | Thread Index | Old Index