diff options
author | Jun Kuriyama <kuriyama@FreeBSD.org> | 2012-06-02 14:21:37 +0000 |
---|---|---|
committer | Jun Kuriyama <kuriyama@FreeBSD.org> | 2012-06-02 14:21:37 +0000 |
commit | ba5cb3212d509fd3d22bc38f583ce4d9915e488f (patch) | |
tree | 1ba952c41d0b395e38b503d682db37c54977f715 /devel | |
parent | 9b8a7f2433438f94be3936d4091ff49ec3dd05a3 (diff) | |
download | ports-ba5cb3212d509fd3d22bc38f583ce4d9915e488f.tar.gz ports-ba5cb3212d509fd3d22bc38f583ce4d9915e488f.zip |
IO::Callback provides an easy way to produce a phoney read-only
filehandle that calls back to your own code when it needs data to
satisfy a read. This is useful if you want to use a library module
that expects to read data from a filehandle, but you want the data to
come from some other source and you don't want to read it all into
memory and use IO::String.
WWW: http://search.cpan.org/dist/IO-Callback/
Notes
Notes:
svn path=/head/; revision=298023
Diffstat (limited to 'devel')
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/p5-IO-Callback/Makefile | 29 | ||||
-rw-r--r-- | devel/p5-IO-Callback/distinfo | 2 | ||||
-rw-r--r-- | devel/p5-IO-Callback/pkg-descr | 8 | ||||
-rw-r--r-- | devel/p5-IO-Callback/pkg-plist | 3 |
5 files changed, 43 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index eda5edc607f0..fedeaefcb25c 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -1929,6 +1929,7 @@ SUBDIR += p5-IO-Any SUBDIR += p5-IO-Async SUBDIR += p5-IO-BufferedSelect + SUBDIR += p5-IO-Callback SUBDIR += p5-IO-Capture SUBDIR += p5-IO-CaptureOutput SUBDIR += p5-IO-Digest diff --git a/devel/p5-IO-Callback/Makefile b/devel/p5-IO-Callback/Makefile new file mode 100644 index 000000000000..77fdef5cce16 --- /dev/null +++ b/devel/p5-IO-Callback/Makefile @@ -0,0 +1,29 @@ +# New ports collection makefile for: IO::Callback +# Date created: 02 Jun 2012 +# Whom: Jun Kuriyama <kuriyama@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= IO-Callback +PORTVERSION= 1.08 +CATEGORIES= devel perl5 +MASTER_SITES= CPAN +PKGNAMEPREFIX= p5- + +MAINTAINER= kuriyama@FreeBSD.org +COMMENT= Perl extension to emulate file interface for a code reference + +RUN_DEPENDS= \ + p5-IO-String>0:${PORTSDIR}/devel/p5-IO-String +BUILD_DEPENDS= ${RUN_DEPENDS} +TEST_DEPENDS= \ + p5-File-Slurp>0:${PORTSDIR}/devel/p5-File-Slurp \ + p5-Test-Exception>0:${PORTSDIR}/devel/p5-Test-Exception \ + p5-Test-NoWarnings>0:${PORTSDIR}/devel/p5-Test-NoWarnings + +PERL_CONFIGURE= yes + +MAN3= IO::Callback.3 + +.include <bsd.port.mk> diff --git a/devel/p5-IO-Callback/distinfo b/devel/p5-IO-Callback/distinfo new file mode 100644 index 000000000000..b7354ffcb329 --- /dev/null +++ b/devel/p5-IO-Callback/distinfo @@ -0,0 +1,2 @@ +SHA256 (IO-Callback-1.08.tar.gz) = 70f0bd3af790c2a6636a8edb4efad613796d292909fe656ada6a38b9c05a9e56 +SIZE (IO-Callback-1.08.tar.gz) = 20944 diff --git a/devel/p5-IO-Callback/pkg-descr b/devel/p5-IO-Callback/pkg-descr new file mode 100644 index 000000000000..bb85c63e6fd8 --- /dev/null +++ b/devel/p5-IO-Callback/pkg-descr @@ -0,0 +1,8 @@ +IO::Callback provides an easy way to produce a phoney read-only +filehandle that calls back to your own code when it needs data to +satisfy a read. This is useful if you want to use a library module +that expects to read data from a filehandle, but you want the data to +come from some other source and you don't want to read it all into +memory and use IO::String. + +WWW: http://search.cpan.org/dist/IO-Callback/ diff --git a/devel/p5-IO-Callback/pkg-plist b/devel/p5-IO-Callback/pkg-plist new file mode 100644 index 000000000000..2cccd29576b0 --- /dev/null +++ b/devel/p5-IO-Callback/pkg-plist @@ -0,0 +1,3 @@ +%%SITE_PERL%%/%%PERL_ARCH%%/auto/IO/Callback/.packlist +%%SITE_PERL%%/IO/Callback.pm +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/IO/Callback |