aboutsummaryrefslogtreecommitdiffstats
path: root/mail/p5-MIME-Tools
diff options
context:
space:
mode:
Diffstat (limited to 'mail/p5-MIME-Tools')
-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