summaryrefslogtreecommitdiff
path: root/www/p5-HTML-Clean
diff options
context:
space:
mode:
authorjlam <jlam>2001-10-01 02:28:13 +0000
committerjlam <jlam>2001-10-01 02:28:13 +0000
commit111f2d1253a00445d4b94190bb00a25787759029 (patch)
treee9a3fd46e0185fa5be5065085426fbc5c48ad9a7 /www/p5-HTML-Clean
parenta79deb5626cb9cd07974e8b0c1dc4225ab112080 (diff)
downloadpkgsrc-111f2d1253a00445d4b94190bb00a25787759029.tar.gz
p5-HTML-Clean - perl5 module that cleans up HTML code for web browsers
The HTML::Clean module encapsulates a number of common techniques for minimizing the size of HTML files. You can typically save between 10% and 50% of the size of a HTML file using these methods. It provides the following features: Remove unneeded whitespace (beginning of line, etc.) Remove unneeded META elements Remove HTML comments (except for styles, javascript and SSI) Replace tags with equivilant shorter tags (<strong> --> <b>, etc.)
Diffstat (limited to 'www/p5-HTML-Clean')
-rw-r--r--www/p5-HTML-Clean/Makefile17
-rw-r--r--www/p5-HTML-Clean/distinfo4
-rw-r--r--www/p5-HTML-Clean/pkg/DESCR9
-rw-r--r--www/p5-HTML-Clean/pkg/PLIST1
4 files changed, 31 insertions, 0 deletions
diff --git a/www/p5-HTML-Clean/Makefile b/www/p5-HTML-Clean/Makefile
new file mode 100644
index 00000000000..13843f33aea
--- /dev/null
+++ b/www/p5-HTML-Clean/Makefile
@@ -0,0 +1,17 @@
+# $NetBSD: Makefile,v 1.1.1.1 2001/10/01 02:28:13 jlam Exp $
+
+DISTNAME= HTML-Clean-0.8
+PKGNAME= p5-${DISTNAME}
+CATEGORIES= www perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=HTML/}
+
+MAINTAINER= packages@netbsd.org
+COMMENT= perl5 module that cleans up HTML code for web browsers
+
+USE_PERL5= YES
+PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/HTML/Clean/.packlist
+
+do-configure:
+ @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/www/p5-HTML-Clean/distinfo b/www/p5-HTML-Clean/distinfo
new file mode 100644
index 00000000000..e141c9075d9
--- /dev/null
+++ b/www/p5-HTML-Clean/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2001/10/01 02:28:13 jlam Exp $
+
+SHA1 (HTML-Clean-0.8.tar.gz) = a938f03e8f3fece01e2b2f9878d449466d9c229b
+Size (HTML-Clean-0.8.tar.gz) = 48157 bytes
diff --git a/www/p5-HTML-Clean/pkg/DESCR b/www/p5-HTML-Clean/pkg/DESCR
new file mode 100644
index 00000000000..f26747770e9
--- /dev/null
+++ b/www/p5-HTML-Clean/pkg/DESCR
@@ -0,0 +1,9 @@
+The HTML::Clean module encapsulates a number of common techniques for
+minimizing the size of HTML files. You can typically save between 10% and
+50% of the size of a HTML file using these methods. It provides the
+following features:
+
+ Remove unneeded whitespace (beginning of line, etc.)
+ Remove unneeded META elements
+ Remove HTML comments (except for styles, javascript and SSI)
+ Replace tags with equivilant shorter tags (<strong> --> <b>, etc.)
diff --git a/www/p5-HTML-Clean/pkg/PLIST b/www/p5-HTML-Clean/pkg/PLIST
new file mode 100644
index 00000000000..f10f8deac63
--- /dev/null
+++ b/www/p5-HTML-Clean/pkg/PLIST
@@ -0,0 +1 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2001/10/01 02:28:13 jlam Exp $