summaryrefslogtreecommitdiff
path: root/biology/hisat2/Makefile
blob: 484f3ee921fbe65a050c9502d75fabc9b300d2bd (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
# $NetBSD: Makefile,v 1.7 2022/03/17 16:01:11 bacon Exp $

DISTNAME=	hisat2-2.2.1
CATEGORIES=	biology
MASTER_SITES=	${MASTER_SITE_GITHUB:=DaehwanKimLab/}
GITHUB_TAG=	v${PKGVERSION_NOREV}

MAINTAINER=	bacon@NetBSD.org
HOMEPAGE=	https://ccb.jhu.edu/software/hisat2/index.shtml
COMMENT=	Alignment program for mapping next-generation sequencing reads
LICENSE=	gnu-gpl-v3

# 64-bit code, some assembly language
ONLY_FOR_PLATFORM=	*-*-x86_64

USE_LANGUAGES=	c c++
USE_TOOLS+=	bash gmake perl

REPLACE_BASH=		scripts/*.sh
REPLACE_PERL=		hisat2 scripts/*.sh scripts/*.pl scripts/*.py
REPLACE_PYTHON=		*.py scripts/*.py hisat2-build hisat2-inspect

PTHREAD_AUTO_VARS=	yes
WRKSRC=			${WRKDIR}/hisat2-2.2.1

# Unbreak #include <version> on case-insensitive file systems
post-patch:
	${MV} ${WRKSRC}/VERSION ${WRKSRC}/HISAT2_VERSION

.include "../../lang/python/application.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"