From ed423afa7f6b51d436394c0e8fd27ca6f66660b0 Mon Sep 17 00:00:00 2001 From: bapt Date: Sat, 17 Jan 2015 02:19:59 +0000 Subject: Add lua 5.3.0 Highlights from this new version: Main new features are support for integers, bitwise operators, and a basic utf-8 library Complete list of changes: http://www.lua.org/manual/5.3/readme.html#changes List of incompatibilities with lua 5.2: http://www.lua.org/manual/5.3/manual.html#8 --- Mk/Uses/lua.mk | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'Mk/Uses') 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 # -- cgit