File:  [cvs.NetBSD.org] / pkgsrc / devel / lua-sdl2 / Makefile
Revision 1.7: download - view: text, annotated - select for diffs
Mon Mar 28 10:53:01 2022 UTC (2 years, 8 months ago) by tnn
Branches: MAIN
CVS tags: pkgsrc-2022Q2-base, pkgsrc-2022Q2, pkgsrc-2022Q1-base, pkgsrc-2022Q1, HEAD
{c,d,e}*/*: revbump(1) for libsndfile

# $NetBSD: Makefile,v 1.7 2022/03/28 10:53:01 tnn Exp $

DISTNAME=	luasdl2-2.0.5.6.0
PKGNAME=	${LUA_PKGPREFIX}-${DISTNAME:S/^lua//1}
PKGREVISION=	5
CATEGORIES=	devel lua
MASTER_SITES=	${MASTER_SITE_GITHUB:=Tangent128/}
GITHUB_PROJECT=	luasdl2
GITHUB_TAG=	v2.0.5-6.0

MAINTAINER=	nia@NetBSD.org
HOMEPAGE=	https://github.com/Tangent128/luasdl2
COMMENT=	Pure C binding of SDL 2.0 for Lua
LICENSE=	isc

USE_CMAKE=	yes
USE_LANGUAGES=	c c++

CMAKE_ARGS+=	-DWITH_DOCSDIR=${LUA_DOCDIR}
CMAKE_ARGS+=	-DWITH_LUAVER="user"
CMAKE_ARGS+=	-DLUA_LIBDIR=${LUA_CDIR}

# build fails on lua52.
LUA_VERSIONS_INCOMPATIBLE=	52

.include "../../devel/SDL2/buildlink3.mk"
.include "../../audio/SDL2_mixer/buildlink3.mk"
.include "../../fonts/SDL2_ttf/buildlink3.mk"
.include "../../graphics/SDL2_image/buildlink3.mk"
.include "../../net/SDL2_net/buildlink3.mk"
.include "../../lang/lua/module.mk"
.include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>