diff options
author | sunpoet <sunpoet@FreeBSD.org> | 2013-09-24 04:15:49 +0800 |
---|---|---|
committer | sunpoet <sunpoet@FreeBSD.org> | 2013-09-24 04:15:49 +0800 |
commit | 9b6f99f6d882d6673adbdaf01ae72841c5777f13 (patch) | |
tree | 68bb93539cd77e970e3dddae840d1db557578350 | |
parent | 07f2f457fa6f318a05947a82113f76f20a2c04ab (diff) | |
download | freebsd-ports-gnome-9b6f99f6d882d6673adbdaf01ae72841c5777f13.tar.gz freebsd-ports-gnome-9b6f99f6d882d6673adbdaf01ae72841c5777f13.tar.zst freebsd-ports-gnome-9b6f99f6d882d6673adbdaf01ae72841c5777f13.zip |
- Update to 1.56
- Support STAGEDIR
Changes: http://search.cpan.org/dist/HTML-Tidy/Changes
-rw-r--r-- | textproc/p5-HTML-Tidy/Makefile | 30 | ||||
-rw-r--r-- | textproc/p5-HTML-Tidy/distinfo | 4 | ||||
-rw-r--r-- | textproc/p5-HTML-Tidy/pkg-plist | 2 |
3 files changed, 22 insertions, 14 deletions
diff --git a/textproc/p5-HTML-Tidy/Makefile b/textproc/p5-HTML-Tidy/Makefile index 9f3f0182fefe..aec8a073ce45 100644 --- a/textproc/p5-HTML-Tidy/Makefile +++ b/textproc/p5-HTML-Tidy/Makefile @@ -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> diff --git a/textproc/p5-HTML-Tidy/distinfo b/textproc/p5-HTML-Tidy/distinfo index a4ab62a84103..352162d85aab 100644 --- a/textproc/p5-HTML-Tidy/distinfo +++ b/textproc/p5-HTML-Tidy/distinfo @@ -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 diff --git a/textproc/p5-HTML-Tidy/pkg-plist b/textproc/p5-HTML-Tidy/pkg-plist index 5013d49fc6f0..3b3ca090fa83 100644 --- a/textproc/p5-HTML-Tidy/pkg-plist +++ b/textproc/p5-HTML-Tidy/pkg-plist @@ -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 |