blob: 7cd19b3030c803648c2b7b39dca7d54e4fece518 (
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
|
# New ports collection makefile for: migrate
# Date created: 6 August 2001
# Whom: Johann Visagie <wjv@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= migrate
PORTVERSION= 2.4.3
PORTREVISION= 1
CATEGORIES= biology
MASTER_SITES= http://popgen.csit.fsu.edu/%SUBDIR%/
MASTER_SITE_SUBDIR= currentversion oldversions/${PORTVERSION}
DISTNAME= ${PORTNAME}-${PORTVERSION}.src
MAINTAINER= ports@FreeBSD.org
COMMENT= A program to estimate population sizes and migration rates
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/src
USE_GNOME= gnometarget
GNU_CONFIGURE= yes
MAKE_ARGS= HARDWARECFLAGS="${CFLAGS}" \
MYCPPFLAGS="${CFLAGS} -DNOJPEG -DNOPNG -DNOZLIB"
MAN1= migrate.1
MLINKS= migrate.1 migrate-n.1
.include <bsd.port.pre.mk>
NOT_FOR_ARCHS= alpha
ONLY_FOR_ARCHS_REASON= Does not compile
.if defined(WITH_THREAD_PRETTY)
ALL_TARGET= thread-pretty
.elif defined(WITH_PRETTY)
ALL_TARGET= pretty
.elif defined(WITH_THREAD)
ALL_TARGET= thread
.else
ALL_TARGET= all
.endif
post-patch:
@${REINPLACE_CMD} -e \
's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/migrate-n ${PREFIX}/bin
${LN} -sf migrate-n ${PREFIX}/bin/migrate
${INSTALL_MAN} ${WRKSRC}/migrate.1 ${MAN1PREFIX}/man/man1
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for i in HISTORY HOWTO-PARALLEL README migrate.html
${INSTALL_DATA} ${WRKSRC}/../${i} ${DOCSDIR}
.endfor
@${MKDIR} ${DOCSDIR}/graphics
${INSTALL_DATA} ${WRKSRC}/../graphics/* ${DOCSDIR}/graphics
.endif
.if !defined(NOPORTEXAMPLES)
@${MKDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/../example/* ${EXAMPLESDIR}
.endif
.include <bsd.port.post.mk>
|