aboutsummaryrefslogtreecommitdiff
path: root/biology/grappa/Makefile
blob: f3bc534333737dc9a63e7a0a5827fb3922f1886a (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
# New ports collection makefile for:	grappa
# Date created:		30 June 2001
# Whom:                 dbader@ece.unm.edu
#
# $FreeBSD$
#

PORTNAME=	grappa
PORTVERSION=	2.0
CATEGORIES=	biology
MASTER_SITES=	http://www.cs.unm.edu/~moret/GRAPPA/
DISTNAME=	GRAPPA20

MAINTAINER=	dbader@ece.unm.edu
COMMENT=	Genome Rearrangements Analysis and Phylogeny Software

USE_GMAKE=	yes
USE_REINPLACE=	yes

PLIST_FILES=	bin/grappa bin/invdist bin/distmat

post-patch:
	@${REINPLACE_CMD} -e 's/-lpthread/${PTHREAD_LIBS}/g' ${WRKSRC}/${MAKEFILE}

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/grappa ${PREFIX}/bin
	${LN} -sf ${PREFIX}/bin/grappa ${PREFIX}/bin/invdist
	${LN} -sf ${PREFIX}/bin/grappa ${PREFIX}/bin/distmat

.include <bsd.port.mk>