summaryrefslogtreecommitdiff
path: root/biology/ncbi-cxx-toolkit/Makefile
blob: 0e49364492dd7f29767ebc0a2e7343d314b7a276 (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
# $FreeBSD$

PORTNAME=	ncbi-cxx-toolkit
DISTVERSION=	21_0_0
CATEGORIES=	biology science devel
MASTER_SITES=	ftp://ftp.ncbi.nih.gov/toolbox/ncbi_tools++/2018/Apr_2_2018/
DISTNAME=	ncbi_cxx--${DISTVERSION}

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	NCBI C++ Toolkit

LICENSE=	PD
LICENSE_FILE=	${WRKSRC}/doc/public/LICENSE

LIB_DEPENDS=	libpcre.so:devel/pcre
RUN_DEPENDS=	bash:shells/bash

USES=		compiler:c++11-lang gmake mysql perl5 python shebangfix ssl
SHEBANG_FILES=	src/app/blast/get_species_taxids.sh src/app/blast/legacy_blast.pl src/app/blast/update_blastdb.pl src/app/winmasker/windowmasker_2.2.22_adapter.py
USE_XORG=	x11 xpm

GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--without-debug --with-dll --without-static

post-install: # autoplist: thousands of files
	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/run_with_lock
	@cd ${STAGEDIR}${PREFIX} && \
		${RMDIR} include/ncbi-tools++/algo/blast/bl2api include/ncbi-tools++/objtools/test && \
		${FIND} * -type f -or -type l >> ${TMPPLIST}

.include <bsd.port.mk>