diff options
author | erwin <erwin@FreeBSD.org> | 2004-05-18 13:27:43 +0000 |
---|---|---|
committer | erwin <erwin@FreeBSD.org> | 2004-05-18 13:27:43 +0000 |
commit | daeeaea434480b945488cc2ddc1199059ec58ee5 (patch) | |
tree | e76320b1d71683c5cc23d32827e6364cc707ecf4 /mail/p5-Email-FolderType | |
parent | f730d5da3e5e97a04f25eb827c03bf5dc5c7cb77 (diff) | |
download | FreeBSD-ports-daeeaea434480b945488cc2ddc1199059ec58ee5.zip FreeBSD-ports-daeeaea434480b945488cc2ddc1199059ec58ee5.tar.gz |
Update to 0.7
PR: 66806
Submitted by: maintainer
Diffstat (limited to 'mail/p5-Email-FolderType')
-rw-r--r-- | mail/p5-Email-FolderType/Makefile | 20 | ||||
-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 | 3 |
4 files changed, 28 insertions, 7 deletions
diff --git a/mail/p5-Email-FolderType/Makefile b/mail/p5-Email-FolderType/Makefile index 9307c32..e3e4802 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 <bsd.port.pre.mk> -.include <bsd.port.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 + +.endif + +.include <bsd.port.post.mk> diff --git a/mail/p5-Email-FolderType/distinfo b/mail/p5-Email-FolderType/distinfo index 504ba80..d11f470 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 0000000..0157eb2 --- /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 b94a784..f7bbde5 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 |