summaryrefslogtreecommitdiff
path: root/biology/bedtools/Makefile
blob: 12ecb5bb0114597c89462ac00b0d97e4f7670cac (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
32
# $NetBSD: Makefile,v 1.3 2022/06/30 11:18:04 nia Exp $

DISTNAME=	bedtools-2.30.0
PKGREVISION=	1
CATEGORIES=	biology
MASTER_SITES=	${MASTER_SITE_GITHUB:=arq5x/}
GITHUB_PROJECT=	bedtools2
GITHUB_TAG=	v${PKGVERSION_NOREV}

MAINTAINER=	bacon@NetBSD.org
HOMEPAGE=	https://bedtools.readthedocs.io/en/latest/
COMMENT=	Swiss army knife for genome arithmetic
LICENSE=	mit

USE_LANGUAGES=	c c++
USE_TOOLS+=	bash:test gmake
REPLACE_SH+=	scripts/vcfsort.sh
REPLACE_PYTHON=	scripts/makeBashScripts.py

SUBST_CLASSES+=		pybin
SUBST_STAGE.pybin=	pre-configure
SUBST_SED.pybin=	-e 's|python|${PYTHONBIN}|g'
SUBST_FILES.pybin=	Makefile

do-test:
	cd ${WRKSRC}/test && bash test.sh

.include "../../devel/zlib/buildlink3.mk"
.include "../../archivers/bzip2/buildlink3.mk"
.include "../../archivers/xz/buildlink3.mk"
.include "../../lang/python/application.mk"
.include "../../mk/bsd.pkg.mk"