summaryrefslogtreecommitdiff
path: root/textproc/lua-ftcsv/Makefile
blob: e7784dfd6ac8c61d22fa6dda36d5a4f9136e4da2 (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
26
27
28
# $NetBSD: Makefile,v 1.1 2022/03/06 09:29:28 nia Exp $

DISTNAME=	ftcsv-1.2.1
PKGNAME=	${LUA_PKGPREFIX}-${DISTNAME}
CATEGORIES=	textproc lua
MASTER_SITES=	${MASTER_SITE_GITHUB:=FourierTransformer/}
GITHUB_PROJECT=	ftcsv

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	https://github.com/FourierTransformer/ftcsv
COMMENT=	Fast csv library written in pure Lua
LICENSE=	mit

TEST_DEPENDS+=	${LUA_PKGPREFIX}-cjson-[0-9]*:../../textproc/lua-cjson

NO_BUILD=	yes
USE_LANGUAGES=	# none

LUA_USE_BUSTED=	yes

INSTALLATION_DIRS+=	${LUA_LDIR}

do-install:
	${INSTALL_LIB} ${WRKSRC}/ftcsv.lua \
		${DESTDIR}${PREFIX}/${LUA_LDIR}

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