diff options
author | edwin <edwin@FreeBSD.org> | 2003-02-13 07:37:39 +0800 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2003-02-13 07:37:39 +0800 |
commit | 8cd907c84756560d3c88e47f988793e3839c6e88 (patch) | |
tree | 2ae8fed3a8824354e731a68dd8d9e9bbeb9229a0 | |
parent | 6a5c6f1cbe1a77919a37d3dae3d5b4f80fc127b2 (diff) | |
download | freebsd-ports-gnome-8cd907c84756560d3c88e47f988793e3839c6e88.tar.gz freebsd-ports-gnome-8cd907c84756560d3c88e47f988793e3839c6e88.tar.zst freebsd-ports-gnome-8cd907c84756560d3c88e47f988793e3839c6e88.zip |
update mail/p5-Mail-Bulkmail to 3.05
- update to 3.05
- add WWW
PR: ports/48005
Submitted by: Erwin Lansing <erwin@lansing.dk>
-rw-r--r-- | mail/p5-Mail-Bulkmail/Makefile | 15 | ||||
-rw-r--r-- | mail/p5-Mail-Bulkmail/distinfo | 2 | ||||
-rw-r--r-- | mail/p5-Mail-Bulkmail/files/patch-Bulkmail.pm | 40 | ||||
-rw-r--r-- | mail/p5-Mail-Bulkmail/pkg-comment | 1 | ||||
-rw-r--r-- | mail/p5-Mail-Bulkmail/pkg-descr | 1 | ||||
-rw-r--r-- | mail/p5-Mail-Bulkmail/pkg-plist | 5 |
6 files changed, 20 insertions, 44 deletions
diff --git a/mail/p5-Mail-Bulkmail/Makefile b/mail/p5-Mail-Bulkmail/Makefile index 2a5a50b38b84..2b106dd8b9b5 100644 --- a/mail/p5-Mail-Bulkmail/Makefile +++ b/mail/p5-Mail-Bulkmail/Makefile @@ -6,17 +6,28 @@ # PORTNAME= Mail-Bulkmail -PORTVERSION= 2.05 +PORTVERSION= 3.05 CATEGORIES= mail perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN} MASTER_SITE_SUBDIR= Mail PKGNAMEPREFIX= p5- MAINTAINER= ports@FreeBSD.org +COMMENT= Perl module for mailing lists PERL_CONFIGURE= yes MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} -MAN3= Mail::Bulkmail.3 +MAN3= Mail::Bulkmail.3 Mail::Bulkmail::Dynamic.3 \ + Mail::Bulkmail::Server.3 Mail::Bulkmail::Object.3 \ + Mail::Bulkmail::DummyServer.3 + +post-patch: + ${PERL} -pi -e '$$_="" if /^use 5/;' \ + -e '$$_="" if /use warnings/;' \ + ${WRKSRC}/Bulkmail.pm ${WRKSRC}/Bulkmail/Object.pm \ + ${WRKSRC}/Bulkmail/Dynamic.pm \ + ${WRKSRC}/Bulkmail/Server.pm \ + ${WRKSRC}/Bulkmail/DummyServer.pm .include <bsd.port.mk> diff --git a/mail/p5-Mail-Bulkmail/distinfo b/mail/p5-Mail-Bulkmail/distinfo index a7e91c9fb772..ac1b96d02627 100644 --- a/mail/p5-Mail-Bulkmail/distinfo +++ b/mail/p5-Mail-Bulkmail/distinfo @@ -1 +1 @@ -MD5 (Mail-Bulkmail-2.05.tar.gz) = 4716d7dc718aa3d00b85c7d574a08538 +MD5 (Mail-Bulkmail-3.05.tar.gz) = 95ef6a45292d09f8de1ed9d344b51881 diff --git a/mail/p5-Mail-Bulkmail/files/patch-Bulkmail.pm b/mail/p5-Mail-Bulkmail/files/patch-Bulkmail.pm deleted file mode 100644 index 0153d0bd8069..000000000000 --- a/mail/p5-Mail-Bulkmail/files/patch-Bulkmail.pm +++ /dev/null @@ -1,40 +0,0 @@ ---- Bulkmail.pm.orig Fri Sep 7 12:28:16 2001 -+++ Bulkmail.pm Wed Nov 28 07:27:50 2001 -@@ -704,16 +704,31 @@ - - my $self = shift or undef; - -- my ($min, $hour, $isdst) = (localtime(time))[1,2,-1]; -- my ($gmin, $ghour, $gsdst) = (gmtime(time))[1,2, -1]; -+ my $now = time; -+ my ($min, $hour, $isdst) = (localtime($now))[1,2,-1]; -+ my ($gmin, $ghour, $gsdst) = (gmtime($now))[1,2, -1]; - -- my $diffhour = $hour - $ghour; -- $diffhour = 12 - $diffhour if $diffhour > 12; -- $diffhour = 12 + $diffhour if $diffhour < -12; -+ my $diffmin = ($hour - $ghour) * 60 + ($min - $gmin); -+ my $diffhour = int($diffmin / 60); -+ $diffmin -= $diffhour * 60; -+ if ($diffhour > 12) { -+ $diffhour -= 24; -+ if ($diffmin) { -+ $diffhour += 1; -+ $diffmin -= 60; -+ } -+ } elsif ($diffhour < -12) { -+ $diffhour += 24; -+ if ($diffmin) { -+ $diffhour -= 1; -+ $diffmin += 60; -+ } -+ } -+ $diffmin = abs($diffmin); - -- ($diffhour = sprintf("%03d", $hour - $ghour)) =~ s/^0/\+/; -+ ($diffhour = sprintf("%03d%02d", $diffhour, $diffmin)) =~ s/^0/\+/; - -- return $diffhour . sprintf("%02d", $min - $gmin); -+ return $diffhour; - - }; diff --git a/mail/p5-Mail-Bulkmail/pkg-comment b/mail/p5-Mail-Bulkmail/pkg-comment deleted file mode 100644 index 087d7c5f142d..000000000000 --- a/mail/p5-Mail-Bulkmail/pkg-comment +++ /dev/null @@ -1 +0,0 @@ -Perl module for mailing lists diff --git a/mail/p5-Mail-Bulkmail/pkg-descr b/mail/p5-Mail-Bulkmail/pkg-descr index 3fe7726a81ce..ea4e260dcc77 100644 --- a/mail/p5-Mail-Bulkmail/pkg-descr +++ b/mail/p5-Mail-Bulkmail/pkg-descr @@ -1,5 +1,6 @@ Mail::Bulkmail is a platform-independent mailing list module. Author: James A. Thompson III <jim3@psynet.net> +WWW: http://search.cpan.org/dist/Mail-Bulkmail/ --will diff --git a/mail/p5-Mail-Bulkmail/pkg-plist b/mail/p5-Mail-Bulkmail/pkg-plist index bcbeae3465d6..bbc6f70f63fa 100644 --- a/mail/p5-Mail-Bulkmail/pkg-plist +++ b/mail/p5-Mail-Bulkmail/pkg-plist @@ -1,5 +1,10 @@ lib/perl5/site_perl/%%PERL_VER%%/Mail/Bulkmail.pm +lib/perl5/site_perl/%%PERL_VER%%/Mail/Bulkmail/Dynamic.pm +lib/perl5/site_perl/%%PERL_VER%%/Mail/Bulkmail/Object.pm +lib/perl5/site_perl/%%PERL_VER%%/Mail/Bulkmail/Server.pm +lib/perl5/site_perl/%%PERL_VER%%/Mail/Bulkmail/DummyServer.pm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Mail/Bulkmail/.packlist @dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Mail/Bulkmail @unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Mail 2>/dev/null || true +@dirrm lib/perl5/site_perl/%%PERL_VER%%/Mail/Bulkmail @unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Mail 2>/dev/null || true |