diff --git a/security/Makefile b/security/Makefile index 8912290b9ab1..68fdb689722b 100644 --- a/security/Makefile +++ b/security/Makefile @@ -274,6 +274,7 @@ SUBDIR += p5-Digest-MD2 SUBDIR += p5-Digest-MD4 SUBDIR += p5-Digest-MD5 + SUBDIR += p5-Digest-MD5-M4p SUBDIR += p5-Digest-Nilsimsa SUBDIR += p5-Digest-SHA1 SUBDIR += p5-Digest-SHA2 diff --git a/security/p5-Digest-MD5-M4p/Makefile b/security/p5-Digest-MD5-M4p/Makefile new file mode 100644 index 000000000000..98b976206483 --- /dev/null +++ b/security/p5-Digest-MD5-M4p/Makefile @@ -0,0 +1,38 @@ +# New ports collection makefile for: p5-Digest-MD5-M4p +# Date created: 27 June 2004 +# Whom: Lars Thegler +# +# $FreeBSD$ +# + +PORTNAME= Digest-MD5-M4p +PORTVERSION= 0.01 +CATEGORIES= security perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= Digest +PKGNAMEPREFIX= p5- + +MAINTAINER= lth@FreeBSD.org +COMMENT= Perl interface to a variant of the MD5 algorithm + +BUILD_DEPENDS= ${SITE_PERL}/Digest.pm:${PORTSDIR}/security/p5-Digest +RUN_DEPENDS= ${BUILD_DEPENDS} + +PERL_CONFIGURE= yes +CONFIGURE_ARGS= INSTALLDIRS=site + +MAN3= Digest::MD5::M4p.3 + +post-extract: + @${PERL} -pi -e 's/\r//g' ${WRKSRC}/M4p.xs + +.include + +.if ${PERL_LEVEL} <= 500503 +post-configure: + @${PERL} -pi -e '$$_="" if /use warnings/' ${WRKSRC}/M4p.pm + # make PREFIX-clean under perl 5.005_03 + @${PERL} -pi -e 's,/usr/local/,\$${PREFIX}/,g' ${WRKSRC}/Makefile +.endif + +.include diff --git a/security/p5-Digest-MD5-M4p/distinfo b/security/p5-Digest-MD5-M4p/distinfo new file mode 100644 index 000000000000..8fc45a301f81 --- /dev/null +++ b/security/p5-Digest-MD5-M4p/distinfo @@ -0,0 +1,2 @@ +MD5 (Digest-MD5-M4p-0.01.tar.gz) = da895dd112ab3d06ab06020f675b2f66 +SIZE (Digest-MD5-M4p-0.01.tar.gz) = 9925 diff --git a/security/p5-Digest-MD5-M4p/pkg-descr b/security/p5-Digest-MD5-M4p/pkg-descr new file mode 100644 index 000000000000..3cb05b94646e --- /dev/null +++ b/security/p5-Digest-MD5-M4p/pkg-descr @@ -0,0 +1,4 @@ +The Digest::MD5::M4p module is cloned from the Digest::MD5 module +to support a variant Apple iTunes implementation of the MD5 algorithm. + +WWW: http://search.cpan.org/dist/Digest-MD5-M4p/ diff --git a/security/p5-Digest-MD5-M4p/pkg-plist b/security/p5-Digest-MD5-M4p/pkg-plist new file mode 100644 index 000000000000..47b991696b4f --- /dev/null +++ b/security/p5-Digest-MD5-M4p/pkg-plist @@ -0,0 +1,9 @@ +%%SITE_PERL%%/%%PERL_ARCH%%/Digest/MD5/M4p.pm +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Digest/MD5/M4p/.packlist +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Digest/MD5/M4p/M4p.bs +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Digest/MD5/M4p/M4p.so +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Digest/MD5/M4p +@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Digest/MD5 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Digest 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/Digest/MD5 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/Digest 2>/dev/null || true