diff options
author | lth <lth@FreeBSD.org> | 2005-01-09 01:51:34 +0800 |
---|---|---|
committer | lth <lth@FreeBSD.org> | 2005-01-09 01:51:34 +0800 |
commit | e29d82eafd8e42bb661df9fe6044d6249c4307fc (patch) | |
tree | 2d03156ef7b9a463ad32d99624b3c9fa51fc1659 /mail | |
parent | f887341be576b9823d3661b0e3928790e098eed5 (diff) | |
download | freebsd-ports-gnome-e29d82eafd8e42bb661df9fe6044d6249c4307fc.tar.gz freebsd-ports-gnome-e29d82eafd8e42bb661df9fe6044d6249c4307fc.tar.zst freebsd-ports-gnome-e29d82eafd8e42bb661df9fe6044d6249c4307fc.zip |
Update to 0.8
Diffstat (limited to 'mail')
-rw-r--r-- | mail/p5-Email-FolderType/Makefile | 22 | ||||
-rw-r--r-- | mail/p5-Email-FolderType/distinfo | 4 | ||||
-rw-r--r-- | mail/p5-Email-FolderType/files/5.005-t::05_register.t | 8 | ||||
-rw-r--r-- | mail/p5-Email-FolderType/pkg-plist | 9 |
4 files changed, 18 insertions, 25 deletions
diff --git a/mail/p5-Email-FolderType/Makefile b/mail/p5-Email-FolderType/Makefile index 0fc82e02aad1..ca06919ce7c4 100644 --- a/mail/p5-Email-FolderType/Makefile +++ b/mail/p5-Email-FolderType/Makefile @@ -6,7 +6,7 @@ # PORTNAME= Email-FolderType -PORTVERSION= 0.7 +PORTVERSION= 0.8 CATEGORIES= mail perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN} MASTER_SITE_SUBDIR= Email @@ -15,21 +15,23 @@ PKGNAMEPREFIX= p5- MAINTAINER= lth@FreeBSD.org COMMENT= Determine the type of a mail folder -PERL_CONFIGURE= yes +BUILD_DEPENDS= ${SITE_PERL}/Module/Pluggable.pm:${PORTSDIR}/devel/p5-Module-Pluggable +RUN_DEPENDS= ${BUILD_DEPENDS} + +PERL_MODBUILD= yes MAN3= Email::FolderType.3 \ - Email::FolderType::Local.3 \ - Email::FolderType::Register.3 + Email::FolderType::Ezmlm.3 \ + Email::FolderType::MH.3 \ + Email::FolderType::Maildir.3 \ + Email::FolderType::Mbox.3 .include <bsd.port.pre.mk> .if ${PERL_LEVEL} <= 500503 -EXTRA_PATCHES= ${PATCHDIR}/5.005-t::05_register.t - -# make PREFIX-clean under perl 5.005_03 -post-configure: - ${PERL} -pi -e 's,/usr/local/,\$$(PREFIX)/,g' ${WRKSRC}/Makefile - +post-patch: + @${PERL} -pi -e 's/^our\s+([\$$\@\%]\w+)/use vars qw($$1); $$1/;' \ + ${WRKSRC}/lib/Email/FolderType.pm .endif .include <bsd.port.post.mk> diff --git a/mail/p5-Email-FolderType/distinfo b/mail/p5-Email-FolderType/distinfo index d11f47070326..d1a6f511fac9 100644 --- a/mail/p5-Email-FolderType/distinfo +++ b/mail/p5-Email-FolderType/distinfo @@ -1,2 +1,2 @@ -MD5 (Email-FolderType-0.7.tar.gz) = 92fdcdd0f59aee9b53fadddf2b9833c4 -SIZE (Email-FolderType-0.7.tar.gz) = 4695 +MD5 (Email-FolderType-0.8.tar.gz) = ce8a9c1471882e939af5a4ec1603ac91 +SIZE (Email-FolderType-0.8.tar.gz) = 11556 diff --git a/mail/p5-Email-FolderType/files/5.005-t::05_register.t b/mail/p5-Email-FolderType/files/5.005-t::05_register.t deleted file mode 100644 index 0157eb2d8d12..000000000000 --- a/mail/p5-Email-FolderType/files/5.005-t::05_register.t +++ /dev/null @@ -1,8 +0,0 @@ ---- t/05_register.t.orig Mon May 17 22:48:40 2004 -+++ t/05_register.t Mon May 17 22:49:30 2004 -@@ -1,4 +1,4 @@ --use Test::More qw[no_plan]; -+use Test::More tests => 3; - - use Email::FolderType::Register qw[register_type]; - use Email::FolderType qw[folder_type]; diff --git a/mail/p5-Email-FolderType/pkg-plist b/mail/p5-Email-FolderType/pkg-plist index f7bbde5e9f77..096ccac73a0b 100644 --- a/mail/p5-Email-FolderType/pkg-plist +++ b/mail/p5-Email-FolderType/pkg-plist @@ -1,8 +1,7 @@ %%SITE_PERL%%/Email/FolderType.pm -%%SITE_PERL%%/Email/FolderType/Local.pm -%%SITE_PERL%%/Email/FolderType/Register.pm -%%SITE_PERL%%/%%PERL_ARCH%%/auto/Email/FolderType/.packlist -@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Email/FolderType -@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Email 2>/dev/null || true +%%SITE_PERL%%/Email/FolderType/Ezmlm.pm +%%SITE_PERL%%/Email/FolderType/MH.pm +%%SITE_PERL%%/Email/FolderType/Maildir.pm +%%SITE_PERL%%/Email/FolderType/Mbox.pm @unexec rmdir %D/%%SITE_PERL%%/Email/FolderType 2>/dev/null || true @unexec rmdir %D/%%SITE_PERL%%/Email 2>/dev/null || true |