summaryrefslogtreecommitdiff
path: root/lang/lua/application.mk
blob: c77044f996a2b707aeecfe82eb680a1a310a7594 (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.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