diff options
author | heinz <heinz@pkgsrc.org> | 2007-06-13 09:50:46 +0000 |
---|---|---|
committer | heinz <heinz@pkgsrc.org> | 2007-06-13 09:50:46 +0000 |
commit | 7dfe3cb9832bcc65a54f981ace4d1383fa8b4fe4 (patch) | |
tree | 265b7752eff6ab34d65197e85ed7c4e773d2f817 /security/p5-Module-Signature | |
parent | 65ba392f6ed604748572a6c8be4a3f8c03bfeaa5 (diff) | |
download | pkgsrc-7dfe3cb9832bcc65a54f981ace4d1383fa8b4fe4.tar.gz |
Added support for installation to DESTDIR.
Diffstat (limited to 'security/p5-Module-Signature')
-rw-r--r-- | security/p5-Module-Signature/Makefile | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/security/p5-Module-Signature/Makefile b/security/p5-Module-Signature/Makefile index 0a229df815d..95d20707755 100644 --- a/security/p5-Module-Signature/Makefile +++ b/security/p5-Module-Signature/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.11 2007/02/27 09:28:33 wiz Exp $ +# $NetBSD: Makefile,v 1.12 2007/06/13 09:50:46 heinz Exp $ # DISTNAME= Module-Signature-0.55 @@ -11,12 +11,14 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://search.cpan.org/dist/Module-Signature/ COMMENT= Perl5 module adding cryptographic authentications to CPAN distributions -DEPENDS+= gnupg-[0-9]*:../../security/gnupg -DEPENDS+= p5-Digest-SHA-[0-9]*:../../security/p5-Digest-SHA -DEPENDS+= p5-PAR-Dist-[0-9]*:../../devel/p5-PAR-Dist +PKG_DESTDIR_SUPPORT= user-destdir -USE_LANGUAGES= # empty -PERL5_PACKLIST= auto/Module/Signature/.packlist +DEPENDS+= gnupg-[0-9]*:../../security/gnupg +DEPENDS+= p5-Digest-SHA-[0-9]*:../../security/p5-Digest-SHA +DEPENDS+= p5-PAR-Dist-[0-9]*:../../devel/p5-PAR-Dist + +USE_LANGUAGES= # empty +PERL5_PACKLIST= auto/Module/Signature/.packlist INSTALLATION_DIRS+= share/Module-Signature @@ -26,8 +28,8 @@ post-extract: post-install: ${PKG_SILENT}${PKG_DEBUG} \ - for f in ${WRKSRC}/*.pub; do \ - ${INSTALL_DATA} $$f ${PREFIX}/share/Module-Signature; \ + for f in ${WRKSRC}/*.pub; do ${INSTALL_DATA} $$f \ + ${DESTDIR:Q}${PREFIX:Q}/share/Module-Signature; \ done .include "../../lang/perl5/module.mk" |