Bump biology/bcftools to version 1.3.1_2
[dports.git] / biology / bcftools / Makefile
1 # Created by: Reed A. Cartwright <cartwright@asu.edu>
2 # $FreeBSD$
3
4 PORTNAME=       bcftools
5 PORTVERSION=    1.3.1
6 PORTREVISION=   2
7 CATEGORIES=     biology
8
9 MAINTAINER=     cartwright@asu.edu
10 COMMENT=        Tools for manipulating next-generation sequencing data
11
12 LICENSE=        MIT
13 # LICENSE_FILE= ${WRKSRC}/LICENSE
14
15 BUILD_DEPENDS=  htslib>=1.3:biology/htslib
16 LIB_DEPENDS=    libhts.so:biology/htslib
17 TEST_DEPENDS=   bash:shells/bash
18
19 CONFLICTS_BUILD=openssl
20
21 USE_GITHUB=     yes
22 GH_ACCOUNT=     samtools
23
24 USES=           gmake perl5 shebangfix
25 USE_PERL5=      test
26 SUB_FILES=      pkg-message
27 SHEBANG_FILES=  vcfutils.pl plot-vcfstats plugins/color-chrs.pl test/test.pl
28
29 OPTIONS_DEFINE= GPL
30 GPL_DESC=       Enable modules that rely on GPL code
31 OPTIONS_DEFAULT=        GPL
32
33 GPL_LIB_DEPENDS=        libgsl.so:math/gsl
34
35 .include <bsd.port.options.mk>
36
37 CPPFLAGS+=      -I${LOCALBASE}/include
38 LDFLAGS+=       -L${LOCALBASE}/lib
39
40 MAKE_ENV=       INSTALL_LIB="${INSTALL_LIB}" \
41                 INSTALL_DATA="${INSTALL_DATA}" \
42                 INSTALL_PROGRAM="${INSTALL_PROGRAM}" \
43                 INSTALL_SCRIPT="${INSTALL_SCRIPT}" \
44                 INSTALL_DIR="${MKDIR}"
45
46 .if ${PORT_OPTIONS:MGPL}
47 MAKE_ENV+=      USE_GPL=1
48 LICENSE=        GPLv3
49 .endif
50
51 PLIST_SUB=      PORTVERSION="${PORTVERSION}"
52
53 TEST_TARGET=    test
54
55 .include <bsd.port.mk>