pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security/p5-Module-Signature Added support for install...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2527a2429b4d
branches:  trunk
changeset: 529942:2527a2429b4d
user:      heinz <heinz%pkgsrc.org@localhost>
date:      Wed Jun 13 09:50:46 2007 +0000

description:
Added support for installation to DESTDIR.

diffstat:

 security/p5-Module-Signature/Makefile |  18 ++++++++++--------
 1 files changed, 10 insertions(+), 8 deletions(-)

diffs (40 lines):

diff -r dda904256a14 -r 2527a2429b4d security/p5-Module-Signature/Makefile
--- a/security/p5-Module-Signature/Makefile     Wed Jun 13 09:41:30 2007 +0000
+++ b/security/p5-Module-Signature/Makefile     Wed Jun 13 09:50:46 2007 +0000
@@ -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 @@
 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-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"



Home | Main Index | Thread Index | Old Index