Merge from vendor branch TNF:
[pkgsrc.git] / biology / bioperl / Makefile
1 # $NetBSD$
2 #
3
4 DISTNAME=       bioperl-0.04.4
5 CATEGORIES=     biology
6 MASTER_SITES=   ftp://bio.perl.org/pub/DIST/
7
8 MAINTAINER=     packages@netbsd.org
9 HOMEPAGE=       http://bio.perl.org/
10
11 USE_PERL5=      yes
12
13 do-configure:
14         cd ${WRKSRC}; perl Makefile.PL
15         cd ${WRKSRC}/Compile/SW; perl Makefile.PL
16
17 pre-build:
18         cd ${WRKSRC}/Compile/SW/libs; make
19
20 post-build:
21         cd ${WRKSRC}/Compile/SW; make
22         cd ${WRKSRC}; make test
23         cd ${WRKSRC}/Compile/SW; make test
24
25 post-install:
26         cd ${WRKSRC}/Compile/SW; make install
27         ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/bioperl
28         cd ${WRKSRC}/examples; ${GTAR} cf - . \
29                 | (cd ${PREFIX}/share/examples/bioperl; ${GTAR} xf -)
30
31 .include "../../mk/bsd.pkg.mk"