summaryrefslogtreecommitdiffstats
path: root/mail/p5-MIME-Tools
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2005-01-08 10:44:27 +0000
committermat <mat@FreeBSD.org>2005-01-08 10:44:27 +0000
commit923199d199d3249fb2d1b0e01969b902208ab99f (patch)
tree383558e13d758d334ab65c0457980cab1bb6d8cd /mail/p5-MIME-Tools
parentb4b47fa9216cee3371c1c41690a76e8fb049396d (diff)
downloadFreeBSD-ports-923199d199d3249fb2d1b0e01969b902208ab99f.zip
FreeBSD-ports-923199d199d3249fb2d1b0e01969b902208ab99f.tar.gz
Update to 5.416
Add examples and some docs
Diffstat (limited to 'mail/p5-MIME-Tools')
-rw-r--r--mail/p5-MIME-Tools/Makefile17
-rw-r--r--mail/p5-MIME-Tools/distinfo4
-rw-r--r--mail/p5-MIME-Tools/pkg-plist12
3 files changed, 30 insertions, 3 deletions
diff --git a/mail/p5-MIME-Tools/Makefile b/mail/p5-MIME-Tools/Makefile
index f16efa2..ac0ef40 100644
--- a/mail/p5-MIME-Tools/Makefile
+++ b/mail/p5-MIME-Tools/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= p5-MIME-Tools
-PORTVERSION= 5.415
+PORTVERSION= 5.416
PORTEPOCH= 2
CATEGORIES= mail perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
@@ -47,6 +47,21 @@ MAN3= MIME::Body.3 \
MIME::WordDecoder.3 \
MIME::Words.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>
post-patch:
diff --git a/mail/p5-MIME-Tools/distinfo b/mail/p5-MIME-Tools/distinfo
index 43cb24b..964c995 100644
--- a/mail/p5-MIME-Tools/distinfo
+++ b/mail/p5-MIME-Tools/distinfo
@@ -1,2 +1,2 @@
-MD5 (MIME-tools-5.415.tar.gz) = caa3afe57bce6ebcc29d0c71d4dc96dc
-SIZE (MIME-tools-5.415.tar.gz) = 350176
+MD5 (MIME-tools-5.416.tar.gz) = 95a2eb01ecd5f7b6710f5b3351766140
+SIZE (MIME-tools-5.416.tar.gz) = 351471
diff --git a/mail/p5-MIME-Tools/pkg-plist b/mail/p5-MIME-Tools/pkg-plist
index c84e92f..92c5cc1 100644
--- a/mail/p5-MIME-Tools/pkg-plist
+++ b/mail/p5-MIME-Tools/pkg-plist
@@ -22,6 +22,18 @@
%%SITE_PERL%%/MIME/Words.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/MIME-tools/.packlist
%%SITE_PERL%%/set-version.pl
+%%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
OpenPOWER on IntegriCloud