aboutsummaryrefslogtreecommitdiffstats
path: root/security/p5-Crypt-Lite
diff options
context:
space:
mode:
authorleeym <leeym@FreeBSD.org>2005-12-31 04:38:08 +0800
committerleeym <leeym@FreeBSD.org>2005-12-31 04:38:08 +0800
commit2261c8374a7659ced17cb21e85132a66638967af (patch)
tree800dae3e7072e75452766b25c1f9ea5c49197362 /security/p5-Crypt-Lite
parentecd8cd751b9921f47b235e4d379101e95a87917b (diff)
downloadfreebsd-ports-gnome-2261c8374a7659ced17cb21e85132a66638967af.tar.gz
freebsd-ports-gnome-2261c8374a7659ced17cb21e85132a66638967af.tar.zst
freebsd-ports-gnome-2261c8374a7659ced17cb21e85132a66638967af.zip
- remove IGNORE on old perl
- update dependency - bump PORTREVISION Submitted by: leeym Approved by: maintainer via email
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>