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

PORTNAME=   t_coffee
PORTVERSION=    5.68
CATEGORIES= biology
MASTER_SITES=   http://www.tcoffee.org/Packages/
DISTNAME=   T-COFFEE_distribution_Version_${PORTVERSION}

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

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

BUILD_WRKSRC=   ${WRKSRC}/t_coffee_source
MAKE_ENV=   MV=${MV} USER_BIN=${PREFIX}/bin \
        CLUSTALW_4_TCOFFEE=${LOCALBASE}/bin/clustalw

MAKEFILE=   makefile

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/bin/t_coffee ${PREFIX}/bin

post-install:
.if !defined(NOPORTDOCS)
    @ ${MKDIR} ${DOCSDIR}/html
    ${INSTALL_DATA} ${WRKSRC}/doc/* ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/license.txt ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/html/* ${DOCSDIR}/html
.endif
.if !defined(NOPORTEXAMPLES)
    @ ${MKDIR} ${EXAMPLESDIR}
    cd ${WRKSRC}/example && ${COPYTREE_SHARE} \* ${EXAMPLESDIR}
.endif

.include <bsd.port.mk>