summaryrefslogtreecommitdiff
path: root/biology/bcftools/Makefile
blob: 5d794feea7a1172645da639e163c7bf5f51ad3e0 (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
# $NetBSD: Makefile,v 1.5 2019/11/02 22:09:00 rillig Exp $

DISTNAME=	bcftools-1.9
PKGREVISION=	2
CATEGORIES=	biology
MASTER_SITES=	${MASTER_SITE_GITHUB:=samtools/}
EXTRACT_SUFX=	.tar.bz2
GITHUB_RELEASE=	${PKGVERSION_NOREV}

MAINTAINER=	bacon@NetBSD.org
HOMEPAGE=	http://samtools.github.io/bcftools/
COMMENT=	Calling and manipulating files VCF and BCF formats
LICENSE=	mit

USE_TOOLS+=		gmake perl
GNU_CONFIGURE=		yes
CONFIGURE_ARGS+=	--with-htslib=system
TEST_TARGET=		test

BUILDLINK_TRANSFORM+=	opt:-ldl:${BUILDLINK_LDADD.dl:M*}

REPLACE_PERL+=		misc/*.pl
REPLACE_PERL+=		misc/plot-vcfstats
REPLACE_PYTHON+=	misc/*.py

.include "../../devel/zlib/buildlink3.mk"
.include "../../biology/htslib/buildlink3.mk"
.include "../../lang/python/application.mk"
.include "../../mk/dlopen.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"