aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-IO-Digest
diff options
context:
space:
mode:
Diffstat (limited to 'devel/p5-IO-Digest')
-rw-r--r--devel/p5-IO-Digest/Makefile32
-rw-r--r--devel/p5-IO-Digest/distinfo2
-rw-r--r--devel/p5-IO-Digest/pkg-descr5
-rw-r--r--devel/p5-IO-Digest/pkg-plist5
4 files changed, 44 insertions, 0 deletions
diff --git a/devel/p5-IO-Digest/Makefile b/devel/p5-IO-Digest/Makefile
new file mode 100644
index 000000000000..2023bc474d0c
--- /dev/null
+++ b/devel/p5-IO-Digest/Makefile
@@ -0,0 +1,32 @@
+# New ports collection makefile for: devel/p5-IO-Digest
+# Date created: Sep 20 2004
+# Whom: Rong-En Fan <rafan@infor.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= IO-Digest
+PORTVERSION= 0.10
+CATEGORIES= devel perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= IO
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= rafan@infor.org
+COMMENT= Calculate digests while reading or writing
+
+BUILD_DEPENDS= ${SITE_PERL}/PerlIO/via/dynamic.pm:${PORTSDIR}/devel/p5-PerlIO-via-dynamic \
+ ${SITE_PERL}/Digest.pm:${PORTSDIR}/security/p5-Digest
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+PERL_CONFIGURE= yes
+
+MAN3= IO::Digest.3
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500800
+IGNORE= This module only supports perl 5.8.0 or above
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/devel/p5-IO-Digest/distinfo b/devel/p5-IO-Digest/distinfo
new file mode 100644
index 000000000000..fee9aeac2e0c
--- /dev/null
+++ b/devel/p5-IO-Digest/distinfo
@@ -0,0 +1,2 @@
+MD5 (IO-Digest-0.10.tar.gz) = 0448841e0559c2c19c7e8001ef087e26
+SIZE (IO-Digest-0.10.tar.gz) = 15636
diff --git a/devel/p5-IO-Digest/pkg-descr b/devel/p5-IO-Digest/pkg-descr
new file mode 100644
index 000000000000..5161d80cd994
--- /dev/null
+++ b/devel/p5-IO-Digest/pkg-descr
@@ -0,0 +1,5 @@
+This module allows you to calculate digests while reading or writing
+file handles. This avoids the case you need to reread the same
+content to compute the digests after written a file.
+
+WWW: http://search.cpan.org/dist/IO-Digest/
diff --git a/devel/p5-IO-Digest/pkg-plist b/devel/p5-IO-Digest/pkg-plist
new file mode 100644
index 000000000000..dc6ff047b7e9
--- /dev/null
+++ b/devel/p5-IO-Digest/pkg-plist
@@ -0,0 +1,5 @@
+%%SITE_PERL%%/IO/Digest.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/IO/Digest/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/IO/Digest
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/IO 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/IO 2>/dev/null || true