aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-Pod-Coverage
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2004-11-24 17:36:37 +0000
committerMathieu Arnold <mat@FreeBSD.org>2004-11-24 17:36:37 +0000
commit75df0603efe409b9836c02a976f7eab156e2ed10 (patch)
tree39234cbd129c28ae4e03272e7aa6b82c5a003557 /devel/p5-Pod-Coverage
parentd25b67d5a44853659f37c3313b03f4db48f326a7 (diff)
downloadports-75df0603efe409b9836c02a976f7eab156e2ed10.tar.gz
ports-75df0603efe409b9836c02a976f7eab156e2ed10.zip
Update to 0.17
Notes
Notes: svn path=/head/; revision=122316
Diffstat (limited to 'devel/p5-Pod-Coverage')
-rw-r--r--devel/p5-Pod-Coverage/Makefile15
-rw-r--r--devel/p5-Pod-Coverage/distinfo4
-rw-r--r--devel/p5-Pod-Coverage/pkg-plist3
3 files changed, 19 insertions, 3 deletions
diff --git a/devel/p5-Pod-Coverage/Makefile b/devel/p5-Pod-Coverage/Makefile
index 10e9dfa2f510..c4d6cc454253 100644
--- a/devel/p5-Pod-Coverage/Makefile
+++ b/devel/p5-Pod-Coverage/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= Pod-Coverage
-PORTVERSION= 0.16
+PORTVERSION= 0.17
CATEGORIES= devel textproc perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Pod
@@ -26,4 +26,17 @@ MAN3= Pod::Coverage.3 \
Pod::Coverage::ExportOnly.3 \
Pod::Coverage::Overloader.3
+.if !defined(NOPORTDOCS)
+PORTDOCS= Changes README
+EXAMPLES= examples/check_installed examples/script-covered
+
+post-install:
+ @${MKDIR} ${DOCSDIR}
+ @${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
+ @${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
+ @${MKDIR} ${EXAMPLESDIR}
+ @${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${EXAMPLESDIR}
+ @${ECHO_MSG} "===> Examples installed in ${EXAMPLESDIR}."
+.endif
+
.include <bsd.port.mk>
diff --git a/devel/p5-Pod-Coverage/distinfo b/devel/p5-Pod-Coverage/distinfo
index 33620877e98c..bea8fa7257b8 100644
--- a/devel/p5-Pod-Coverage/distinfo
+++ b/devel/p5-Pod-Coverage/distinfo
@@ -1,2 +1,2 @@
-MD5 (Pod-Coverage-0.16.tar.gz) = f7303d3a5cbc97d8686a54be334e3057
-SIZE (Pod-Coverage-0.16.tar.gz) = 12612
+MD5 (Pod-Coverage-0.17.tar.gz) = 79fbf29b4438bebc24a3957cc9017612
+SIZE (Pod-Coverage-0.17.tar.gz) = 12692
diff --git a/devel/p5-Pod-Coverage/pkg-plist b/devel/p5-Pod-Coverage/pkg-plist
index b0f3214f37f3..c5f72e40493d 100644
--- a/devel/p5-Pod-Coverage/pkg-plist
+++ b/devel/p5-Pod-Coverage/pkg-plist
@@ -5,6 +5,9 @@ bin/pod_cover
%%SITE_PERL%%/%%PERL_ARCH%%/Pod/Coverage/Overloader.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Pod/Coverage/Coverage.bs
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Pod/Coverage/Coverage.so
+%%PORTDOCS%%%%EXAMPLESDIR%%/Changes
+%%PORTDOCS%%%%EXAMPLESDIR%%/README
+%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Pod/Coverage
@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Pod 2>/dev/null || true
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/Pod/Coverage