diff --git a/www/p5-HTML-QuickCheck/Makefile b/www/p5-HTML-QuickCheck/Makefile new file mode 100644 index 000000000000..31bc2dacc84b --- /dev/null +++ b/www/p5-HTML-QuickCheck/Makefile @@ -0,0 +1,33 @@ +# New ports collection makefile for: p5-HTML-QuickCheck +# Version required: 1.0b1 +# Date created: October 20th 1996 +# Whom: James FitzGibbon +# +# $Id$ +# + +DISTNAME= HTML-QuickCheck-1.0b1 +PKGNAME= p5-HTML-QuickCheck-1.0b1 +CATEGORIES+= www +MASTER_SITES= ftp://ftp.digital.com/pub/plan/perl/CPAN/modules/by-module/HTML/ \ + ftp://ftp.cdrom.com/pub/perl/CPAN/modules/by-module/HTML/ \ + ftp://ftp.cis.ufl.edu/pub/perl/CPAN/modules/by-module/HTML/ \ + ftp://ftp.leo.org/pub/comp/programming/languages/perl/CPAN/modules/by-module/HTML/ \ + ftp://ftp.demon.co.uk/pub/mirrors/perl/CPAN/modules/by-module/HTML/ \ + ftp://ftp.lab.kdd.co.jp/lang/perl/CPAN/modules/by-module/HTML/ + +MAINTAINER= jfitz@FreeBSD.ORG + +BUILD_DEPENDS= perl5.003:${PORTSDIR}/lang/perl5 + +do-configure: + @ cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PREFIX}/bin/perl Makefile.PL + +post-install: +.if !defined(NOMANCOMPRESS) + @ for file in HTML::QuickCheck; do \ + gzip -9nf ${PREFIX}/lib/perl5/man/man3/$$file.3; \ + done +.endif + +.include diff --git a/www/p5-HTML-QuickCheck/distinfo b/www/p5-HTML-QuickCheck/distinfo new file mode 100644 index 000000000000..c3c2cd8cd9d3 --- /dev/null +++ b/www/p5-HTML-QuickCheck/distinfo @@ -0,0 +1 @@ +MD5 (HTML-QuickCheck-1.0b1.tar.gz) = 55428ba8fefb469ddc7cdf0240172cb1 diff --git a/www/p5-HTML-QuickCheck/pkg-comment b/www/p5-HTML-QuickCheck/pkg-comment new file mode 100644 index 000000000000..a1fbdfbccf81 --- /dev/null +++ b/www/p5-HTML-QuickCheck/pkg-comment @@ -0,0 +1 @@ +a simple and fast HTML syntax checking package for perl 4 and perl 5. diff --git a/www/p5-HTML-QuickCheck/pkg-descr b/www/p5-HTML-QuickCheck/pkg-descr new file mode 100644 index 000000000000..8441fa4d9f4f --- /dev/null +++ b/www/p5-HTML-QuickCheck/pkg-descr @@ -0,0 +1,23 @@ + The objective of the package is to provide a fast and + essential HTML check (esp. for CGI scripts where response + time is important) to prevent a piece of user input HTML + code from messing up the rest of a file, i.e., to minimize + and localize any possible damage created by including a + piece of user input HTML text in a dynamic document. + + HTMLQuickCheck checks for unmatched < and >, unmatched + tags and improper nesting, which could ruin the rest of + the document. Attributes and elements with optional end + tags are not checked, as they should not cause disasters + with any decent browsers (they should ignore any + unrecognized tags and attributes according to the + standard). A piece of HTML that passes HTMLQuickCheck may + not necessarily be valid HTML, but it would be very + unlikely to screw others but itself. A valid piece of HTML + that doesn't pass the HTMLQuickCheck is however very + likely to screw many browsers(which are obviously broken + in terms of strict conformance). + + HTMLQuickCheck currently supports HTML 1.0, 2.x (draft), + 3.0 (draft) and netscape extensions (1.1). + diff --git a/www/p5-HTML-QuickCheck/pkg-plist b/www/p5-HTML-QuickCheck/pkg-plist new file mode 100644 index 000000000000..a8f2d4b1d50a --- /dev/null +++ b/www/p5-HTML-QuickCheck/pkg-plist @@ -0,0 +1,3 @@ +lib/perl5/man/man3/HTML::QuickCheck.3.gz +lib/perl5/site_perl/HTML/QuickCheck.pm +lib/perl5/site_perl/i386-freebsd/auto/HTML/QuickCheck/.packlist