summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2022-12-13 13:19:33 +0000
committerjperkin <jperkin@pkgsrc.org>2022-12-13 13:19:33 +0000
commitfe9839a22cc52375897ea43ea85ad50289b9666f (patch)
treece3bb066d7390d44c8d51cf8ce9e3ed2928dd81c
parentaead1f195394ead309ae7b1f81bb9dc0114dbcd4 (diff)
downloadpkgsrc-fe9839a22cc52375897ea43ea85ad50289b9666f.tar.gz
gourmet: Use PKGLOCALEDIR.
-rw-r--r--databases/gourmet/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/databases/gourmet/Makefile b/databases/gourmet/Makefile
index 90fa0756878..2665e636198 100644
--- a/databases/gourmet/Makefile
+++ b/databases/gourmet/Makefile
@@ -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 @@ COMMENT= Recipe database
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