pkgsrc/devel/lua-BitOp/Makefile
nia 79190d75d8 Add 'lua' category to Lua modules.
While here, normalize some packages with strange variable order.
2020-07-02 10:26:16 +00:00

34 lines
829 B
Makefile

# $NetBSD: Makefile,v 1.10 2020/07/02 10:26:16 nia Exp $
DISTNAME= LuaBitOp-1.0.2
PKGNAME= ${DISTNAME:S/Lua/${LUA_PKGPREFIX}-/}
PKGREVISION= 1
CATEGORIES= devel lua
MASTER_SITES= http://bitop.luajit.org/download/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://bitop.luajit.org/
COMMENT= Lua module which adds bitwise operations on numbers
LICENSE= mit
LUA_VERSIONS_ACCEPTED= 52 51
NO_CONFIGURE= yes
USE_TOOLS+= gmake
MAKE_FLAGS+= LUA_CDIR=${LUA_CDIR}
MAKE_FLAGS+= LUA_DOCDIR=${LUA_DOCDIR}
MAKE_FLAGS+= _LUA_DOT_VERSION=${_LUA_DOT_VERSION}
MAKE_FLAGS+= INSTALLPATH=${DESTDIR}${PREFIX}/${LUA_CDIR}
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "Darwin"
BUILD_TARGET= macosx
.endif
INSTALLATION_DIRS+= ${LUA_CDIR} ${LUA_DOCDIR}
TEST_TARGET= test
.include "../../lang/lua/module.mk"
.include "../../mk/bsd.pkg.mk"