aboutsummaryrefslogtreecommitdiff
path: root/textproc/p5-HTML-Tidy/Makefile
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2004-09-03 11:51:20 +0000
committerMathieu Arnold <mat@FreeBSD.org>2004-09-03 11:51:20 +0000
commita5197e3dbcbea6d10e975da6b49cf4e5253bdade (patch)
tree5e66354b8d0f9c05ca33f526b66f1e6411beb629 /textproc/p5-HTML-Tidy/Makefile
parent2a6859be00f510768b6dfef2634d0c7028eeb0b1 (diff)
downloadports-a5197e3dbcbea6d10e975da6b49cf4e5253bdade.tar.gz
ports-a5197e3dbcbea6d10e975da6b49cf4e5253bdade.zip
Notes
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