summaryrefslogtreecommitdiff
path: root/editors/dit/Makefile
blob: 3a2a9b64337ecbb44a3a365e8f4a1348d66b5c95 (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.1 2021/01/27 11:27:16 nia Exp $

DISTNAME=	dit-0.6
CATEGORIES=	editors
MASTER_SITES=	https://hisham.hm/dit/releases/0.6/

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	https://hisham.hm/dit/home.html
COMMENT=	Console text editor that you already know how to use
LICENSE=	gnu-gpl-v2

GNU_CONFIGURE=	yes
FAKE_NCURSES=	yes
USE_CURSES=	wide

CONFIGURE_ARGS+=	--with-lua-prefix=${_LUA_DOT_VERSION}

LUA_VERSIONS_ACCEPTED=	53 52 51

# when compiling with NetBSD curses:
# error: 'cchar_t' {aka 'struct <anonymous>'} has no member named 'chars'
.include "../../devel/ncursesw/buildlink3.mk"
.include "../../lang/lua/buildlink3.mk"
.include "../../mk/dlopen.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"