summaryrefslogtreecommitdiff
path: root/lang/lua/application.mk
blob: 45e5a1d76e08ac0e49e3a6a62e0241529ddc4a9b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# $NetBSD: application.mk,v 1.4 2014/05/03 13:00:44 alnsn 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 to be installed, relative to ${WRKSRC}.
#
# Keywords: Lua
#

.if !defined(LUA_LUAVERSION_MK)
.include "../../lang/lua/luaversion.mk"
.endif

.if defined(REPLACE_LUA)
REPLACE_INTERPRETER+=	lua
REPLACE.lua.old=	.*lua
REPLACE.lua.new=	${LUA_INTERPRETER}
REPLACE_FILES.lua=	${REPLACE_LUA}
.endif