git: 28ba2caafe9d - main - devel/lua-Penlight: New port
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 02 Aug 2023 13:45:17 UTC
The branch main has been updated by markj: URL: https://cgit.FreeBSD.org/ports/commit/?id=28ba2caafe9d05fbd9d8d561b2bf402f1cb3d44a commit 28ba2caafe9d05fbd9d8d561b2bf402f1cb3d44a Author: Mark Johnston <markj@FreeBSD.org> AuthorDate: 2023-07-31 19:05:59 +0000 Commit: Mark Johnston <markj@FreeBSD.org> CommitDate: 2023-08-02 13:40:56 +0000 devel/lua-Penlight: New port Penlight is a handy set of pure Lua libraries inspired by the Python standard library. PR: 272850 Approved by: diizzy --- devel/Makefile | 1 + devel/lua-Penlight/Makefile | 27 +++++++++++++++++++++++++++ devel/lua-Penlight/distinfo | 3 +++ devel/lua-Penlight/pkg-descr | 3 +++ devel/lua-Penlight/pkg-plist | 39 +++++++++++++++++++++++++++++++++++++++ 5 files changed, 73 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 3a89a5ff9b0b..1ee7c096cd60 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -1520,6 +1520,7 @@ SUBDIR += love5 SUBDIR += lpc21isp SUBDIR += lrmi + SUBDIR += lua-Penlight SUBDIR += lua-argparse SUBDIR += lua-bitlib SUBDIR += lua-bitop diff --git a/devel/lua-Penlight/Makefile b/devel/lua-Penlight/Makefile new file mode 100644 index 000000000000..fc220bd52f68 --- /dev/null +++ b/devel/lua-Penlight/Makefile @@ -0,0 +1,27 @@ +PORTNAME= Penlight +DISTVERSION= 1.13.1 +CATEGORIES= devel +PKGNAMEPREFIX= ${LUA_PKGNAMEPREFIX} + +MAINTAINER= markj@FreeBSD.org +COMMENT= Comprehensive set of libraries for Lua +WWW= https://github.com/lunarmodules/Penlight + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE.md + +RUN_DEPENDS= ${LUA_PKGNAMEPREFIX}luafilesystem>=0:devel/luafilesystem@${LUA_FLAVOR} + +USES= lua:54,module + +USE_GITHUB= yes +GH_ACCOUNT= lunarmodules + +NO_ARCH= yes +NO_BUILD= yes + +do-install: + ${MKDIR} ${STAGEDIR}${LUA_MODSHAREDIR}/pl + ${INSTALL_DATA} ${WRKSRC}/lua/pl/*.lua ${STAGEDIR}${LUA_MODSHAREDIR}/pl + +.include <bsd.port.mk> diff --git a/devel/lua-Penlight/distinfo b/devel/lua-Penlight/distinfo new file mode 100644 index 000000000000..e78966e2830c --- /dev/null +++ b/devel/lua-Penlight/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1690831212 +SHA256 (lunarmodules-Penlight-1.13.1_GH0.tar.gz) = 530380e1a377df519c2e589f47823f79701f8e0e67f6bbd994e18d09a470b680 +SIZE (lunarmodules-Penlight-1.13.1_GH0.tar.gz) = 434059 diff --git a/devel/lua-Penlight/pkg-descr b/devel/lua-Penlight/pkg-descr new file mode 100644 index 000000000000..1476dc706a1a --- /dev/null +++ b/devel/lua-Penlight/pkg-descr @@ -0,0 +1,3 @@ +Penlight is a set of pure Lua libraries for making it easier to work with +common tasks like iterating over directories, reading configuration files and +the like. Provides functional operations on tables and sequences. diff --git a/devel/lua-Penlight/pkg-plist b/devel/lua-Penlight/pkg-plist new file mode 100644 index 000000000000..ac5f7b6aafac --- /dev/null +++ b/devel/lua-Penlight/pkg-plist @@ -0,0 +1,39 @@ +%%LUA_MODSHAREDIR%%/pl/Date.lua +%%LUA_MODSHAREDIR%%/pl/List.lua +%%LUA_MODSHAREDIR%%/pl/Map.lua +%%LUA_MODSHAREDIR%%/pl/MultiMap.lua +%%LUA_MODSHAREDIR%%/pl/OrderedMap.lua +%%LUA_MODSHAREDIR%%/pl/Set.lua +%%LUA_MODSHAREDIR%%/pl/app.lua +%%LUA_MODSHAREDIR%%/pl/array2d.lua +%%LUA_MODSHAREDIR%%/pl/class.lua +%%LUA_MODSHAREDIR%%/pl/compat.lua +%%LUA_MODSHAREDIR%%/pl/comprehension.lua +%%LUA_MODSHAREDIR%%/pl/config.lua +%%LUA_MODSHAREDIR%%/pl/data.lua +%%LUA_MODSHAREDIR%%/pl/dir.lua +%%LUA_MODSHAREDIR%%/pl/file.lua +%%LUA_MODSHAREDIR%%/pl/func.lua +%%LUA_MODSHAREDIR%%/pl/import_into.lua +%%LUA_MODSHAREDIR%%/pl/init.lua +%%LUA_MODSHAREDIR%%/pl/input.lua +%%LUA_MODSHAREDIR%%/pl/lapp.lua +%%LUA_MODSHAREDIR%%/pl/lexer.lua +%%LUA_MODSHAREDIR%%/pl/luabalanced.lua +%%LUA_MODSHAREDIR%%/pl/operator.lua +%%LUA_MODSHAREDIR%%/pl/path.lua +%%LUA_MODSHAREDIR%%/pl/permute.lua +%%LUA_MODSHAREDIR%%/pl/pretty.lua +%%LUA_MODSHAREDIR%%/pl/seq.lua +%%LUA_MODSHAREDIR%%/pl/sip.lua +%%LUA_MODSHAREDIR%%/pl/strict.lua +%%LUA_MODSHAREDIR%%/pl/stringio.lua +%%LUA_MODSHAREDIR%%/pl/stringx.lua +%%LUA_MODSHAREDIR%%/pl/tablex.lua +%%LUA_MODSHAREDIR%%/pl/template.lua +%%LUA_MODSHAREDIR%%/pl/test.lua +%%LUA_MODSHAREDIR%%/pl/text.lua +%%LUA_MODSHAREDIR%%/pl/types.lua +%%LUA_MODSHAREDIR%%/pl/url.lua +%%LUA_MODSHAREDIR%%/pl/utils.lua +%%LUA_MODSHAREDIR%%/pl/xml.lua