pkgsrc-Changes archive

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

CVS commit: pkgsrc/lang/qore



Module Name:    pkgsrc
Committed By:   nros
Date:           Thu Oct 20 10:14:01 UTC 2022

Modified Files:
        pkgsrc/lang/qore: module.mk

Log Message:
qore: add plist awk modifiers so that PLISTS of modules get generated correctly using print-PLIST


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/lang/qore/module.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/lang/qore/module.mk
diff -u pkgsrc/lang/qore/module.mk:1.2 pkgsrc/lang/qore/module.mk:1.3
--- pkgsrc/lang/qore/module.mk:1.2      Wed Jul 20 11:58:40 2016
+++ pkgsrc/lang/qore/module.mk  Thu Oct 20 10:14:01 2022
@@ -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_API="${qore-mod
 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