summaryrefslogtreecommitdiff
path: root/biology/p5-transdecoder/Makefile
blob: b5575f73395321a0339036cb65b43c4df71b6b98 (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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48

PORTNAME=	transdecoder
DISTVERSIONPREFIX=	TransDecoder-v
DISTVERSION=	5.4.0
PORTREVISION=	2
CATEGORIES=	biology perl5
PKGNAMEPREFIX=	p5-

MAINTAINER=	jwb@FreeBSD.org
COMMENT=	Identify candidate coding regions within transcript sequences

LICENSE=	BSD3CLAUSE

RUN_DEPENDS=	cd-hit>=4.6.1:biology/cd-hit \
		p5-URI>0:net/p5-URI

USES=		perl5 shebangfix
USE_GITHUB=	yes

GH_PROJECT=	TransDecoder
SHEBANG_FILES=	sample_data/cufflinks_example/runMe.sh \
		sample_data/pasa_example/runMe.sh \
		sample_data/simple_transcriptome_target/runMe.sh \
		util/pfam_mpi.pbs

NO_BUILD=	yes
NO_ARCH=	yes

PERL_MOD_DIR=	${PREFIX}/${SITE_PERL_REL}/${PORTNAME}
PERL_UTIL_DIR=	${PREFIX}/libexec/${PORTNAME}
SCRIPTS=	${WRKSRC}/TransDecoder.LongOrfs \
		${WRKSRC}/TransDecoder.Predict

post-patch:
	@${REINPLACE_CMD} \
		-e 's|$$FindBin::RealBin/PerlLib|${PERL_MOD_DIR}|g' \
		-e 's|$$FindBin::Bin/../PerlLib|${PERL_MOD_DIR}|g' \
		-e 's|$$FindBin::RealBin/util|${PERL_UTIL_DIR}|g' \
		${SCRIPTS} \
		${WRKSRC}/util/*.pl

do-install:
	@${MKDIR} ${STAGEDIR}${PERL_MOD_DIR} ${STAGEDIR}${PERL_UTIL_DIR}
	${INSTALL_SCRIPT} ${WRKSRC}/PerlLib/* ${STAGEDIR}${PERL_MOD_DIR}
	${INSTALL_SCRIPT} ${SCRIPTS} ${STAGEDIR}${PREFIX}/bin
	${INSTALL_SCRIPT} ${WRKSRC}/util/*.pl ${STAGEDIR}${PERL_UTIL_DIR}

.include <bsd.port.mk>