Date: Mon, 23 Sep 2013 20:15:49 +0000 (UTC) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r328040 - head/textproc/p5-HTML-Tidy Message-ID: <201309232015.r8NKFn56039556@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sunpoet Date: Mon Sep 23 20:15:49 2013 New Revision: 328040 URL: http://svnweb.freebsd.org/changeset/ports/328040 Log: - Update to 1.56 - Support STAGEDIR Changes: http://search.cpan.org/dist/HTML-Tidy/Changes Modified: head/textproc/p5-HTML-Tidy/Makefile (contents, props changed) head/textproc/p5-HTML-Tidy/distinfo (contents, props changed) head/textproc/p5-HTML-Tidy/pkg-plist (contents, props changed) Modified: head/textproc/p5-HTML-Tidy/Makefile ============================================================================== --- head/textproc/p5-HTML-Tidy/Makefile Mon Sep 23 20:09:24 2013 (r328039) +++ head/textproc/p5-HTML-Tidy/Makefile Mon Sep 23 20:15:49 2013 (r328040) @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= HTML-Tidy -PORTVERSION= 1.54 +PORTVERSION= 1.56 CATEGORIES= textproc www perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- @@ -11,26 +11,32 @@ MAINTAINER= perl@FreeBSD.org COMMENT= Web validation in a Perl object using tidy BUILD_DEPENDS= p5-libwww>=0:${PORTSDIR}/www/p5-libwww -LIB_DEPENDS= tidyp:${PORTSDIR}/textproc/tidyp +LIB_DEPENDS= libtidyp.so:${PORTSDIR}/textproc/tidyp RUN_DEPENDS:= ${BUILD_DEPENDS} +OPTIONS_DEFINE= DOCS + USES= perl5 USE_PERL5= configure -MAN3= HTML::Tidy.3 HTML::Tidy::Message.3 +PORTDOCS= Changes README.markdown -NO_STAGE= yes -post-patch: - @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \ - ${WRKSRC}/Makefile.PL +.include <bsd.port.options.mk> -.if !defined(NOPORTDOCS) -PORTDOCS= Changes README.markdown +post-patch: + @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' ${WRKSRC}/Makefile.PL post-install: - @${MKDIR} ${DOCSDIR} - @${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR} +.if ${PORT_OPTIONS:MDOCS} + ${MKDIR} ${STAGEDIR}${DOCSDIR}/ + cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/ @${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}." .endif -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 501400 +TEST_DEPENDS+= p5-Test-Simple>=0.98:${PORTSDIR}/devel/p5-Test-Simple +.endif + +.include <bsd.port.post.mk> Modified: head/textproc/p5-HTML-Tidy/distinfo ============================================================================== --- head/textproc/p5-HTML-Tidy/distinfo Mon Sep 23 20:09:24 2013 (r328039) +++ head/textproc/p5-HTML-Tidy/distinfo Mon Sep 23 20:15:49 2013 (r328040) @@ -1,2 +1,2 @@ -SHA256 (HTML-Tidy-1.54.tar.gz) = 3f72ef3c244482033e5cc7c87859425b3afcf6ebbdeca54e67d323528614461b -SIZE (HTML-Tidy-1.54.tar.gz) = 25561 +SHA256 (HTML-Tidy-1.56.tar.gz) = 080887ffc4d4358719527703f17003b9526826430db52af16a6aa7bc9be5e4fe +SIZE (HTML-Tidy-1.56.tar.gz) = 27016 Modified: head/textproc/p5-HTML-Tidy/pkg-plist ============================================================================== --- head/textproc/p5-HTML-Tidy/pkg-plist Mon Sep 23 20:09:24 2013 (r328039) +++ head/textproc/p5-HTML-Tidy/pkg-plist Mon Sep 23 20:15:49 2013 (r328040) @@ -1,4 +1,6 @@ bin/webtidy +%%PERL5_MAN3%%/HTML::Tidy.3.gz +%%PERL5_MAN3%%/HTML::Tidy::Message.3.gz %%SITE_PERL%%/%%PERL_ARCH%%/HTML/Tidy.pm %%SITE_PERL%%/%%PERL_ARCH%%/HTML/Tidy/Message.pm %%SITE_PERL%%/%%PERL_ARCH%%/auto/HTML/Tidy/.packlist
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201309232015.r8NKFn56039556>