pkgsrc-ng/lang/lua/application.mk
2014-08-11 13:27:10 +02:00

22 lines
486 B
Makefile

# $NetBSD: application.mk,v 1.3 2013/10/30 09:09:59 obache 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= ${LOCALBASE}/bin/lua
REPLACE_FILES.lua= ${REPLACE_LUA}
.endif