diff --git a/www/Makefile b/www/Makefile index 7f5f353951ce..3f3c9f8c1c63 100644 --- a/www/Makefile +++ b/www/Makefile @@ -545,6 +545,7 @@ SUBDIR += p5-HTML-FillInForm SUBDIR += p5-HTML-FromText SUBDIR += p5-HTML-LinkExtractor + SUBDIR += p5-HTML-Lint SUBDIR += p5-HTML-Mason SUBDIR += p5-HTML-Pager SUBDIR += p5-HTML-Parser diff --git a/www/p5-HTML-Lint/Makefile b/www/p5-HTML-Lint/Makefile new file mode 100644 index 000000000000..0cca36b73535 --- /dev/null +++ b/www/p5-HTML-Lint/Makefile @@ -0,0 +1,36 @@ +# New ports collection makefile for: www/p5-HTML-Lint +# Date created: 27 December 2005 +# Whom: Anton Berezin +# +# $FreeBSD$ +# + +PORTNAME= HTML-Lint +PORTVERSION= 2.02 +CATEGORIES= www perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= HTML +PKGNAMEPREFIX= p5- + +MAINTAINER= tobez@FreeBSD.org +COMMENT= HTML::Lint - check for HTML errors in a string or file + +BUILD_DEPENDS= ${SITE_PERL}/HTML/Tagset.pm:${PORTSDIR}/www/p5-HTML-Tagset \ + p5-libwww>0:${PORTSDIR}/www/p5-libwww \ + ${SITE_PERL}/${PERL_ARCH}/HTML/Parser.pm:${PORTSDIR}/www/p5-HTML-Parser +RUN_DEPENDS= ${BUILD_DEPENDS} + +PERL_CONFIGURE= yes + +MAN3= HTML::Lint.3 \ + HTML::Lint::Error.3 \ + HTML::Lint::HTML4.3 \ + Test::HTML::Lint.3 + +.include + +.if ${PERL_LEVEL} < 500600 +IGNORE= requires perl 5.6.0 or later. Install lang/perl5.8 and try again +.endif + +.include diff --git a/www/p5-HTML-Lint/distinfo b/www/p5-HTML-Lint/distinfo new file mode 100644 index 000000000000..25ea7a374a38 --- /dev/null +++ b/www/p5-HTML-Lint/distinfo @@ -0,0 +1,3 @@ +MD5 (HTML-Lint-2.02.tar.gz) = f08241fbe2473d7542be5ef660ced6e3 +SHA256 (HTML-Lint-2.02.tar.gz) = 517caf805cf792fdbd44ffacc57ccbf57a45709e987f49fee881886dfa6c6395 +SIZE (HTML-Lint-2.02.tar.gz) = 22629 diff --git a/www/p5-HTML-Lint/pkg-descr b/www/p5-HTML-Lint/pkg-descr new file mode 100644 index 000000000000..ed36b340ce1a --- /dev/null +++ b/www/p5-HTML-Lint/pkg-descr @@ -0,0 +1,6 @@ +HTML::Lint - check for HTML errors in a string or file. + +HTML::Lint also comes with a wrapper program called weblint that handles +linting from the command line. + +WWW: http://search.cpan.org/dist/HTML-Lint/ diff --git a/www/p5-HTML-Lint/pkg-plist b/www/p5-HTML-Lint/pkg-plist new file mode 100644 index 000000000000..88cfa1d8a011 --- /dev/null +++ b/www/p5-HTML-Lint/pkg-plist @@ -0,0 +1,12 @@ +bin/weblint +%%SITE_PERL%%/HTML/Lint.pm +%%SITE_PERL%%/HTML/Lint/Error.pm +%%SITE_PERL%%/HTML/Lint/HTML4.pm +%%SITE_PERL%%/Test/HTML/Lint.pm +%%SITE_PERL%%/%%PERL_ARCH%%/auto/HTML/Lint/.packlist +@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/HTML/Lint 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/HTML 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%/Test/HTML 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%/HTML/Lint 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%/HTML 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%/Test 2>/dev/null || true