From e6867bf47162fd08193bcf6604cdbf1a148a416c Mon Sep 17 00:00:00 2001 From: Ashish SHUKLA Date: Tue, 29 Jul 2014 03:23:48 +0000 Subject: [PATCH] Email::Simple::FromHandle provides an Email::Simple object which uses a filehandle as its source, so it does not need to hold the entire body in memory until needed. WWW: https://github.com/rjbs/Email-Simple-FromHandle --- mail/Makefile | 1 + mail/p5-Email-Simple-FromHandle/Makefile | 26 +++++++++++++++++++++++ mail/p5-Email-Simple-FromHandle/distinfo | 2 ++ mail/p5-Email-Simple-FromHandle/pkg-descr | 7 ++++++ mail/p5-Email-Simple-FromHandle/pkg-plist | 4 ++++ 5 files changed, 40 insertions(+) create mode 100644 mail/p5-Email-Simple-FromHandle/Makefile create mode 100644 mail/p5-Email-Simple-FromHandle/distinfo create mode 100644 mail/p5-Email-Simple-FromHandle/pkg-descr create mode 100644 mail/p5-Email-Simple-FromHandle/pkg-plist diff --git a/mail/Makefile b/mail/Makefile index fa7dc8420261..d714209dc1d1 100644 --- a/mail/Makefile +++ b/mail/Makefile @@ -341,6 +341,7 @@ SUBDIR += p5-Email-Sender-Transport-SMTP-TLS SUBDIR += p5-Email-Sender-Transport-SQLite SUBDIR += p5-Email-Simple + SUBDIR += p5-Email-Simple-FromHandle SUBDIR += p5-Email-Stuff SUBDIR += p5-Email-Valid SUBDIR += p5-Email-Valid-Loose diff --git a/mail/p5-Email-Simple-FromHandle/Makefile b/mail/p5-Email-Simple-FromHandle/Makefile new file mode 100644 index 000000000000..e044b992c4e8 --- /dev/null +++ b/mail/p5-Email-Simple-FromHandle/Makefile @@ -0,0 +1,26 @@ +# Created by: +# $FreeBSD$ + +PORTNAME= Email-Simple-FromHandle +PORTVERSION= 0.054 +CATEGORIES= mail perl5 +MASTER_SITES= CPAN +PKGNAMEPREFIX= p5- + +MAINTAINER= ashish@FreeBSD.org +COMMENT= Perl library for making email objects from a filehandle + +LICENSE= ART10 GPLv1 +LICENSE_COMB= dual + +BUILD_DEPENDS= p5-Email-Simple>=0:${PORTSDIR}/mail/p5-Email-Simple \ + p5-IO-String>=0:${PORTSDIR}/devel/p5-IO-String + +RUN_DEPENDS:= ${BUILD_DEPENDS} + +USES= perl5 +USE_PERL5= configure + +MAN3= Email::Simple::FromHandle.3 + +.include diff --git a/mail/p5-Email-Simple-FromHandle/distinfo b/mail/p5-Email-Simple-FromHandle/distinfo new file mode 100644 index 000000000000..7ecee3d0defc --- /dev/null +++ b/mail/p5-Email-Simple-FromHandle/distinfo @@ -0,0 +1,2 @@ +SHA256 (Email-Simple-FromHandle-0.054.tar.gz) = b750e7599016f7825b5398f662d86c935802ba1fcef6ff75e175c401e3fd1b6a +SIZE (Email-Simple-FromHandle-0.054.tar.gz) = 23595 diff --git a/mail/p5-Email-Simple-FromHandle/pkg-descr b/mail/p5-Email-Simple-FromHandle/pkg-descr new file mode 100644 index 000000000000..3c1813fc98e2 --- /dev/null +++ b/mail/p5-Email-Simple-FromHandle/pkg-descr @@ -0,0 +1,7 @@ +- Add new port for Email::Simple::FromHandle Perl module + +Email::Simple::FromHandle provides an Email::Simple object which uses a +filehandle as its source, so it does not need to hold the entire body in memory +until needed. + +WWW: https://github.com/rjbs/Email-Simple-FromHandle diff --git a/mail/p5-Email-Simple-FromHandle/pkg-plist b/mail/p5-Email-Simple-FromHandle/pkg-plist new file mode 100644 index 000000000000..4d2e225e847b --- /dev/null +++ b/mail/p5-Email-Simple-FromHandle/pkg-plist @@ -0,0 +1,4 @@ +%%SITE_PERL%%/mach/auto/Email/Simple/FromHandle/.packlist +%%SITE_PERL%%/Email/Simple/FromHandle.pm +@dirrmtry %%SITE_PERL%%/Email/Simple +@dirrmtry %%SITE_PERL%%/mach/auto/Email/Simple/FromHandle