pkgsrc/devel/lua-filesystem/Makefile
maya ff7bc5e929 lua-filesystem: update to 1.7.0
Update provided by Jonathan Buschmann in PR pkg/53787.
I added some pkgconfig invocations, because otherwise it was linking
to lua without the RPATH to liblua.
Added a test target.

Version 1.7.0 [15/Sep/2017]

        symlinkattributes function now provides 'target' field, containing name of the file that the symlink points to.
        attributes, symlinkattributes, touch, mkdir, and rmdir functions now return system-dependent error code as the third value on error.
        Fixed detection of closed files for Lua 5.2+ in setmode, lock, and unlock functions.
        Fixed various compiler warnings.
s: ----------------------------------------------------------------------
2019-05-28 20:43:04 +00:00

27 lines
736 B
Makefile

# $NetBSD: Makefile,v 1.11 2019/05/28 20:43:04 maya Exp $
#
DISTNAME= luafilesystem-1.7.0
PKGNAME= ${DISTNAME:S/lua/${LUA_PKGPREFIX}-/}
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GITHUB:=keplerproject/}
GITHUB_PROJECT= luafilesystem
GITHUB_TAG= v${PKGVERSION_NOREV:S/./_/g}_2
MAINTAINER= fhajny@NetBSD.org
HOMEPAGE= http://keplerproject.github.com/luafilesystem/
COMMENT= File system related library for Lua
LICENSE= mit
WRKSRC= ${WRKDIR}/luafilesystem-${PKGVERSION_NOREV:S/./_/g}_2
USE_TOOLS+= gmake pkg-config
BUILD_TARGET= lib
TEST_TARGET= test
MAKE_ENV+= LUA_CDIR=${LUA_CDIR}
MAKE_ENV+= LUA_VERS=${LUA_VERSION_MAJOR}.${LUA_VERSION_MINOR}
.include "../../lang/lua/module.mk"
.include "../../mk/bsd.pkg.mk"