diff options
Diffstat (limited to 'lang/lua/application.mk')
-rw-r--r-- | lang/lua/application.mk | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/lang/lua/application.mk b/lang/lua/application.mk new file mode 100644 index 00000000000..c77044f996a --- /dev/null +++ b/lang/lua/application.mk @@ -0,0 +1,21 @@ +# $NetBSD: application.mk,v 1.1 2013/10/30 06:18:09 dholland Exp $ +# +# This makefile fragment is intended to be included by packages that +# install Lua scripts. +# +# Package-settable variables: +# +# REPLACE_LUA +# A list of Lua scripts ot be installed, relative to ${WRKSRC}. +# +# Keywords: Lua +# + +.include "../../lang/lua/luaversion.mk" + +.if defined(REPLACE_LUA) +REPLACE_INTERPRETER+= lua +REPLACE.lua.old= .*lua +REPLACE.lua.new= ${PREFIX}/bin/lua +REPLACE_FILES.lua= ${REPLACE_LUA} +.endif |