aboutsummaryrefslogtreecommitdiffstats
path: root/Mk/Uses
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2015-01-17 10:19:59 +0800
committerbapt <bapt@FreeBSD.org>2015-01-17 10:19:59 +0800
commited423afa7f6b51d436394c0e8fd27ca6f66660b0 (patch)
tree76a340961a800d0de0f572d9b05d47862ced83f8 /Mk/Uses
parent1c146e5507bae062eb04f33adbf0111ad95b9477 (diff)
downloadfreebsd-ports-gnome-ed423afa7f6b51d436394c0e8fd27ca6f66660b0.tar.gz
freebsd-ports-gnome-ed423afa7f6b51d436394c0e8fd27ca6f66660b0.tar.zst
freebsd-ports-gnome-ed423afa7f6b51d436394c0e8fd27ca6f66660b0.zip
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
Diffstat (limited to 'Mk/Uses')
-rw-r--r--Mk/Uses/lua.mk11
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
#