aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorerwin <erwin@FreeBSD.org>2004-05-18 21:27:43 +0800
committererwin <erwin@FreeBSD.org>2004-05-18 21:27:43 +0800
commitdaeeaea434480b945488cc2ddc1199059ec58ee5 (patch)
treee76320b1d71683c5cc23d32827e6364cc707ecf4 /mail
parentf730d5da3e5e97a04f25eb827c03bf5dc5c7cb77 (diff)
downloadfreebsd-ports-gnome-daeeaea434480b945488cc2ddc1199059ec58ee5.tar.gz
freebsd-ports-gnome-daeeaea434480b945488cc2ddc1199059ec58ee5.tar.zst
freebsd-ports-gnome-daeeaea434480b945488cc2ddc1199059ec58ee5.zip
Update to 0.7
PR: 66806 Submitted by: maintainer
Diffstat (limited to 'mail')
-rw-r--r--mail/p5-Email-FolderType/Makefile20
-rw-r--r--mail/p5-Email-FolderType/distinfo4
-rw-r--r--mail/p5-Email-FolderType/files/5.005-t::05_register.t8
-rw-r--r--mail/p5-Email-FolderType/pkg-plist3
4 files changed, 28 insertions, 7 deletions
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 <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 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