NEW: lang/lua/5.4

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

NEW: lang/lua/5.4

Jonathan Gray-11
add lua 5.4.2

https://www.lua.org/manual/5.4/readme.html#changes

Index: lang/lua/Makefile
===================================================================
RCS file: /cvs/ports/lang/lua/Makefile,v
retrieving revision 1.47
diff -u -p -r1.47 Makefile
--- lang/lua/Makefile 14 Jan 2015 20:07:45 -0000 1.47
+++ lang/lua/Makefile 19 Feb 2021 13:26:20 -0000
@@ -4,6 +4,7 @@
     SUBDIR += 5.1
     SUBDIR += 5.2
     SUBDIR += 5.3
+    SUBDIR += 5.4
 
 .include <bsd.port.subdir.mk>
 
Index: lang/lua/lua.port.mk
===================================================================
RCS file: /cvs/ports/lang/lua/lua.port.mk,v
retrieving revision 1.35
diff -u -p -r1.35 lua.port.mk
--- lang/lua/lua.port.mk 31 Oct 2016 18:46:09 -0000 1.35
+++ lang/lua/lua.port.mk 19 Feb 2021 13:25:59 -0000
@@ -17,6 +17,8 @@ FLAVOR ?= # empty
 MODLUA_VERSION = 5.2
 .elif ${FLAVOR:Mlua53}
 MODLUA_VERSION = 5.3
+.elif ${FLAVOR:Mlua54}
+MODLUA_VERSION = 5.4
 .else
 MODLUA_VERSION ?= ${MODLUA_DEFAULT_VERSION}
 .endif
@@ -30,6 +32,9 @@ MODLUA_FLAVOR = lua52
 .elif "${MODLUA_VERSION}" == "5.3"
 _MODLUA_PKG_PREFIX = lua53
 MODLUA_FLAVOR = lua53
+.elif "${MODLUA_VERSION}" == "5.4"
+_MODLUA_PKG_PREFIX = lua54
+MODLUA_FLAVOR = lua54
 .else
 ERRORS += "Invalid MODLUA_VERSION set: ${MODLUA_VERSION}."
 .endif

lua54.tgz (3K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: NEW: lang/lua/5.4

Jonathan Gray-11
On Sat, Feb 20, 2021 at 12:49:13PM +1100, Jonathan Gray wrote:
> add lua 5.4.2
>
> https://www.lua.org/manual/5.4/readme.html#changes

update for 5.4.3

Index: lang/lua/Makefile
===================================================================
RCS file: /cvs/ports/lang/lua/Makefile,v
retrieving revision 1.47
diff -u -p -r1.47 Makefile
--- lang/lua/Makefile 14 Jan 2015 20:07:45 -0000 1.47
+++ lang/lua/Makefile 19 Feb 2021 13:26:20 -0000
@@ -4,6 +4,7 @@
     SUBDIR += 5.1
     SUBDIR += 5.2
     SUBDIR += 5.3
+    SUBDIR += 5.4
 
 .include <bsd.port.subdir.mk>
 
Index: lang/lua/lua.port.mk
===================================================================
RCS file: /cvs/ports/lang/lua/lua.port.mk,v
retrieving revision 1.35
diff -u -p -r1.35 lua.port.mk
--- lang/lua/lua.port.mk 31 Oct 2016 18:46:09 -0000 1.35
+++ lang/lua/lua.port.mk 19 Feb 2021 13:25:59 -0000
@@ -17,6 +17,8 @@ FLAVOR ?= # empty
 MODLUA_VERSION = 5.2
 .elif ${FLAVOR:Mlua53}
 MODLUA_VERSION = 5.3
+.elif ${FLAVOR:Mlua54}
+MODLUA_VERSION = 5.4
 .else
 MODLUA_VERSION ?= ${MODLUA_DEFAULT_VERSION}
 .endif
@@ -30,6 +32,9 @@ MODLUA_FLAVOR = lua52
 .elif "${MODLUA_VERSION}" == "5.3"
 _MODLUA_PKG_PREFIX = lua53
 MODLUA_FLAVOR = lua53
+.elif "${MODLUA_VERSION}" == "5.4"
+_MODLUA_PKG_PREFIX = lua54
+MODLUA_FLAVOR = lua54
 .else
 ERRORS += "Invalid MODLUA_VERSION set: ${MODLUA_VERSION}."
 .endif

lua54.tgz (3K) Download Attachment