aboutsummaryrefslogtreecommitdiff
path: root/security/p5-PerlCryptLib
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2007-06-20 10:58:08 +0000
committerMathieu Arnold <mat@FreeBSD.org>2007-06-20 10:58:08 +0000
commitc73503c06cf7378ae7f44670750eb48cb97a9e3e (patch)
tree1f91fefbea176e61979f218749c74a9f85dc8d09 /security/p5-PerlCryptLib
parent5b674183d382ac3fe83d22beed0689cc08ea265a (diff)
downloadports-c73503c06cf7378ae7f44670750eb48cb97a9e3e.tar.gz
ports-c73503c06cf7378ae7f44670750eb48cb97a9e3e.zip
Update to 1.04
Notes
Notes: svn path=/head/; revision=193931
Diffstat (limited to 'security/p5-PerlCryptLib')
-rw-r--r--security/p5-PerlCryptLib/Makefile10
-rw-r--r--security/p5-PerlCryptLib/distinfo6
2 files changed, 11 insertions, 5 deletions
diff --git a/security/p5-PerlCryptLib/Makefile b/security/p5-PerlCryptLib/Makefile
index a46e2882e898..0d58f97364e0 100644
--- a/security/p5-PerlCryptLib/Makefile
+++ b/security/p5-PerlCryptLib/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= PerlCryptLib
-PORTVERSION= 1.03
+PORTVERSION= 1.04
CATEGORIES= security perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= ../../authors/id/A/AL/ALVAROL
@@ -15,15 +15,21 @@ PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= Perl interface to Peter Guttman cryptlib API
+BUILD_DEPENDS= bash:${PORTSDIR}/shells/bash
LIB_DEPENDS= cl:${PORTSDIR}/security/cryptlib
RUN_DEPENDS= ${SITE_PERL}/enum.pm:${PORTSDIR}/devel/p5-enum
PERL_CONFIGURE= yes
+USE_OPENSSL= yes
MAN3= PerlCryptLib.3
post-patch:
- ${PERL} -pi -e 's,^use 5\.008.*$$,,' ${WRKSRC}/Makefile.PL
+ ${PERL} -pi -e 's,^#!/bin/bash,#!${LOCALBASE}/bin/bash,;' \
+ -e 's,^read .* cl_path_in .*$$,cl_path_in=${LOCALBASE}/include,' \
+ ${WRKSRC}/configure
+ ${PERL} -pi -e 's,^use 5\.008.*$$,,;' \
+ -e 's,'\''$$, -L${OPENSSLINC} $$&, if /INC/' ${WRKSRC}/Makefile.PL
${PERL} -pi -e 's,\.\./cryptlib322,${LOCALBASE}/include,' \
${WRKSRC}/PerlCryptLib.xs
diff --git a/security/p5-PerlCryptLib/distinfo b/security/p5-PerlCryptLib/distinfo
index 5e8e56fe1da7..7eb9f4ecbb4f 100644
--- a/security/p5-PerlCryptLib/distinfo
+++ b/security/p5-PerlCryptLib/distinfo
@@ -1,3 +1,3 @@
-MD5 (PerlCryptLib-1.03.tar.gz) = 8d31fa1e33264bad600676e931402914
-SHA256 (PerlCryptLib-1.03.tar.gz) = bef682a9041ec4019aae43766e1e7ea467ee34ac247242b87730e7001d38cca0
-SIZE (PerlCryptLib-1.03.tar.gz) = 23834
+MD5 (PerlCryptLib-1.04.tar.gz) = b710060ebefd0ca0a0f7ef059110de77
+SHA256 (PerlCryptLib-1.04.tar.gz) = 2ef390a06e9a9eea9356a1cbc141f70f30ed4a8d6e2abc73c4b6f50d5b2b2daa
+SIZE (PerlCryptLib-1.04.tar.gz) = 20442