diff options
author | lth <lth@FreeBSD.org> | 2004-06-27 23:34:51 +0800 |
---|---|---|
committer | lth <lth@FreeBSD.org> | 2004-06-27 23:34:51 +0800 |
commit | 5002845b1ee42529c1405225c6c11782911e1302 (patch) | |
tree | a367dac25f2d574449871613de79c1e3a5884de5 /security/p5-Digest-MD5-M4p | |
parent | 4623f39fe0d77c08b8e702bdcf1c5c56769763a9 (diff) | |
download | freebsd-ports-gnome-5002845b1ee42529c1405225c6c11782911e1302.tar.gz freebsd-ports-gnome-5002845b1ee42529c1405225c6c11782911e1302.tar.zst freebsd-ports-gnome-5002845b1ee42529c1405225c6c11782911e1302.zip |
Add p5-Digest-MD5-M4p 0.01,
Perl interface to a variant of the MD5 algorithm.
Approved by: erwin (implicit)
Diffstat (limited to 'security/p5-Digest-MD5-M4p')
-rw-r--r-- | security/p5-Digest-MD5-M4p/Makefile | 38 | ||||
-rw-r--r-- | security/p5-Digest-MD5-M4p/distinfo | 2 | ||||
-rw-r--r-- | security/p5-Digest-MD5-M4p/pkg-descr | 4 | ||||
-rw-r--r-- | security/p5-Digest-MD5-M4p/pkg-plist | 9 |
4 files changed, 53 insertions, 0 deletions
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 <lth@FreeBSD.org> +# +# $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 <bsd.port.pre.mk> + +.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 <bsd.port.post.mk> 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 |