summaryrefslogtreecommitdiff
path: root/lang/lua/application.mk
blob: b035f8f7dc149f17f89e1465b35575cd20e8783c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# $NetBSD: application.mk,v 1.2 2013/10/30 06:53:19 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 to 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