aboutsummaryrefslogtreecommitdiff
path: root/mail/p5-Email-FolderType
diff options
context:
space:
mode:
authorErwin Lansing <erwin@FreeBSD.org>2004-05-18 13:27:43 +0000
committerErwin Lansing <erwin@FreeBSD.org>2004-05-18 13:27:43 +0000
commit7aeaacc72a2dd02bc4c42b87173656130cd3bc53 (patch)
tree2eebbe0b6d51f2a2238a117a670171849897d4e9 /mail/p5-Email-FolderType
parent80973276fb52e54c284333413a0f000a246b8204 (diff)
downloadports-7aeaacc72a2dd02bc4c42b87173656130cd3bc53.tar.gz
ports-7aeaacc72a2dd02bc4c42b87173656130cd3bc53.zip
Update to 0.7
PR: 66806 Submitted by: maintainer
Notes
Notes: svn path=/head/; revision=109432
Diffstat (limited to 'mail/p5-Email-FolderType')
-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