summaryrefslogtreecommitdiff
path: root/biology/fastDNAml/Makefile
blob: 90ff1fabc62d5d3bdae870282eb184cf8175cc93 (plain)
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
# $NetBSD: Makefile,v 1.3 2001/02/16 13:41:29 wiz Exp $

DISTNAME=	fastDNAml_1.2.1
PKGNAME=	fastDNAml-1.2.1
WRKSRC=		${WRKDIR}/${DISTNAME}
CATEGORIES=	biology
MASTER_SITES=	http://geta.life.uiuc.edu/~gary/programs/fastDNAml/

MAINTAINER=	babafou@babafou.eu.org
HOMEPAGE=	http://geta.life.uiuc.edu/~gary/programs/fastDNAml.html
COMMENT=	Program derived from Joseph Felsenstein's version 3.3 DNAML

RESTRICTED=	"No commercial distribution without a royalty agreement with the author"
NO_SRC_ON_CDROM=	${RESTRICTED}
NO_BIN_ON_CDROM=	${RESTRICTED}

do-build :
	@ cd ${WRKSRC}/source && ${MAKE} LDFLAGS=-lm fastDNAml

do-install :
	${INSTALL_PROGRAM} ${WRKSRC}/source/fastDNAml ${PREFIX}/bin
.for SCRIPT in ae2dnaml bootstrap categories categories_file		\
		checkpoint_summary clean_checkpoints clean_jumbles	\
		dnaml_progress fastDNAml_boot fastDNAml_loop		\
		frequencies global iterate_rates jumble min_info	\
		n_categories n_files out.PID outgroup printdata		\
		quickadd restart scores transition treefile		\
		treefile2prolog trees2NEXUS trees2prolog userlengths	\
		usertree usertrees weights weights_categories
	${INSTALL_SCRIPT} ${WRKSRC}/scripts/${SCRIPT} ${PREFIX}/bin
.endfor
	${INSTALL_DATA_DIR} ${PREFIX}/share/doc/fastDNAml
	${INSTALL_DATA} ${WRKSRC}/docs/fastDNAml_doc_1.2.txt ${PREFIX}/share/doc/fastDNAml
	${INSTALL_DATA} ${WRKSRC}/docs/fastDNAml_scripts.txt ${PREFIX}/share/doc/fastDNAml

.include "../../mk/bsd.pkg.mk"