summaryrefslogtreecommitdiffstats
path: root/biology/t_coffee/Makefile
blob: 91fd1a36f4c5b5773f1667aaef88edb0301be12a (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
# Created by: Johann Visagie <wjv@FreeBSD.org>
# $FreeBSD$

PORTNAME=	t_coffee
PORTVERSION=	9.03
DISTVERSIONSUFFIX=	.r1318
PORTREVISION=	2
CATEGORIES=	biology
MASTER_SITES=	http://www.tcoffee.org/Packages/Stable/%SUBDIR%/
MASTER_SITE_SUBDIR=	Version_${PORTVERSION}${DISTVERSIONSUFFIX}
DISTNAME=	T-COFFEE_distribution_Version_${PORTVERSION}${DISTVERSIONSUFFIX}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	A multiple DNA or protein sequence alignment package

LICENSE=	GPLv2

RUN_DEPENDS=	clustalw:${PORTSDIR}/biology/clustalw

OPTIONS_DEFINE=	EXAMPLES

BUILD_WRKSRC=	${WRKSRC}/t_coffee_source

USES=		fortran
CFLAGS+=	-Wno-return-type
MAKE_ENV=	FCC="${FC} ${FFLAGS}"
MAKEFILE=	makefile

PORTEXAMPLES=	*
PLIST_FILES=	bin/TMalign bin/t_coffee

do-install:
	(cd ${BUILD_WRKSRC} \
		&& ${INSTALL_PROGRAM} TMalign t_coffee ${STAGEDIR}${PREFIX}/bin)
	${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
	(cd ${WRKSRC}/example && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})

.include <bsd.port.mk>
OpenPOWER on IntegriCloud