blob: 827fdfbad770550b22cf3c760fc74511b3b407bb (
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
29
30
31
|
# $NetBSD: Makefile,v 1.2 2020/07/08 16:40:55 nia Exp $
DISTNAME= lua-tz-0.4.1
PKGNAME= ${DISTNAME:S/lua-/${LUA_PKGPREFIX}-/1}
CATEGORIES= time lua
MASTER_SITES= ${MASTER_SITE_GITHUB:=daurnimator/}
GITHUB_PROJECT= luatz
GITHUB_TAG= v0.4-1
MAINTAINER= nia@NetBSD.org
HOMEPAGE= https://daurnimator.github.io/luatz/
COMMENT= Lua library for time and date manipulation
LICENSE= mit
TEST_DEPENDS+= ${LUA_PKGPREFIX}-busted-[0-9]*:../../devel/lua-busted
WRKSRC= ${WRKDIR}/${GITHUB_PROJECT}-${GITHUB_TAG:S/^v//1}
USE_LANGUAGES= # none
NO_BUILD= yes
INSTALLATION_DIRS+= ${LUA_LDIR}/luatz
do-install:
${INSTALL_DATA} ${WRKSRC}/luatz/* \
${DESTDIR}${PREFIX}/${LUA_LDIR}/luatz
do-test:
cd ${WRKSRC} && TZ=GMT ${PREFIX}/bin/busted${_LUA_DOT_VERSION}
.include "../../lang/lua/module.mk"
.include "../../mk/bsd.pkg.mk"
|