diff options
Diffstat (limited to 'Mk/Uses')
-rw-r--r-- | Mk/Uses/lua.mk | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/Mk/Uses/lua.mk b/Mk/Uses/lua.mk index b87d90128415..579570e540c6 100644 --- a/Mk/Uses/lua.mk +++ b/Mk/Uses/lua.mk @@ -3,11 +3,14 @@ # Provide support for lua # # MAINTAINER: lua@FreeBSD.org - +# Usage: +# +# USES+= lua:[version] +# .if !defined(_INCLUDE_USES_LUA_MK) _INCLUDE_USES_LUA_MK= yes -_LUA_VALID_VERSIONS= 52 51 +_LUA_VALID_VERSIONS= 53 52 51 .include "${PORTSDIR}/Mk/bsd.default-versions.mk" _LUA_DEFAULT_VERSION= ${LUA_DEFAULT:S/.//} @@ -26,8 +29,8 @@ _LUA_WANTED_VERSION:= ${_LUA_DEFAULT_VERSION} # # Parse one or more ver arguments # -.if ${lua_ARGS:M5[1-2]} -_LUA_WANTED_VERSIONS:= ${lua_ARGS:M5[1-2]} +.if ${lua_ARGS:M5[1-3]} +_LUA_WANTED_VERSIONS:= ${lua_ARGS:M5[1-3]} .endif # |