notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
I started running short on disk space for the non-production FreshPorts hosts. This time, I have decided to ask for donations. See my recent blog post which points to my Patreon account.
Port details on branch 2025Q3
lua54 Powerful, efficient, lightweight, embeddable scripting language
5.4.8 lang on this many watch lists=12 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 5.4.7Version of this port present on the latest quarterly branch.
Maintainer: andrew@tao11.riddles.org.uk search for ports maintained by this maintainer
Port Added: 2020-10-15 17:55:29
Last Update: 2025-07-05 09:22:45
Commit Hash: 50f3581
People watching this port, also watch:: zstd, pkg, mpdecimal, git, icu
License: MIT
WWW:
https://www.lua.org/
Description:
Lua is a programming language originally designed for extending applications, but also frequently used as a general-purpose, stand-alone language. Lua combines simple procedural syntax (similar to Pascal) with powerful data description constructs based on associative arrays and extensible semantics. Lua is dynamically typed, interpreted from bytecodes, and has automatic memory management with garbage collection, making it ideal for configuration, scripting, and rapid prototyping. A fundamental concept in the design of Lua is to provide meta-mechanisms for implementing features, instead of providing a host of features directly in the language. For example, although Lua is not a pure object-oriented language, it does provide meta-mechanisms for implementing classes and inheritance. Lua's meta-mechanisms bring an economy of concepts and keep the language small, while allowing the semantics to be extended in unconventional ways. Extensible semantics is a distinguishing feature of Lua. Lua is implemented as a small library of C functions, written in ANSI C, and compiles unmodified in all known platforms. The implementation goals are simplicity, efficiency, portability, and low embedding cost.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb

Manual pages:
pkg-plist: as obtained via: make generate-plist
Expand this list (21 items)
Collapse this list.
  1. @ldconfig
  2. /usr/local/share/licenses/lua54-5.4.8/catalog.mk
  3. /usr/local/share/licenses/lua54-5.4.8/LICENSE
  4. /usr/local/share/licenses/lua54-5.4.8/MIT
  5. bin/lua54
  6. bin/luac54
  7. include/lua54/lauxlib.h
  8. include/lua54/lua.h
  9. include/lua54/lua.hpp
  10. include/lua54/luaconf.h
  11. include/lua54/lualib.h
  12. lib/liblua-5.4.a
  13. lib/liblua-5.4.so
  14. libdata/pkgconfig/lua-5.4.pc
  15. share/man/man1/lua54.1.gz
  16. share/man/man1/luac54.1.gz
  17. @dir lib/lua/5.4
  18. @dir share/lua/5.4
  19. @owner
  20. @group
  21. @mode
Collapse this list.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • lua54>0:lang/lua54
To install the port:
cd /usr/ports/lang/lua54/ && make install clean
To add the package, run one of these commands:
  • pkg install lang/lua54
  • pkg install lua54
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: lua54
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1751702639 SHA256 (lua-5.4.8.tar.gz) = 4f18ddae154e793e46eeab727c59ef1c0c0c2b744e7b94219710d76f530629ae SIZE (lua-5.4.8.tar.gz) = 374332

Packages (timestamps in pop-ups are UTC):
lua54
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest5.4.85.4.85.4.25.4.85.4.8-5.4.2-
FreeBSD:13:quarterly5.4.75.4.75.4.65.4.75.4.75.4.65.4.65.4.6
FreeBSD:14:latest5.4.85.4.85.4.45.4.85.4.85.4.6-5.4.6
FreeBSD:14:quarterly5.4.75.4.7-5.4.75.4.75.4.65.4.65.4.6
FreeBSD:15:latest5.4.85.4.8n/a5.4.7n/a5.4.6_15.4.6_15.4.6_1
FreeBSD:15:quarterly--n/a-n/a---
FreeBSD:16:latest--n/a-n/a---
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Library dependencies:
  1. libedit.so.0 : devel/libedit
This port is required by:
for Build
  1. devel/swig
  2. devel/swig40
  3. lang/fennel

Deleted ports which required this port:

Expand this list of 1 deleted port
  1. devel/lua-language-server*
  2. Collapse this list of deleted ports.
for Libraries
  1. archivers/rpm4
  2. comms/tio
  3. converters/lua-iconv
  4. converters/osm2pgsql
  5. databases/lua-lsqlite3
  6. databases/lua-pgsql
  7. databases/lua-xapian
Expand this list (119 items / 112 hidden - sorry, this count includes any deleted ports)
  1. Collapse this list).
  2. databases/luadbi
  3. databases/luasql-firebird
  4. databases/luasql-mysql
  5. databases/luasql-odbc
  6. databases/luasql-postgres
  7. databases/luasql-sqlite3
  8. databases/tokyotyrant
  9. devel/freebsd-git-devtools
  10. devel/kyua
  11. devel/llvm-devel
  12. devel/llvm11
  13. devel/llvm20
  14. devel/llvm21
  15. devel/love10
  16. devel/lua-Penlight
  17. devel/lua-argparse
  18. devel/lua-bitlib
  19. devel/lua-bitop
  20. devel/lua-cjson
  21. devel/lua-cqueues
  22. devel/lua-lgi
  23. devel/lua-libevent
  24. devel/lua-lpeg
  25. devel/lua-luacheck
  26. devel/lua-luarocks
  27. devel/lua-luastatic
  28. devel/lua-lunit
  29. devel/lua-lunitx
  30. devel/lua-posix
  31. devel/lua-stdlib
  32. devel/lua-stdlib-debug
  33. devel/lua-stdlib-normalize
  34. devel/lua-sysctl
  35. devel/luafilesystem
  36. devel/lutok
  37. devel/xmake-io
  38. dns/dnsdist
  39. dns/luaunbound
  40. dns/powerdns
  41. dns/powerdns-recursor
  42. editors/lite
  43. editors/lite-xl
  44. editors/mle
  45. editors/vis
  46. emulators/flycast
  47. emulators/mgba
  48. games/OpenTomb
  49. games/corsix-th
  50. games/etlegacy
  51. games/freeciv
  52. games/freeciv-nox11
  53. games/freeciv21
  54. games/jaggedalliance2
  55. games/megaglest
  56. games/onscripter
  57. games/onscripter-1byte
  58. games/wesnoth
  59. games/xnethack
  60. graphics/darktable
  61. graphics/ipe
  62. graphics/lua-gd
  63. graphics/xournalpp
  64. irc/dxirc
  65. irc/weechat
  66. lang/py-lupa
  67. lang/tolua
  68. mail/imapfilter
  69. mail/opendkim
  70. mail/opendkim-devel
  71. math/sc-im
  72. multimedia/obs-studio
  73. multimedia/vlc
  74. multimedia/wireplumber
  75. net/asterisk18
  76. net/asterisk20
  77. net/asterisk22
  78. net/lua-luasocket
  79. net/lualdap
  80. net/msoak
  81. net/ntopng
  82. net/tinyfugue-devel
  83. net-im/prosody
  84. net-im/telegram-cli
  85. science/axom
  86. science/orthanc
  87. science/spheral
  88. security/lua-argon2
  89. security/lua-bcrypt
  90. security/luasec
  91. sysutils/libdnf
  92. sysutils/lua-puremagic
  93. sysutils/porch
  94. sysutils/slurm-wlm
  95. sysutils/vtm
  96. textproc/highlight
  97. textproc/libucl
  98. textproc/lua-icu-utils
  99. textproc/lua-luaexpat
  100. textproc/lua-lyaml
  101. www/bozohttpd
  102. www/faup
  103. www/lighttpd
  104. www/osrm-backend
  105. www/tokyopromenade
  106. x11-wm/notion
  107. Collapse this list.

Deleted ports which required this port:

Expand this list of 7 deleted ports
  1. graphics/darktable38*
  2. graphics/darktable40*
  3. graphics/darktable42*
  4. net/asterisk16*
  5. net/luasocket*
  6. sysutils/orch*
  7. textproc/luaexpat*
  8. Collapse this list of deleted ports.
for Run
  1. converters/lua-json
  2. databases/xapian-bindings
  3. devel/sol2
  4. lang/fennel

Configuration Options:
===> The following configuration options are available for lua54-5.4.8: ====> Documentation options DOCS=on: Install language and API reference (HTML, ~400kB) ====> Debugging options ASSERT=off: Enable interpreter assertions APICHECK=off: Enable API checks ====> Interactive command-line editing: you have to select exactly one of them EDITNONE=off: No command-line editing LIBEDIT_DL=on: Use dynamically loaded libedit (recommended) LIBEDIT=off: Use libedit (breaks lcurses) READLINE=off: Use GNU Readline (breaks lcurses) ===> Use 'make config' to modify these settings
Options name:
lang_lua54
USES:
cpe lua:core,54 libedit
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://www.lua.org/ftp/
Collapse this list.

There are no commits on branch 2025Q3 for this port