aboutsummaryrefslogtreecommitdiff
path: root/biology/htslib/Makefile
blob: 17779dfd3503d4eed487cb04073130b9f2dcf17e (plain) (blame)
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
33
34
35
36
37
38
39
40
# Created by: Reed A. Cartwright <cartwright@asu.edu>
# $FreeBSD$

PORTNAME=	htslib
DISTVERSION=	1.12
CATEGORIES=	biology devel
# Github generated distfiles are incomplete, so use custom tarball
MASTER_SITES=	https://github.com/samtools/htslib/releases/download/${DISTVERSION}/

MAINTAINER=	jwb@FreeBSD.org
COMMENT=	C library for high-throughput sequencing data formats

LICENSE=	BSD3CLAUSE MIT
LICENSE_COMB=	multi
LICENSE_FILE=	${WRKSRC}/LICENSE

LIB_DEPENDS=	libdeflate.so:archivers/libdeflate
TEST_DEPENDS=	bash:shells/bash

USES=		autoreconf gmake localbase pathfix perl5 shebangfix tar:bzip2
USE_PERL5=	test
USE_LDCONFIG=	yes

GNU_CONFIGURE=		yes
PATHFIX_MAKEFILEIN=	Makefile
SHEBANG_FILES=		test/*.pl

OPTIONS_DEFINE=		CURL
OPTIONS_DEFAULT=	CURL

CURL_DESC=		Use libcurl for network file access (HTTPS and S3 support).
CURL_USES=		ssl
CURL_LIB_DEPENDS=	libcurl.so:ftp/curl
CURL_CONFIGURE_ENABLE=	libcurl

PLIST_SUB=	PORTVERSION="${PORTVERSION}"

TEST_TARGET=	test

.include <bsd.port.mk>