summaryrefslogtreecommitdiff
path: root/mail/p5-Mail-Box
diff options
context:
space:
mode:
authoradrianp <adrianp>2005-04-23 17:38:57 +0000
committeradrianp <adrianp>2005-04-23 17:38:57 +0000
commit7496a069a93a7b7e65361d01c2e308b8a3366f85 (patch)
tree196a39e233f17f70a9d3f7a0df9d2dee8aa8524f /mail/p5-Mail-Box
parent3c5737a52feeb25e819677f042b885fa74a54203 (diff)
downloadpkgsrc-7496a069a93a7b7e65361d01c2e308b8a3366f85.tar.gz
MailBox is a library for the Perl programming language, designed to handle
various kinds of e-mail. It can be used to construct messages, send them, access various kinds of message folders, filter spam and virussen, and so on. The MailBox distribution is quite large, with about 140 related modules.
Diffstat (limited to 'mail/p5-Mail-Box')
-rw-r--r--mail/p5-Mail-Box/DESCR5
-rw-r--r--mail/p5-Mail-Box/Makefile33
-rw-r--r--mail/p5-Mail-Box/PLIST1
-rw-r--r--mail/p5-Mail-Box/distinfo6
-rw-r--r--mail/p5-Mail-Box/patches/patch-aa85
5 files changed, 130 insertions, 0 deletions
diff --git a/mail/p5-Mail-Box/DESCR b/mail/p5-Mail-Box/DESCR
new file mode 100644
index 00000000000..f87c738e5be
--- /dev/null
+++ b/mail/p5-Mail-Box/DESCR
@@ -0,0 +1,5 @@
+MailBox is a library for the Perl programming language, designed to handle
+various kinds of e-mail. It can be used to construct messages, send them,
+access various kinds of message folders, filter spam and virussen, and so on.
+
+The MailBox distribution is quite large, with about 140 related modules.
diff --git a/mail/p5-Mail-Box/Makefile b/mail/p5-Mail-Box/Makefile
new file mode 100644
index 00000000000..a825a328a07
--- /dev/null
+++ b/mail/p5-Mail-Box/Makefile
@@ -0,0 +1,33 @@
+# $NetBSD: Makefile,v 1.1.1.1 2005/04/23 17:38:57 adrianp Exp $
+
+DISTNAME= Mail-Box-2.060
+PKGNAME= p5-${DISTNAME}
+CATEGORIES= mail perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Mail/}
+
+MAINTAINER= adrianp@NetBSD.org
+HOMEPAGE= http://perl.overmeer.net/mailbox/
+COMMENT= Set of packages which implement methods to handle e-mail
+
+DEPENDS+= p5-TimeDate-[0-9]*:../../time/p5-TimeDate
+DEPENDS+= p5-File-Spec>=0.7:../../devel/p5-File-Spec
+DEPENDS+= p5-IO-stringy-[0-9]*:../../devel/p5-IO-stringy
+DEPENDS+= p5-Scalar-List-Utils>=1.13:../../devel/p5-Scalar-List-Utils
+DEPENDS+= p5-Object-Realize-Later>=0.14:../../devel/p5-Object-Realize-Later
+DEPENDS+= p5-MIME-Types>=1.004:../../mail/p5-MIME-Types
+DEPENDS+= p5-URI>=1.23:../../www/p5-URI
+DEPENDS+= p5-Test-Simple>=0.47:../../devel/p5-Test-Simple
+DEPENDS+= p5-User-Identity>=0.07:../../mail/p5-User-Identity
+DEPENDS+= p5-MailTools-[0-9]*:../../mail/p5-MailTools
+DEPENDS+= p5-MIME-tools-[0-9]*:../../mail/p5-MIME-tools
+DEPENDS+= p5-Digest-HMAC-[0-9]*:../../security/p5-Digest-HMAC
+DEPENDS+= p5-File-Remove-[0-9]*:../../sysutils/p5-File-Remove
+
+PERL5_REQD?= 5.8.0
+
+PKG_INSTALLATION_TYPES= overwrite pkgviews
+
+PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Mail/Box/.packlist
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/mail/p5-Mail-Box/PLIST b/mail/p5-Mail-Box/PLIST
new file mode 100644
index 00000000000..c2e2b95539c
--- /dev/null
+++ b/mail/p5-Mail-Box/PLIST
@@ -0,0 +1 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2005/04/23 17:38:58 adrianp Exp $
diff --git a/mail/p5-Mail-Box/distinfo b/mail/p5-Mail-Box/distinfo
new file mode 100644
index 00000000000..7e477b71d8c
--- /dev/null
+++ b/mail/p5-Mail-Box/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2005/04/23 17:38:58 adrianp Exp $
+
+SHA1 (Mail-Box-2.060.tar.gz) = ae5f95f06f0a2069947f310f0a6c5d4b3597eda3
+RMD160 (Mail-Box-2.060.tar.gz) = 093b03a3c2aad7df299aaa959d8acfcac8d32cae
+Size (Mail-Box-2.060.tar.gz) = 587366 bytes
+SHA1 (patch-aa) = a3c249dd076dca30e1370a77a70c23274660e637
diff --git a/mail/p5-Mail-Box/patches/patch-aa b/mail/p5-Mail-Box/patches/patch-aa
new file mode 100644
index 00000000000..c51aad1cd52
--- /dev/null
+++ b/mail/p5-Mail-Box/patches/patch-aa
@@ -0,0 +1,85 @@
+$NetBSD: patch-aa,v 1.1.1.1 2005/04/23 17:38:58 adrianp Exp $
+
+--- Makefile.PL.orig 2005-04-23 00:12:41.000000000 +0100
++++ Makefile.PL
+@@ -161,78 +161,8 @@ FIX
+ exit 1;
+ }
+
+-print <<'OPTIONAL';
+-
+-* Now, let me ask you whether you want some optional modules to be
+-* installed as well. You can always install these modules later, by
+-* hand, without a need to re-install MailBox.
+-*
+-OPTIONAL
+-
+-foreach my $optional (@optional)
+-{ my ($module, $version, %args) = @$optional;
+- my $requirements = $args{requires} || sub {1};
+- next unless $requirements->();
+-
+- print "\n";
+- eval "require $module";
+- if($@)
+- { if($@ =~ m/^Can't locate /)
+- { print "**** Optional $module is not installed\n" }
+- else { print "**** Optional $module compilation failed:\n$@\n" }
+- }
+- elsif($module->VERSION < $version )
+- { print "**** Optional $module too old: requires $version but is ",
+- $module->VERSION,"\n";
+- }
+- else
+- { my $v = $module->VERSION;
+- my $r = $v eq $version ? ''
+- : $version == 0 ? " (any version will do)"
+- : " (at least $version required)";
+-
+- print "**** Found optional $module version $v$r\n";
+- next;
+- }
+-
+- my $reason = $args{reason};
+- $reason =~ s/^/ /gm;
+- $reason =~ s/\A /Use:/;
+- print $reason;
+-
+- if(my $warn = $args{warning})
+- { $warn =~ s/^/ /gm;
+- $warn =~ s/\A /WARN/;
+- print $warn;
+- }
+-
+- my $install = $default_install_answer;
+- my $key = prompt "Do you want to install $module? yes/no/all", $install;
+-
+- if($key eq 'a')
+- { $default_install_answer = 'a';
+- $install = 'y';
+- }
+- else
+- { $install = $key eq 'y' ? 'y' : 'n';
+- }
+-
+- next unless $install eq 'y';
+-
+- my $distr = $args{distr} || $module;
+-
+- $prereq{$distr} = $version;
+- print " Added $distr version $version to the requirements\n";
+-}
+-
+-my $tests = prompt "Do you want to run the (large set of) tests? yes/no", "yes";
+-if($tests =~ m/n/i)
+-{ open F, ">", "skiptests";
+- close F;
+-}
+-else
+-{ unlink "skiptests";
+-}
++open F, ">", "skiptests";
++close F;
+
+ print <<'MAKEFILE';
+