pkgsrc-Changes archive

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

CVS commit: pkgsrc/lang/lua



Module Name:    pkgsrc
Committed By:   nia
Date:           Thu Jul  9 15:01:54 UTC 2020

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

Log Message:
lua: Add PLIST_AWK for LUA_DOCDIR


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 pkgsrc/lang/lua/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/lua/module.mk
diff -u pkgsrc/lang/lua/module.mk:1.7 pkgsrc/lang/lua/module.mk:1.8
--- pkgsrc/lang/lua/module.mk:1.7       Thu Mar  5 14:15:45 2015
+++ pkgsrc/lang/lua/module.mk   Thu Jul  9 15:01:53 2020
@@ -1,4 +1,4 @@
-# $NetBSD: module.mk,v 1.7 2015/03/05 14:15:45 ryoon Exp $
+# $NetBSD: module.mk,v 1.8 2020/07/09 15:01:53 nia Exp $
 #
 # This Makefile fragment is intended to be included by packages that
 # install Lua modules.
@@ -50,6 +50,9 @@ PRINT_PLIST_AWK+=     /^${LUA_CDIR:S|/|\\/|g
 LUA_DOCDIR=    share/doc/${PKGBASE}
 PLIST_SUBST+=  LUA_DOCDIR=${LUA_DOCDIR}
 
+PRINT_PLIST_AWK+=      /^${LUA_DOCDIR:S|/|\\/|g}/ \
+                       { gsub(/${LUA_DOCDIR:S|/|\\/|g}/, "$${LUA_DOCDIR}") }
+
 LUA_EXAMPLESDIR=       share/examples/${PKGBASE}
 PLIST_SUBST+=          LUA_EXAMPLESDIR=${LUA_EXAMPLESDIR}
 



Home | Main Index | Thread Index | Old Index