diff options
author | joerg <joerg> | 2008-06-20 01:09:05 +0000 |
---|---|---|
committer | joerg <joerg> | 2008-06-20 01:09:05 +0000 |
commit | d8368bbc25c90072a19b5e48f0fba26251b6877f (patch) | |
tree | bb388f6b2532587595653e67cce25229ed050cb8 /biology/bioperl/Makefile | |
parent | f1b924fda77b6920565e56f54c9391b4dc68f8ca (diff) | |
download | pkgsrc-d8368bbc25c90072a19b5e48f0fba26251b6877f.tar.gz |
Add DESTDIR support.
Diffstat (limited to 'biology/bioperl/Makefile')
-rw-r--r-- | biology/bioperl/Makefile | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/biology/bioperl/Makefile b/biology/bioperl/Makefile index 421d2231b54..a3357febdae 100644 --- a/biology/bioperl/Makefile +++ b/biology/bioperl/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.16 2008/05/26 02:13:16 joerg Exp $ +# $NetBSD: Makefile,v 1.17 2008/06/20 01:09:08 joerg Exp $ # DISTNAME= bioperl-0.7.0 @@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://bioperl.org/ COMMENT= Perl tools for computational molecular biology +PKG_DESTDIR_SUPPORT= user-destdir + USE_TOOLS+= pax REPLACE_PERL+= Bio/LiveSeq/Chain.pm @@ -24,9 +26,10 @@ REPLACE_PERL+= examples/seq/*.pl PERL5_PACKLIST= auto/Bio/.packlist +INSTALLATION_DIRS= share/examples/bioperl + post-install: - ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/bioperl - cd ${WRKSRC}/examples && pax -rw . ${PREFIX}/share/examples/bioperl + cd ${WRKSRC}/examples && pax -rw . ${DESTDIR}${PREFIX}/share/examples/bioperl .include "../../lang/perl5/module.mk" .include "../../mk/bsd.pkg.mk" |