Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
lua_altgetopt is a module for Lua programming language
for processing application's arguments the same way
BSD/GNU getopt_long(3) functions do.
Main features and goals:
1) compatibility to SUS "Utility Syntax Guidelines"
http://www.opengroup.org/onlinepubs/009695399/basedefs/xbd_chap12.html#tag_12_02
guidelines 3-13.
2) This module is for plain Lua
2) No extra dependencies
3) No hooks, no functional tricks ;-)
4) Support for long options, e.g. compatibility with getopt_long(3) C
function
present in *BSD and GNU libc.
5) Long options may optionally have one-char synonym or other long synonym
6) Strict error checking (checks for an incorrect use of options)
7) alt_getopt.lua is a Lua module.

View File

@@ -0,0 +1,25 @@
# $NetBSD: Makefile,v 1.5 2012/10/31 11:17:25 asau Exp $
#
PKGNAME= ${DISTNAME:S/lua-/${LUA_PKGPREFIX}-/}
DISTNAME= lua-alt-getopt-0.7.0
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=lua-alt-getopt/} \
http://mova.org/~cheusov/pub/lua_alt_getopt/
MAINTAINER= cheusov@NetBSD.org
HOMEPAGE= https://sourceforge.net/projects/lua-alt-getopt/
COMMENT= Lua API for getopt similar to getopt_long(3)
LICENSE= mit
USE_BSD_MAKEFILE= yes
NO_BUILD= yes
NO_CONFIGURE= yes
INSTALLATION_DIRS+= ${LUA_LDIR}
INSTALL_MAKE_FLAGS+= LUAMODDIR=${PREFIX}/${LUA_LDIR}
.include "../../lang/lua/module.mk"
.include "../../mk/bsd.pkg.mk"

View File

@@ -0,0 +1,2 @@
@comment $NetBSD: PLIST,v 1.1.1.1 2009/08/02 19:49:16 minskim Exp $
${LUA_LDIR}/alt_getopt.lua

View File

@@ -0,0 +1,5 @@
$NetBSD: distinfo,v 1.2 2009/10/31 04:03:52 minskim Exp $
SHA1 (lua-alt-getopt-0.7.0.tar.gz) = 431b590002f5fdced78e0745a9a283aefdd1dfa0
RMD160 (lua-alt-getopt-0.7.0.tar.gz) = 665d2510caa5daacc3a20c2d3f2a72df0d3f413f
Size (lua-alt-getopt-0.7.0.tar.gz) = 4720 bytes