Pullup ticket #2800.
[pkgsrc.git] / biology / coalesce / Makefile
1 # $NetBSD: Makefile,v 1.6 2005/06/16 06:57:40 jlam Exp $
2 #
3
4 DISTNAME=       coalesce1.5b
5 PKGNAME=        coalesce-1.5.0.2
6 CATEGORIES=     biology
7 MASTER_SITES=   ftp://evolution.genetics.washington.edu/pub/lamarc/coalesce/
8
9 MAINTAINER=     brook@nmsu.edu
10 HOMEPAGE=       http://evolution.genetics.washington.edu/lamarc/coalesce.html
11 COMMENT=        Estimates effective population size and mutation rate
12
13 PKG_DESTDIR_SUPPORT=    user-destdir
14
15 WRKSRC=         ${WRKDIR}/coalesce1.5beta
16 BUILD_TARGET=   coalesce
17
18 DOCDIR=         ${PREFIX}/share/doc/coalesce
19 EXDIR=          ${PREFIX}/share/examples/coalesce
20 DOCFILES=       coalesce.doc errors.doc readme
21 EXFILES=        bestree infile intree outfile parmfile seedfile
22
23 INSTALLATION_DIRS=      bin
24
25 do-install:
26         ${INSTALL_DATA_DIR} ${DESTDIR}${DOCDIR}
27         ${INSTALL_DATA_DIR} ${DESTDIR}${EXDIR}
28         ${INSTALL_PROGRAM} ${WRKSRC}/coalesce ${DESTDIR}${PREFIX}/bin
29         for f in ${DOCFILES}; do                                        \
30                 ${INSTALL_DATA} ${WRKSRC}/$$f ${DESTDIR}${DOCDIR}/$$f;  \
31         done
32         for f in ${EXFILES}; do                                         \
33                 ${INSTALL_DATA} ${WRKSRC}/$$f ${DESTDIR}${EXDIR}/$$f;   \
34         done
35
36 .include "../../mk/bsd.pkg.mk"