pkgsrc/devel/lua-inspect/Makefile
nia 1269df5857 devel: Add lua-inspect. Based on work by Jonathan Buschmann in wip.
This library transforms any Lua value into a human-readable representation.
It is especially useful for debugging errors in tables.

The objective here is human understanding (i.e. for debugging),
not serialization or compactness.
2020-07-02 11:16:18 +00:00

25 lines
637 B
Makefile

# $NetBSD: Makefile,v 1.1 2020/07/02 11:16:18 nia Exp $
DISTNAME= lua-inspect-3.1.1
PKGNAME= ${DISTNAME:S/lua/${LUA_PKGPREFIX}/}
CATEGORIES= devel lua
MASTER_SITES= ${MASTER_SITE_GITHUB:=kikito/}
GITHUB_PROJECT= inspect.lua
GITHUB_TAG= v${PKGVERSION_NOREV}
MAINTAINER= nia@NetBSD.org
HOMEPAGE= https://github.com/kikito/inspect.lua
COMMENT= Human-readable representation of Lua tables
LICENSE= mit
NO_BUILD= yes
NO_CONFIGURE= yes
INSTALLATION_DIRS+= ${LUA_LDIR}
do-install:
${INSTALL_DATA} ${WRKSRC}/inspect.lua \
${DESTDIR}${PREFIX}/${LUA_LDIR}
.include "../../lang/lua/module.mk"
.include "../../mk/bsd.pkg.mk"