summaryrefslogtreecommitdiff
path: root/biology/fastDNAml/Makefile
blob: 4e80c773e7a284fe595c1f780b95dc4788588cce (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
37
# $NetBSD: Makefile,v 1.9 2008/03/03 01:10:05 jlam Exp $

DISTNAME=	fastDNAml_1.2.2
PKGNAME=	fastDNAml-1.2.2
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

PKG_DESTDIR_SUPPORT=	user-destdir

WRKSRC=		${WRKDIR}/${DISTNAME}/source

INSTALLATION_DIRS=	bin

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/fastDNAml ${DESTDIR}${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} ${WRKDIR}/${DISTNAME}/scripts/${SCRIPT}	\
		${DESTDIR}${PREFIX}/bin
.endfor
	${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/fastDNAml
.for DOC in fastDNAml_doc_1.2.txt fastDNAml_scripts.txt
	${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/docs/${DOC}		\
		${DESTDIR}${PREFIX}/share/doc/fastDNAml
.endfor

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