pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

wip/lua-cliargs: import lua52-cliargs-3.0



Module Name:	pkgsrc-wip
Committed By:	Jonathan Buschmann <jonthn+pkgsrc%pinacea.com@localhost>
Pushed By:	jonthn
Date:		Thu Jan 2 23:48:15 2020 +0800
Changeset:	974583eb43bfa0ac8e5768da20ad30e2a798046e

Added Files:
	lua-cliargs/DESCR
	lua-cliargs/Makefile
	lua-cliargs/PLIST
	lua-cliargs/distinfo

Log Message:
wip/lua-cliargs: import lua52-cliargs-3.0

cliargs is a command-line argument parser for Lua.
It supports several types of arguments.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=974583eb43bfa0ac8e5768da20ad30e2a798046e

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 lua-cliargs/DESCR    |  2 ++
 lua-cliargs/Makefile | 27 +++++++++++++++++++++++++++
 lua-cliargs/PLIST    | 15 +++++++++++++++
 lua-cliargs/distinfo |  6 ++++++
 4 files changed, 50 insertions(+)

diffs:
diff --git a/lua-cliargs/DESCR b/lua-cliargs/DESCR
new file mode 100644
index 0000000000..93427d9068
--- /dev/null
+++ b/lua-cliargs/DESCR
@@ -0,0 +1,2 @@
+cliargs is a command-line argument parser for Lua.
+It supports several types of arguments.
diff --git a/lua-cliargs/Makefile b/lua-cliargs/Makefile
new file mode 100644
index 0000000000..161c4d9c13
--- /dev/null
+++ b/lua-cliargs/Makefile
@@ -0,0 +1,27 @@
+# $NetBSD$
+
+DISTNAME=	lua-cliargs-3.0
+PKGNAME=	${DISTNAME:S/lua/${LUA_PKGPREFIX}/}
+CATEGORIES=	devel
+MASTER_SITES=	${MASTER_SITE_GITHUB:=amireh/}
+GITHUB_PROJECT=	lua_cliargs
+GITHUB_TAG=	v${PKGVERSION_NOREV}-2
+
+HOMEPAGE=	https://github.com/amireh/lua_cliargs
+COMMENT=	Command-line argument parsing module for Lua
+LICENSE=	mit
+
+NO_BUILD=	yes
+NO_CONFIGURE=	yes
+
+INSTALLATION_DIRS+=	${LUA_LDIR}
+INSTALLATION_DIRS+=	${LUA_LDIR}/cliargs
+INSTALLATION_DIRS+=	${LUA_LDIR}/cliargs/utils
+
+do-install:
+	${INSTALL_DATA} ${WRKSRC}/src/cliargs.lua ${DESTDIR}${PREFIX}/${LUA_LDIR}
+	${INSTALL_DATA} ${WRKSRC}/src/cliargs/*.lua ${DESTDIR}${PREFIX}/${LUA_LDIR}/cliargs
+	${INSTALL_DATA} ${WRKSRC}/src/cliargs/utils/*.lua ${DESTDIR}${PREFIX}/${LUA_LDIR}/cliargs/utils
+
+.include "../../lang/lua/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/lua-cliargs/PLIST b/lua-cliargs/PLIST
new file mode 100644
index 0000000000..de12927110
--- /dev/null
+++ b/lua-cliargs/PLIST
@@ -0,0 +1,15 @@
+@comment $NetBSD$
+${LUA_LDIR}/cliargs.lua
+${LUA_LDIR}/cliargs/config_loader.lua
+${LUA_LDIR}/cliargs/constants.lua
+${LUA_LDIR}/cliargs/core.lua
+${LUA_LDIR}/cliargs/parser.lua
+${LUA_LDIR}/cliargs/printer.lua
+${LUA_LDIR}/cliargs/utils/disect.lua
+${LUA_LDIR}/cliargs/utils/disect_argument.lua
+${LUA_LDIR}/cliargs/utils/filter.lua
+${LUA_LDIR}/cliargs/utils/lookup.lua
+${LUA_LDIR}/cliargs/utils/shallow_copy.lua
+${LUA_LDIR}/cliargs/utils/split.lua
+${LUA_LDIR}/cliargs/utils/trim.lua
+${LUA_LDIR}/cliargs/utils/wordwrap.lua
diff --git a/lua-cliargs/distinfo b/lua-cliargs/distinfo
new file mode 100644
index 0000000000..c5de1beded
--- /dev/null
+++ b/lua-cliargs/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.3 2015/08/10 22:13:59 jonthn Exp $
+
+SHA1 (lua-cliargs-3.0.tar.gz) = 54744bfe6a3b2d59966637927bcfa7320f94dc0c
+RMD160 (lua-cliargs-3.0.tar.gz) = 41404ebec2631486faaaa3b13803622233ba3ccb
+SHA512 (lua-cliargs-3.0.tar.gz) = e7a475f1d41249b0a35f021a6ccca46078f5b689c1927a4dd4cab80b2e4d291babaab35cf7d64fad3ebf68d871fb5177f030c7a2b28d9f55fbeb4dd26021d024
+Size (lua-cliargs-3.0.tar.gz) = 30435 bytes


Home | Main Index | Thread Index | Old Index