aboutsummaryrefslogtreecommitdiff
path: root/security/p5-Crypt-Lite
diff options
context:
space:
mode:
authorYen-Ming Lee <leeym@FreeBSD.org>2005-12-30 20:38:08 +0000
committerYen-Ming Lee <leeym@FreeBSD.org>2005-12-30 20:38:08 +0000
commit29e56c9935c1a3a7d271c30a9d1db4dfbbcaa6bb (patch)
treee32b7b0c429d63f995810e3fbc85db9964120356 /security/p5-Crypt-Lite
parent413f7b8e24c87a5c3e09b26ee5c7ebe11f02cd47 (diff)
downloadports-29e56c9935c1a3a7d271c30a9d1db4dfbbcaa6bb.tar.gz
ports-29e56c9935c1a3a7d271c30a9d1db4dfbbcaa6bb.zip
- remove IGNORE on old perl
- update dependency - bump PORTREVISION Submitted by: leeym Approved by: maintainer via email
Notes
Notes: svn path=/head/; revision=152444
Diffstat (limited to 'security/p5-Crypt-Lite')
-rw-r--r--security/p5-Crypt-Lite/Makefile12
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>