Argparse supports positional arguments, options, flags, optional arguments,
subcommands and more.
Argparse automatically generates usage, help and error messages.
--- /dev/null
+Argparse supports positional arguments, options, flags, optional arguments,
+subcommands and more.
+Argparse automatically generates usage, help and error messages.
--- /dev/null
+# $NetBSD$
+
+DISTNAME= lua-argparse-0.6.0
+PKGNAME= ${DISTNAME:S/lua/${LUA_PKGPREFIX}/}
+CATEGORIES= devel
+MASTER_SITES= ${MASTER_SITE_GITHUB:=mpeterv/}
+GITHUB_PROJECT= argparse
+
+HOMEPAGE= https://github.com/mpeterv/argparse
+COMMENT= Feature-rich command-line argument parser
+LICENSE= mit
+
+NO_BUILD= yes
+NO_CONFIGURE= yes
+
+WRKSRC= ${WRKDIR}/${DISTNAME:S/lua-//}
+
+INSTALLATION_DIRS+= ${LUA_LDIR}
+
+do-install:
+ ${INSTALL_DATA} ${WRKSRC}/src/*.lua \
+ ${DESTDIR}${PREFIX}/${LUA_LDIR}/
+
+.include "../../lang/lua/module.mk"
+.include "../../mk/bsd.pkg.mk"
--- /dev/null
+@comment $NetBSD$
+${LUA_LDIR}/argparse.lua
--- /dev/null
+$NetBSD: distinfo,v 1.3 2015/08/10 22:13:59 jonthn Exp $
+
+SHA1 (lua-argparse-0.6.0.tar.gz) = 48dcb52e67179c01ea07de11af447c56d757de65
+RMD160 (lua-argparse-0.6.0.tar.gz) = 2697efb559fb1fd685f6a344e6a7c18680cef934
+SHA512 (lua-argparse-0.6.0.tar.gz) = 7efdfab8ec563a9e7eddc7aff760fd4d3605df2896939af3f2c80e5ed4d4e5ba45a7815057e15446d242351a6fd139d6b8da802fe318d4a4bcd69918fece53d1
+Size (lua-argparse-0.6.0.tar.gz) = 36712 bytes