pkgsrc/databases/lua-sql-mysql/Makefile.common
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

26 lines
756 B
Text

# $NetBSD: Makefile.common,v 1.6 2020/07/02 10:26:18 nia Exp $
#
# used by databases/lua-sql-postgres/Makefile
# used by databases/lua-sql-sqlite3/Makefile
# TODO: firebird, oci8, odbc
GITHUB_PROJECT= luasql
DISTNAME= luasql-2.3.2
CATEGORIES= databases lua
MASTER_SITES= ${MASTER_SITE_GITHUB:=keplerproject/}
GITHUB_TAG= v${PKGVERSION_NOREV}
LICENSE= mit
HOMEPAGE= https://keplerproject.github.io/luasql/
USE_TOOLS+= gmake
MAKE_FLAGS+= PREFIX=${DESTDIR}${PREFIX}
MAKE_FLAGS+= LUA_LIBDIR=${DESTDIR}${PREFIX}/${LUA_CDIR}
MAKE_FLAGS+= LUA_INC=${BUILDLINK_PREFIX.${LUA_PACKAGE}}/${LUA_INCDIR}
DISTINFO_FILE= ${.CURDIR}/../../databases/lua-sql-mysql/distinfo
PATCHDIR= ${.CURDIR}/../../databases/lua-sql-mysql/patches
.include "../../lang/lua/module.mk"