aboutsummaryrefslogtreecommitdiffstats
path: root/biology/phyml/Makefile
blob: ebcc40893cd76e637483ba2362b8c45460528676 (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
# Created by: ballen
# $FreeBSD$

PORTNAME=   phyml
PORTVERSION=    20121109
CATEGORIES= biology
MASTER_SITES=   GOOGLE_CODE
DISTNAME=   ${PORTNAME}-20120412
DIST_SUBDIR=    ${PORTNAME}

PATCH_SITES=    ${MASTER_SITES}
PATCHFILES= ${PORTVERSION}.patch
PATCH_DIST_STRIP=   -p4

MAINTAINER= ports@FreeBSD.org
COMMENT=    Simple, fast, and accurate algorithm to estimate large phylogenies

LICENSE=    GPLv2

PATCH_WRKSRC=   ${WRKSRC}/src

USE_AUTOTOOLS=  aclocal autoheader automake autoconf
AUTOMAKE_ARGS=  --add-missing

PLIST_FILES=    bin/phyml

post-patch:
    @${REINPLACE_CMD} -e \
        '/^AC_INIT/s|,esyscmd.*,|,[${PORTVERSION}],| ; \
         s|-O2 -msse|$${CFLAGS}|' ${WRKSRC}/configure.ac

.include <bsd.port.mk>