summaryrefslogtreecommitdiff
path: root/biology/bioperl/Makefile
diff options
context:
space:
mode:
authorjlam <jlam>2000-08-27 07:10:59 +0000
committerjlam <jlam>2000-08-27 07:10:59 +0000
commit6b651933b95c6a21e0e7629f5183e1492bb71903 (patch)
treefd4f0178e134e50e9dc8acc6e016d62c645457cf /biology/bioperl/Makefile
parentc861cb3db8ffcd7b9fa94be5348a80b681bcff64 (diff)
downloadpkgsrc-6b651933b95c6a21e0e7629f5183e1492bb71903.tar.gz
Convert packages to use PERL5_PACKLIST (part 1). These were the easy
ones to do, and each compiled and installed/de-installed apparently correctly. As a side effect of the dynamic PLIST, we no longer need to have separate -static and -shared PLISTs. It's now easier than ever to make a perl5 package for NetBSD :)
Diffstat (limited to 'biology/bioperl/Makefile')
-rw-r--r--biology/bioperl/Makefile30
1 files changed, 16 insertions, 14 deletions
diff --git a/biology/bioperl/Makefile b/biology/bioperl/Makefile
index 1e40805a8c5..eab61448f0b 100644
--- a/biology/bioperl/Makefile
+++ b/biology/bioperl/Makefile
@@ -1,29 +1,31 @@
-# $NetBSD: Makefile,v 1.1.1.1 1999/04/16 14:43:35 rh Exp $
+# $NetBSD: Makefile,v 1.2 2000/08/27 07:10:59 jlam Exp $
#
-DISTNAME= bioperl-0.04.4
-CATEGORIES= biology
-MASTER_SITES= ftp://bio.perl.org/pub/DIST/
+DISTNAME= bioperl-0.04.4
+CATEGORIES= biology
+MASTER_SITES= ftp://bio.perl.org/pub/DIST/
-MAINTAINER= packages@netbsd.org
-HOMEPAGE= http://bio.perl.org/
+MAINTAINER= packages@netbsd.org
+HOMEPAGE= http://bio.perl.org/
-USE_PERL5= yes
+USE_PERL5= # defined
+PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Bio/.packlist
+PERL5_PACKLIST+= ${PERL5_SITEARCH}/auto/bp_sw/.packlist
do-configure:
- cd ${WRKSRC}; perl Makefile.PL
- cd ${WRKSRC}/Compile/SW; perl Makefile.PL
+ cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL
+ cd ${WRKSRC}/Compile/SW; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL
pre-build:
- cd ${WRKSRC}/Compile/SW/libs; make
+ cd ${WRKSRC}/Compile/SW/libs; ${MAKE_PROGRAM}
post-build:
- cd ${WRKSRC}/Compile/SW; make
- cd ${WRKSRC}; make test
- cd ${WRKSRC}/Compile/SW; make test
+ cd ${WRKSRC}/Compile/SW; ${MAKE_PROGRAM}
+ cd ${WRKSRC}; ${MAKE_PROGRAM} test
+ cd ${WRKSRC}/Compile/SW; ${MAKE_PROGRAM} test
post-install:
- cd ${WRKSRC}/Compile/SW; make install
+ cd ${WRKSRC}/Compile/SW; ${MAKE_PROGRAM} install
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/bioperl
cd ${WRKSRC}/examples; ${GTAR} cf - . \
| (cd ${PREFIX}/share/examples/bioperl; ${GTAR} xf -)