aboutsummaryrefslogtreecommitdiff
path: root/biology/mapm3/Makefile
blob: f0f5ed61c6296f23ef72e5ac0c9ca92b5feb4d94 (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
# Created by: Tassilo Philipp <tphilipp@potion-studios.com>
# $FreeBSD$

PORTNAME=	mapm3
PORTVERSION=	3.0
CATEGORIES=	biology
MASTER_SITES=	http://www.broad.mit.edu/ftp/distribution/software/mapmaker3/ \
		ftp://ftp.ibiblio.org/pub/academic/biology/molbio/mapmaker/   \
		http://iubio.bio.indiana.edu/soft/molbio/qtl/mapmaker/        \
		http://www.mirrorservice.org/sites/iubio.bio.indiana.edu/molbio/qtl/mapmaker/
DISTNAME=	mapm3-source
EXTRACT_SUFX=	.tar.Z

MAINTAINER=	tphilipp@potion-studios.com
COMMENT=	Constructs linkage maps of markers segregating in experimental crosses

USES=		ncurses
USE_CSTD=	gnu89
CFLAGS+=	-Wno-return-type
NO_WRKSUBDIR=	yes
MAKE_ARGS+=	SYS_LIBS="${LDFLAGS} -lm -lncurses"
MAKE_JOBS_UNSAFE=	yes

post-patch:
	${CP} ${WRKSRC}/sun/* ${WRKSRC}

pre-install:
	@${REINPLACE_CMD} -e 's|/usr/local|${STAGEDIR}${PREFIX}|' ${WRKSRC}/Makefile

.include <bsd.port.mk>