summaryrefslogtreecommitdiff
path: root/devel/lua-term/Makefile
blob: 676be92ae140d29550eb43f4c3941111fa59db27 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# $NetBSD: Makefile,v 1.4 2020/07/11 14:48:58 nia Exp $

DISTNAME=	lua-term-0.07
PKGNAME=	${DISTNAME:S/lua/${LUA_PKGPREFIX}/}
CATEGORIES=	devel lua
MASTER_SITES=	${MASTER_SITE_GITHUB:=hoelzro/}
GITHUB_PROJECT=	lua-term

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	https://github.com/hoelzro/lua-term
COMMENT=	Lua module for manipulating a terminal
LICENSE=	mit

USE_TOOLS+=	gmake pkg-config

MAKE_FLAGS+=	LUA_DIR=${PREFIX}
MAKE_FLAGS+=	LUA_VER=${LUA_VERSION_MAJOR}.${LUA_VERSION_MINOR}
MAKE_FLAGS+=	LUA_INC=${PREFIX}/${LUA_INCDIR}
MAKE_FLAGS+=	LUA_LIBDIR=${PREFIX}/${LUA_CDIR}/term
MAKE_FLAGS+=	LUA_SHARE=${PREFIX}/${LUA_LDIR}/term

LDFLAGS.Darwin+=	-bundle -undefined dynamic_lookup

.include "../../lang/lua/module.mk"
.include "../../mk/bsd.pkg.mk"