aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorerwin <erwin@FreeBSD.org>2007-05-28 04:04:03 +0800
committererwin <erwin@FreeBSD.org>2007-05-28 04:04:03 +0800
commit1ab98758f56bff39e47839663119d4f06e383d5b (patch)
tree70d5629c200b9abce2d3ec6e7510ff2c0d371d2e /mail
parent308873be6eea495251738d3cc6918746e7d14bc2 (diff)
downloadfreebsd-ports-gnome-1ab98758f56bff39e47839663119d4f06e383d5b.tar.gz
freebsd-ports-gnome-1ab98758f56bff39e47839663119d4f06e383d5b.tar.zst
freebsd-ports-gnome-1ab98758f56bff39e47839663119d4f06e383d5b.zip
Example files are no longer in the distfile, so don't try to install
them. While I'm here, remove 4.x cruft. Submitted by: pointyhat via kris
Diffstat (limited to 'mail')
-rw-r--r--mail/p5-MIME-Tools/Makefile15
-rw-r--r--mail/p5-MIME-Tools/pkg-plist12
2 files changed, 2 insertions, 25 deletions
diff --git a/mail/p5-MIME-Tools/Makefile b/mail/p5-MIME-Tools/Makefile
index 30f07cdbb2c6..4b29536e2de0 100644
--- a/mail/p5-MIME-Tools/Makefile
+++ b/mail/p5-MIME-Tools/Makefile
@@ -7,6 +7,7 @@
PORTNAME= p5-MIME-Tools
PORTVERSION= 5.420
+PORTREVISION= 1
PORTEPOCH= 2
CATEGORIES= mail perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
@@ -49,26 +50,14 @@ MAN3= MIME::Body.3 \
.if !defined(NOPORTDOCS)
PORTDOCS= ChangeLog README
-PORTEXAMPLES= examples/README examples/mimeabuse examples/mimedump examples/mimeencode \
- examples/mimeexplode examples/mimepostcard examples/mimeprint \
- examples/mimeref examples/mimesend examples/mimesender examples/mimetour
post-install:
@${MKDIR} ${DOCSDIR}
- @${MKDIR} ${EXAMPLESDIR}
@${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
@${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
- @${INSTALL_DATA} ${PORTEXAMPLES:S|^|${WRKSRC}/|} ${EXAMPLESDIR}
- @${ECHO_MSG} "===> Examples installed in ${EXAMPLESDIR}."
-.endif
-
-.include <bsd.port.pre.mk>
-
-.if ${PERL_LEVEL} < 500600
-IGNORE= requires perl 5.6.0 or later. Install lang/perl5.8 and try again
.endif
post-patch:
@${FIND} ${WRKSRC} -name "*.orig" | ${XARGS} ${RM} -f
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/mail/p5-MIME-Tools/pkg-plist b/mail/p5-MIME-Tools/pkg-plist
index 26fd210e1eae..c9ad8eb056b9 100644
--- a/mail/p5-MIME-Tools/pkg-plist
+++ b/mail/p5-MIME-Tools/pkg-plist
@@ -21,18 +21,6 @@
%%SITE_PERL%%/MIME/WordDecoder.pm
%%SITE_PERL%%/MIME/Words.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/MIME-tools/.packlist
-%%PORTDOCS%%%%EXAMPLESDIR%%/README
-%%PORTDOCS%%%%EXAMPLESDIR%%/mimeabuse
-%%PORTDOCS%%%%EXAMPLESDIR%%/mimedump
-%%PORTDOCS%%%%EXAMPLESDIR%%/mimeencode
-%%PORTDOCS%%%%EXAMPLESDIR%%/mimeexplode
-%%PORTDOCS%%%%EXAMPLESDIR%%/mimepostcard
-%%PORTDOCS%%%%EXAMPLESDIR%%/mimeprint
-%%PORTDOCS%%%%EXAMPLESDIR%%/mimeref
-%%PORTDOCS%%%%EXAMPLESDIR%%/mimesend
-%%PORTDOCS%%%%EXAMPLESDIR%%/mimesender
-%%PORTDOCS%%%%EXAMPLESDIR%%/mimetour
-%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/MIME-tools
@dirrm %%SITE_PERL%%/MIME/Field
@dirrm %%SITE_PERL%%/MIME/Decoder