pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/qore qore: add plist awk modifiers so that PLISTS...
details: https://anonhg.NetBSD.org/pkgsrc/rev/55c9cf9d4744
branches: trunk
changeset: 387033:55c9cf9d4744
user: nros <nros%pkgsrc.org@localhost>
date: Thu Oct 20 10:14:01 2022 +0000
description:
qore: add plist awk modifiers so that PLISTS of modules get generated correctly using print-PLIST
diffstat:
lang/qore/module.mk | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diffs (16 lines):
diff -r 6c46c910a56f -r 55c9cf9d4744 lang/qore/module.mk
--- a/lang/qore/module.mk Thu Oct 20 09:35:15 2022 +0000
+++ b/lang/qore/module.mk Thu Oct 20 10:14:01 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: module.mk,v 1.2 2016/07/20 11:58:40 nros Exp $
+# $NetBSD: module.mk,v 1.3 2022/10/20 10:14:01 nros Exp $
#
# This file should be included in the makefile of packages that install
# Qore modules.
@@ -37,3 +37,6 @@
PLIST_SUBST+=QORE_MODULE_DIR="${qore-module-dir:sh:C,^${PREFIX}/,,W}"
PLIST_SUBST+=QORE_LATEST_MODULE_API="${qore-latest-module-api:sh}"
PLIST_SUBST+=QORE_USER_MODULE_DIR="${qore-user-module-dir:sh:C,^${PREFIX}/,,W}"
+PRINT_PLIST_AWK+= { gsub("^${qore-module-dir:sh:C,^${PREFIX}/,,W}", "$${QORE_MODULE_DIR}"); }
+PRINT_PLIST_AWK+= { gsub("^${qore-user-module-dir:sh:C,^${PREFIX}/,,W}", "$${QORE_USER_MODULE_DIR}"); }
+PRINT_PLIST_AWK+= /.*\.qmod$$/ { gsub("${qore-latest-module-api:sh}", "$${QORE_LATEST_MODULE_API}"); }
Home |
Main Index |
Thread Index |
Old Index