diff options
-rw-r--r-- | security/p5-PerlCryptLib/Makefile | 10 | ||||
-rw-r--r-- | security/p5-PerlCryptLib/distinfo | 6 |
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 |