aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Thegler <lth@FreeBSD.org>2005-04-02 11:29:17 +0000
committerLars Thegler <lth@FreeBSD.org>2005-04-02 11:29:17 +0000
commit8e9971e7616c07269eeb6f28d9ad69992d037445 (patch)
treee1edf72c824a685f68668fa0e8ee4dd247dbeaa1
parent9a3def3a7e6265d58bacc5c34d1c0289847d5857 (diff)
downloadports-8e9971e7616c07269eeb6f28d9ad69992d037445.tar.gz
ports-8e9971e7616c07269eeb6f28d9ad69992d037445.zip
Notes
-rw-r--r--devel/Makefile1
-rw-r--r--devel/p5-PerlIO-via-MD5/Makefile29
-rw-r--r--devel/p5-PerlIO-via-MD5/distinfo2
-rw-r--r--devel/p5-PerlIO-via-MD5/pkg-descr4
-rw-r--r--devel/p5-PerlIO-via-MD5/pkg-plist7
5 files changed, 43 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 8bc350ab7503..a9ad1e6c9fbd 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -1001,6 +1001,7 @@
SUBDIR += p5-Perl6-Export
SUBDIR += p5-Perl6-Form
SUBDIR += p5-PerlIO-eol
+ SUBDIR += p5-PerlIO-via-MD5
SUBDIR += p5-PerlIO-via-dynamic
SUBDIR += p5-PerlIO-via-symlink
SUBDIR += p5-PerlMenu
diff --git a/devel/p5-PerlIO-via-MD5/Makefile b/devel/p5-PerlIO-via-MD5/Makefile
new file mode 100644
index 000000000000..4eea88f492a0
--- /dev/null
+++ b/devel/p5-PerlIO-via-MD5/Makefile
@@ -0,0 +1,29 @@
+# New ports collection makefile for: devel/p5-PerlIO-via-MD5
+# Date created: 22 March 2005
+# Whom: Lars Thegler <lth@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= PerlIO-via-MD5
+PORTVERSION= 0.06
+CATEGORIES= devel perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= PerlIO
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= lth@FreeBSD.org
+COMMENT= PerlIO layer for creating an MD5 digest of a file
+
+BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Digest/MD5.pm:${PORTSDIR}/security/p5-Digest-MD5
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+PERL_CONFIGURE= yes
+
+MAN3= PerlIO::via::MD5.3
+
+.include <bsd.port.pre.mk>
+.if ${PERL_LEVEL} < 500800
+IGNORE= requires PerlIO, which was introduced in Perl 5.8.0. Install lang/perl5.8 and try again
+.endif
+.include <bsd.port.post.mk>
diff --git a/devel/p5-PerlIO-via-MD5/distinfo b/devel/p5-PerlIO-via-MD5/distinfo
new file mode 100644
index 000000000000..483a653ed071
--- /dev/null
+++ b/devel/p5-PerlIO-via-MD5/distinfo
@@ -0,0 +1,2 @@
+MD5 (PerlIO-via-MD5-0.06.tar.gz) = dba7f38a351dd92c8d68f89841feb8d1
+SIZE (PerlIO-via-MD5-0.06.tar.gz) = 3820
diff --git a/devel/p5-PerlIO-via-MD5/pkg-descr b/devel/p5-PerlIO-via-MD5/pkg-descr
new file mode 100644
index 000000000000..02ee4b33dacb
--- /dev/null
+++ b/devel/p5-PerlIO-via-MD5/pkg-descr
@@ -0,0 +1,4 @@
+This module implements a PerlIO layer that can only read files and
+return an MD5 digest of the contents of the file.
+
+WWW: http://search.cpan.org/dist/PerlIO-via-MD5
diff --git a/devel/p5-PerlIO-via-MD5/pkg-plist b/devel/p5-PerlIO-via-MD5/pkg-plist
new file mode 100644
index 000000000000..ae6d95d4c93c
--- /dev/null
+++ b/devel/p5-PerlIO-via-MD5/pkg-plist
@@ -0,0 +1,7 @@
+%%SITE_PERL%%/PerlIO/via/MD5.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/PerlIO/via/MD5/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/PerlIO/via/MD5
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/PerlIO/via 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/PerlIO 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/PerlIO/via 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/PerlIO 2>/dev/null || true