aboutsummaryrefslogtreecommitdiffstats
path: root/biology/t_coffee/Makefile
blob: 6e6c28d7b721758d09a0441c9856d7901d230fb4 (plain) (blame)
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
# Created by: Johann Visagie <wjv@FreeBSD.org>
# $FreeBSD$

PORTNAME=   t_coffee
PORTVERSION=    9.03
DISTVERSIONSUFFIX=  .r1318
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

USE_FORTRAN=    yes
MAKE_ENV=   FCC="${FC} ${FFLAGS}"
MAKEFILE=   makefile
MAKE_JOBS_SAFE= yes

PORTEXAMPLES=   *
PLIST_FILES=    bin/TMalign bin/t_coffee

.include <bsd.port.options.mk>

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

.include <bsd.port.mk>