summaryrefslogtreecommitdiff
path: root/devel/bats/Makefile
blob: 7672e3026650ea4a076d092eaac69f6f18b7e03d (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
# $NetBSD: Makefile,v 1.1 2016/05/02 02:29:14 seb Exp $

DISTNAME=		bats-0.4.0
CATEGORIES=		devel
MASTER_SITES=		${MASTER_SITE_GITHUB:=sstephenson/}

MAINTAINER=		pkgsrc@NetBSD.org
HOMEPAGE=		https://github.com/sstephenson/bats
COMMENT=		Testing framework for Bash
LICENSE=		mit

GITHUB_TAG=		v${PKGVERSION_NOREV}

USE_LANGUAGES=		# none

NO_BUILD=		yes
USE_TOOLS+=		bash:run

CHECK_INTERPRETER_SKIP=	bin/bats libexec/bats*

do-install:
	cd ${WRKSRC} && ./install.sh ${DESTDIR}${PREFIX}

do-test:
	cd ${WRKSRC} && ./bin/bats ./test

.include "../../mk/bsd.pkg.mk"