aboutsummaryrefslogtreecommitdiff
path: root/security/p5-PerlCryptLib
diff options
context:
space:
mode:
Diffstat (limited to 'security/p5-PerlCryptLib')
-rw-r--r--security/p5-PerlCryptLib/Makefile18
-rw-r--r--security/p5-PerlCryptLib/distinfo6
2 files changed, 6 insertions, 18 deletions
diff --git a/security/p5-PerlCryptLib/Makefile b/security/p5-PerlCryptLib/Makefile
index 7a9e6a1f1d32..ef8a53f98035 100644
--- a/security/p5-PerlCryptLib/Makefile
+++ b/security/p5-PerlCryptLib/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= PerlCryptLib
-PORTVERSION= 1.04
+PORTVERSION= 1.05
CATEGORIES= security perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= ../../authors/id/A/AL/ALVAROL
@@ -15,25 +15,13 @@ 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
+PERL_CONFIGURE= 5.8.0+
MAN3= PerlCryptLib.3
post-patch:
- ${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
-
-post-configure:
- ${PERL} -pi -e 's,-lpthread,${PTHREAD_LIBS},' ${WRKSRC}/Makefile
+ ${REINPLACE_CMD} -e "s,/home,${PREFIX}/include," ${WRKSRC}/${CONFIGURE_SCRIPT}
.include <bsd.port.mk>
diff --git a/security/p5-PerlCryptLib/distinfo b/security/p5-PerlCryptLib/distinfo
index 7eb9f4ecbb4f..56e800e4dbea 100644
--- a/security/p5-PerlCryptLib/distinfo
+++ b/security/p5-PerlCryptLib/distinfo
@@ -1,3 +1,3 @@
-MD5 (PerlCryptLib-1.04.tar.gz) = b710060ebefd0ca0a0f7ef059110de77
-SHA256 (PerlCryptLib-1.04.tar.gz) = 2ef390a06e9a9eea9356a1cbc141f70f30ed4a8d6e2abc73c4b6f50d5b2b2daa
-SIZE (PerlCryptLib-1.04.tar.gz) = 20442
+MD5 (PerlCryptLib-1.05.tar.gz) = 7fe91350a557db95b56d7b978b86754b
+SHA256 (PerlCryptLib-1.05.tar.gz) = e3878797384fad25e1779d75b76672b19eb7e1d803f4274c5f67547f8156fc9c
+SIZE (PerlCryptLib-1.05.tar.gz) = 20645