aboutsummaryrefslogtreecommitdiff
path: root/biology/migrate/Makefile
blob: f2fef786921574add2f413cf8343feeb906e1f27 (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
42
43
44
45
46
47
48
49
50
51
# New ports collection makefile for:	migrate
# Date created:		6 August 2001
# Whom:	      		Johann Visagie <wjv@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	migrate
PORTVERSION=	1.7.6.1
CATEGORIES=	biology
MASTER_SITES=	ftp://evolution.genetics.washington.edu/pub/lamarc/migrate/
DISTNAME=	${PORTNAME}-${PORTVERSION}.src

MAINTAINER=	wjv@FreeBSD.org
COMMENT=	A program to estimate population sizes and migration rates

WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}/src
GNU_CONFIGURE=	yes
CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}

MAN1=		migrate.1
MLINKS=		migrate.1 migrate-n.1

DOCS=		HISTORY HOWTO-PARALLEL README migrate.html
EXAMPLES=	README infile.benchmark infile.ep infile.msat infile.seq \
		parmfile parmfile.benchmark parmfile.ep parmfile.msat \
		parmfile.seq

do-install:
	@ ${INSTALL_PROGRAM} ${WRKSRC}/migrate-n ${PREFIX}/bin
	@ cd ${PREFIX}/bin && ${LN} -s migrate-n migrate
	@ ${INSTALL_MAN} ${WRKSRC}/migrate.1 ${MAN1PREFIX}/man/man1
.if !defined(NOPORTDOCS)
	@ ${MKDIR} ${DOCSDIR}/graphics
.for file in ${DOCS}
	@ ${INSTALL_DATA} ${WRKSRC}/../${file} ${DOCSDIR}
.endfor
	@ ${MKDIR} ${EXAMPLESDIR}
.for file in ${EXAMPLES}
	@ ${INSTALL_DATA} ${WRKSRC}/../example/${file} ${EXAMPLESDIR}
.endfor
	@ ${INSTALL_DATA} ${WRKSRC}/../graphics/* ${DOCSDIR}/graphics
.endif

.include <bsd.port.pre.mk>

.if ${ARCH} == "alpha"
BROKEN=		"Does not compile"
.endif

.include <bsd.port.post.mk>