From daeeaea434480b945488cc2ddc1199059ec58ee5 Mon Sep 17 00:00:00 2001 From: erwin Date: Tue, 18 May 2004 13:27:43 +0000 Subject: Update to 0.7 PR: 66806 Submitted by: maintainer --- mail/p5-Email-FolderType/Makefile | 20 +++++++++++++++----- mail/p5-Email-FolderType/distinfo | 4 ++-- .../p5-Email-FolderType/files/5.005-t::05_register.t | 8 ++++++++ mail/p5-Email-FolderType/pkg-plist | 3 +++ 4 files changed, 28 insertions(+), 7 deletions(-) create mode 100644 mail/p5-Email-FolderType/files/5.005-t::05_register.t (limited to 'mail') diff --git a/mail/p5-Email-FolderType/Makefile b/mail/p5-Email-FolderType/Makefile index 9307c327619d..e3e48027cdd1 100644 --- a/mail/p5-Email-FolderType/Makefile +++ b/mail/p5-Email-FolderType/Makefile @@ -6,7 +6,7 @@ # PORTNAME= Email-FolderType -PORTVERSION= 0.6 +PORTVERSION= 0.7 CATEGORIES= mail perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN} MASTER_SITE_SUBDIR= Email @@ -17,9 +17,19 @@ COMMENT= Determine the type of a mail folder PERL_CONFIGURE= yes -MAN3= Email::FolderType.3 +MAN3= Email::FolderType.3 \ + Email::FolderType::Local.3 \ + Email::FolderType::Register.3 -test: - cd ${WRKSRC} ; make test +.include -.include +.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 + +.endif + +.include diff --git a/mail/p5-Email-FolderType/distinfo b/mail/p5-Email-FolderType/distinfo index 504ba8052b7c..d11f47070326 100644 --- a/mail/p5-Email-FolderType/distinfo +++ b/mail/p5-Email-FolderType/distinfo @@ -1,2 +1,2 @@ -MD5 (Email-FolderType-0.6.tar.gz) = 54a74b1fd8f5bfedabc82808c1fa7502 -SIZE (Email-FolderType-0.6.tar.gz) = 9575 +MD5 (Email-FolderType-0.7.tar.gz) = 92fdcdd0f59aee9b53fadddf2b9833c4 +SIZE (Email-FolderType-0.7.tar.gz) = 4695 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 new file mode 100644 index 000000000000..0157eb2d8d12 --- /dev/null +++ b/mail/p5-Email-FolderType/files/5.005-t::05_register.t @@ -0,0 +1,8 @@ +--- 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 b94a78413539..f7bbde5e9f77 100644 --- a/mail/p5-Email-FolderType/pkg-plist +++ b/mail/p5-Email-FolderType/pkg-plist @@ -1,5 +1,8 @@ %%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 +@unexec rmdir %D/%%SITE_PERL%%/Email/FolderType 2>/dev/null || true @unexec rmdir %D/%%SITE_PERL%%/Email 2>/dev/null || true -- cgit