Annotation of pkgsrc/lang/lua/application.mk, revision 1.4
1.4 ! alnsn 1: # $NetBSD: application.mk,v 1.3 2013/10/30 09:09:59 obache Exp $
1.1 dholland 2: #
3: # This makefile fragment is intended to be included by packages that
4: # install Lua scripts.
5: #
6: # Package-settable variables:
7: #
8: # REPLACE_LUA
1.2 dholland 9: # A list of Lua scripts to be installed, relative to ${WRKSRC}.
1.1 dholland 10: #
11: # Keywords: Lua
12: #
13:
1.4 ! alnsn 14: .if !defined(LUA_LUAVERSION_MK)
1.1 dholland 15: .include "../../lang/lua/luaversion.mk"
1.4 ! alnsn 16: .endif
1.1 dholland 17:
18: .if defined(REPLACE_LUA)
19: REPLACE_INTERPRETER+= lua
20: REPLACE.lua.old= .*lua
1.4 ! alnsn 21: REPLACE.lua.new= ${LUA_INTERPRETER}
1.1 dholland 22: REPLACE_FILES.lua= ${REPLACE_LUA}
23: .endif
CVSweb <webmaster@jp.NetBSD.org>