blob: c248bf75e3cb23df47fb181ea794b8ff1f1aff5e (
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
33
|
# $NetBSD: Makefile,v 1.16 2020/07/22 14:50:14 bacon Exp $
DISTNAME= htslib-1.10.2
CATEGORIES= biology
MASTER_SITES= ${MASTER_SITE_GITHUB:=samtools/}
MAINTAINER= bacon@NetBSD.org
HOMEPAGE= https://www.htslib.org/
COMMENT= C library for high-throughput sequencing data formats
LICENSE= mit
USE_TOOLS+= autoconf automake autoreconf bash gmake perl
GNU_CONFIGURE= yes
SUBST_CLASSES+= version
SUBST_STAGE.version= pre-configure
SUBST_SED.version= -e "s|m4_esyscmd_s(\[./version.sh 2>/dev/null\])|[${PKGVERSION_NOREV}]|"
SUBST_FILES.version= configure.ac
REPLACE_PERL+= test/*.pl
CONFIGURE_ARGS+= --enable-libcurl
PKGCONFIG_OVERRIDE= htslib.pc.in
TEST_TARGET= test
pre-configure:
cd ${WRKSRC} && autoreconf
.include "../../archivers/bzip2/buildlink3.mk"
.include "../../archivers/xz/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../www/curl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|