diff options
author | Yen-Ming Lee <leeym@FreeBSD.org> | 2005-12-30 20:38:08 +0000 |
---|---|---|
committer | Yen-Ming Lee <leeym@FreeBSD.org> | 2005-12-30 20:38:08 +0000 |
commit | 29e56c9935c1a3a7d271c30a9d1db4dfbbcaa6bb (patch) | |
tree | e32b7b0c429d63f995810e3fbc85db9964120356 /security/p5-Crypt-Lite | |
parent | 413f7b8e24c87a5c3e09b26ee5c7ebe11f02cd47 (diff) |
Notes
Diffstat (limited to 'security/p5-Crypt-Lite')
-rw-r--r-- | security/p5-Crypt-Lite/Makefile | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/security/p5-Crypt-Lite/Makefile b/security/p5-Crypt-Lite/Makefile index cac66ed10c53..2f6c87c8f6c1 100644 --- a/security/p5-Crypt-Lite/Makefile +++ b/security/p5-Crypt-Lite/Makefile @@ -5,6 +5,7 @@ PORTNAME= Crypt-Lite PORTVERSION= 0.82.06 +PORTREVISION= 1 CATEGORIES= security perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN} MASTER_SITE_SUBDIR= Crypt @@ -13,12 +14,19 @@ PKGNAMEPREFIX= p5- MAINTAINER= gkovesdan@t-hosting.hu COMMENT= Perl extension for a symmetric data encryption and decryption +BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/MIME/Base64.pm:${PORTSDIR}/converters/p5-MIME-Base64 +RUN_DEPENDS= ${BUILD_DEPENDS} + PERL_CONFIGURE= yes MAN3= Crypt::Lite.3 .include <bsd.port.pre.mk> -.if ${PERL_LEVEL} <= 500503 -IGNORE= requires Perl 5.6. Intall lang/perl5 or lang/perl5.8, and try again + +.if ${PERL_LEVEL} < 500600 +post-patch: + ${PERL} -pi -e 's/^our\s+([\$$\@\%]\w+)/use vars qw($$1); $$1/;' ${WRKSRC}/lib/Crypt/Lite.pm + ${PERL} -pi -e '$$_="" if m{5.6.1}' ${WRKSRC}/${CONFIGURE_SCRIPT} .endif + .include <bsd.port.post.mk> |