From bcc645405bf6ae96ee35e6eb5626a7c54577cff5 Mon Sep 17 00:00:00 2001 From: Kirill Ponomarev Date: Mon, 1 Sep 2003 20:25:41 +0000 Subject: [PATCH] - New port mail/p5-Email-LocalDelivery This is the second module produced by the "Perl Email Project", a reaction against the complexity and increasing bugginess of the Mail::* modules. It delivers an email to a list of mailboxes. PR: 56267 Submitted by: Lars Thegler --- mail/Makefile | 1 + mail/p5-Email-LocalDelivery/Makefile | 29 +++++++++++++++++++ mail/p5-Email-LocalDelivery/distinfo | 1 + .../files/patch-LocalDelivery.pm | 15 ++++++++++ mail/p5-Email-LocalDelivery/pkg-descr | 5 ++++ mail/p5-Email-LocalDelivery/pkg-plist | 8 +++++ 6 files changed, 59 insertions(+) create mode 100644 mail/p5-Email-LocalDelivery/Makefile create mode 100644 mail/p5-Email-LocalDelivery/distinfo create mode 100644 mail/p5-Email-LocalDelivery/files/patch-LocalDelivery.pm create mode 100644 mail/p5-Email-LocalDelivery/pkg-descr create mode 100644 mail/p5-Email-LocalDelivery/pkg-plist diff --git a/mail/Makefile b/mail/Makefile index 34f506bb132f..bc190f15cb59 100644 --- a/mail/Makefile +++ b/mail/Makefile @@ -177,6 +177,7 @@ SUBDIR += p5-Email-Find SUBDIR += p5-Email-Folder SUBDIR += p5-Email-FolderType + SUBDIR += p5-Email-LocalDelivery SUBDIR += p5-Email-Simple SUBDIR += p5-Email-Valid SUBDIR += p5-Email-Valid-Loose diff --git a/mail/p5-Email-LocalDelivery/Makefile b/mail/p5-Email-LocalDelivery/Makefile new file mode 100644 index 000000000000..2a3422a8a14d --- /dev/null +++ b/mail/p5-Email-LocalDelivery/Makefile @@ -0,0 +1,29 @@ +# New ports collection makefile for: p5-Email-LocalDelivery +# Date created: August 31 2003 +# Whom: Lars Thegler +# +# $FreeBSD$ +# + +PORTNAME= Email-LocalDelivery +PORTVERSION= 0.05 +CATEGORIES= mail perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= Email +PKGNAMEPREFIX= p5- + +MAINTAINER= lars@thegler.dk +COMMENT= Deliver a piece of email - simply + +BUILD_DEPENDS= ${SITE_PERL}/Email/Simple.pm:${PORTSDIR}/mail/p5-Email-Simple \ + ${SITE_PERL}/Email/FolderType.pm:${PORTSDIR}/mail/p5-Email-FolderType +RUN_DEPENDS= ${BUILD_DEPENDS} + +PERL_CONFIGURE= yes + +MAN3= Email::LocalDelivery.3 + +test: + cd ${WRKSRC} ; make test + +.include diff --git a/mail/p5-Email-LocalDelivery/distinfo b/mail/p5-Email-LocalDelivery/distinfo new file mode 100644 index 000000000000..45047558d702 --- /dev/null +++ b/mail/p5-Email-LocalDelivery/distinfo @@ -0,0 +1 @@ +MD5 (Email-LocalDelivery-0.05.tar.gz) = 73249763b6619750f3d657b149179059 diff --git a/mail/p5-Email-LocalDelivery/files/patch-LocalDelivery.pm b/mail/p5-Email-LocalDelivery/files/patch-LocalDelivery.pm new file mode 100644 index 000000000000..1414e0e186db --- /dev/null +++ b/mail/p5-Email-LocalDelivery/files/patch-LocalDelivery.pm @@ -0,0 +1,15 @@ +--- LocalDelivery.pm.orig Mon Sep 1 20:36:31 2003 ++++ LocalDelivery.pm Mon Sep 1 20:30:45 2003 +@@ -1,11 +1,10 @@ + package Email::LocalDelivery; + +-require 5.005_62; + use strict; +-use warnings; + use Email::FolderType qw(folder_type); + use Carp; +-our $VERSION = '0.05'; ++use vars qw($VERSION); ++$VERSION = '0.05'; + + =head1 NAME diff --git a/mail/p5-Email-LocalDelivery/pkg-descr b/mail/p5-Email-LocalDelivery/pkg-descr new file mode 100644 index 000000000000..39812ad1ce6d --- /dev/null +++ b/mail/p5-Email-LocalDelivery/pkg-descr @@ -0,0 +1,5 @@ +This is the second module produced by the "Perl Email Project", a +reaction against the complexity and increasing bugginess of the Mail::* +modules. It delivers an email to a list of mailboxes. + +WWW: http://search.cpan.org/dist/Email-LocalDelivery diff --git a/mail/p5-Email-LocalDelivery/pkg-plist b/mail/p5-Email-LocalDelivery/pkg-plist new file mode 100644 index 000000000000..c0d481573216 --- /dev/null +++ b/mail/p5-Email-LocalDelivery/pkg-plist @@ -0,0 +1,8 @@ +%%SITE_PERL%%/Email/LocalDelivery.pm +%%SITE_PERL%%/Email/LocalDelivery/Maildir.pm +%%SITE_PERL%%/Email/LocalDelivery/Mbox.pm +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Email/LocalDelivery/.packlist +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Email/LocalDelivery +@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Email 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%/Email/LocalDelivery 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%/Email 2>/dev/null || true