aboutsummaryrefslogtreecommitdiff
path: root/security/p5-Crypt-DH
diff options
context:
space:
mode:
authorErwin Lansing <erwin@FreeBSD.org>2005-10-11 17:25:06 +0000
committerErwin Lansing <erwin@FreeBSD.org>2005-10-11 17:25:06 +0000
commit446a4ba26d944572e0280c5d2f851c7b374edc54 (patch)
tree32415ef26afe6a980dce0a747a3b1ea1162d189a /security/p5-Crypt-DH
parent48dde5357d6dc412ebab959c94fe57f07fa7f28d (diff)
downloadports-446a4ba26d944572e0280c5d2f851c7b374edc54.tar.gz
ports-446a4ba26d944572e0280c5d2f851c7b374edc54.zip
- Update to 0.06 [1]
- Mark IGNORE for perl < 5.6.0 PR: 85283 Submitted by: Alex Kapranoff <kappa@rambler-co.ru> [1] Approved by: maintainer timeout
Notes
Notes: svn path=/head/; revision=144963
Diffstat (limited to 'security/p5-Crypt-DH')
-rw-r--r--security/p5-Crypt-DH/Makefile22
-rw-r--r--security/p5-Crypt-DH/distinfo4
2 files changed, 16 insertions, 10 deletions
diff --git a/security/p5-Crypt-DH/Makefile b/security/p5-Crypt-DH/Makefile
index cd55cf1547fa..a5dab161fa27 100644
--- a/security/p5-Crypt-DH/Makefile
+++ b/security/p5-Crypt-DH/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= Crypt-DH
-PORTVERSION= 0.03
-PORTREVISION= 2
+PORTVERSION= 0.06
CATEGORIES= security perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Crypt
@@ -16,15 +15,22 @@ PKGNAMEPREFIX= p5-
MAINTAINER= jesper@FreeBSD.org
COMMENT= Perl5 interface to a Diffie-Hellman key exchange system
-BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Math/Pari.pm:${PORTSDIR}/math/p5-Math-Pari \
- ${SITE_PERL}/Crypt/Random.pm:${PORTSDIR}/security/p5-Crypt-Random
-RUN_DEPENDS= ${BUILD_DEPENDS}
-
PERL_CONFIGURE= yes
MAN3= Crypt::DH.3
PLIST_FILES= %%SITE_PERL%%/Crypt/DH.pm \
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/DH/.packlist
-PLIST_DIRS= %%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/DH
+PLIST_DIRS= %%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/DH \
+ %%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt \
+ %%SITE_PERL%%/Crypt
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500600
+IGNORE= Port requires perl 5.6.x or later. Install lang/perl5 then try again
+.elif ${PERL_LEVEL} < 500800
+BUILD_DEPENDS= ${SITE_PERL}/Math/BigInt.pm:${PORTSDIR}/math/p5-Math-BigInt
+RUN_DEPENDS= ${BUILD_DEPENDS}
+.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/security/p5-Crypt-DH/distinfo b/security/p5-Crypt-DH/distinfo
index 25063644c2b4..0c9107623ea2 100644
--- a/security/p5-Crypt-DH/distinfo
+++ b/security/p5-Crypt-DH/distinfo
@@ -1,2 +1,2 @@
-MD5 (Crypt-DH-0.03.tar.gz) = e0af4baf9d5c9089ca8f1ad316701a82
-SIZE (Crypt-DH-0.03.tar.gz) = 3479
+MD5 (Crypt-DH-0.06.tar.gz) = eabecac024d427c670a6e0edbadcec5d
+SIZE (Crypt-DH-0.06.tar.gz) = 18088