pkgsrc-wip/htslib/Makefile

31 lines
832 B
Makefile
Raw Normal View History

2016-03-19 01:35:51 +00:00
# $NetBSD$
DISTNAME= htslib-1.9
2016-03-19 01:35:51 +00:00
CATEGORIES= biology
MASTER_SITES= ${MASTER_SITE_GITHUB:=samtools/}
MAINTAINER= bacon@NetBSD.org
2016-05-11 14:07:28 +00:00
HOMEPAGE= http://www.htslib.org/
2016-03-19 01:35:51 +00:00
COMMENT= C library for high-throughput sequencing data formats
LICENSE= mit
2016-05-11 14:07:28 +00:00
USE_TOOLS+= autoconf automake autoreconf gmake perl
2016-03-19 01:35:51 +00:00
GNU_CONFIGURE= yes
REPLACE_PERL= test/compare_sam.pl test/test.pl
2016-05-11 14:07:28 +00:00
SUBST_CLASSES+= version
2019-05-04 16:30:46 +00:00
SUBST_STAGE.version= pre-configure
2018-04-28 06:36:14 +00:00
SUBST_SED.version= -e "s|m4_esyscmd_s(\[make print-version\])|[${PKGVERSION_NOREV}]|"
2018-04-27 17:23:15 +00:00
SUBST_FILES.version= ${WRKSRC}/configure.ac
2016-05-11 14:07:28 +00:00
PKGCONFIG_OVERRIDE= htslib.pc.in
2016-05-11 14:07:28 +00:00
pre-configure:
cd ${WRKSRC} && autoreconf
2016-03-19 01:35:51 +00:00
.include "../../devel/zlib/buildlink3.mk"
.include "../../archivers/bzip2/buildlink3.mk"
.include "../../archivers/xz/buildlink3.mk"
.include "../../www/curl/buildlink3.mk"
2016-03-19 01:35:51 +00:00
.include "../../mk/bsd.pkg.mk"