173d5f3f97
Patch provided by Aleksey Cheusov in PR 42195. Changes: FIX: POSIX getopt("xo:") accepts './app -xoVVV' and './app -xo VVV' treating them as './app -x -o VVV'. Now Lua alt_getopt does the same. Additional regression tests/examples error() function is not used for exiting anymore. os.exit() is used instead.
27 lines
668 B
Makefile
27 lines
668 B
Makefile
# $NetBSD: Makefile,v 1.2 2009/10/31 04:03:52 minskim Exp $
|
|
#
|
|
|
|
PKGNAME= ${DISTNAME:S/lua-/${LUA_PKGPREFIX}-/}
|
|
DISTNAME= lua-alt-getopt-0.7.0
|
|
CATEGORIES= devel
|
|
MASTER_SITES= http://luaforge.net/frs/download.php/4260/ \
|
|
http://mova.org/~cheusov/pub/lua_alt_getopt/
|
|
|
|
MAINTAINER= cheusov@tut.by
|
|
HOMEPAGE= http://luaforge.net/projects/alt-getopt/
|
|
COMMENT= getopt API for Lua similar to getopt_long(3) function
|
|
LICENSE= mit
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
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"
|