aboutsummaryrefslogtreecommitdiff
path: root/textproc/p5-HTML-Tidy/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/p5-HTML-Tidy/Makefile')
-rw-r--r--textproc/p5-HTML-Tidy/Makefile15
1 files changed, 13 insertions, 2 deletions
diff --git a/textproc/p5-HTML-Tidy/Makefile b/textproc/p5-HTML-Tidy/Makefile
index 8a72bcc9b761..311ee69a2c4a 100644
--- a/textproc/p5-HTML-Tidy/Makefile
+++ b/textproc/p5-HTML-Tidy/Makefile
@@ -6,11 +6,13 @@
#
PORTNAME= HTML-Tidy
-PORTVERSION= 1.04
+PORTVERSION= 1.05.01
CATEGORIES= textproc www perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
-MASTER_SITE_SUBDIR= HTML
+MASTER_SITE_SUBDIR= HTML/PETDANCE
PKGNAMEPREFIX= p5-
+DISTNAME= ${PORTNAME}-${PORTVERSION:C/\.(..)$/_\1/}
+
MAINTAINER= mat@FreeBSD.org
COMMENT= Web validation in a Perl object using tidy
@@ -23,6 +25,15 @@ PERL_CONFIGURE= yes
MAN3= HTML::Tidy.3 HTML::Tidy::Message.3
+.if !defined(NOPORTDOCS)
+PORTDOCS= Changes README
+
+post-install:
+ @${MKDIR} ${DOCSDIR}
+ @${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
+ @${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
+.endif
+
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500600