aboutsummaryrefslogtreecommitdiff
path: root/www/p5-Compress-LeadingBlankSpaces
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2004-05-26 14:25:21 +0000
committerMathieu Arnold <mat@FreeBSD.org>2004-05-26 14:25:21 +0000
commit83ab2ea2b9888af7715d0a7d60a2cd45900a0940 (patch)
tree31599ec325f519e1af2015eb7eda1af2da7e314a /www/p5-Compress-LeadingBlankSpaces
parent4ca5311c8693407d72c7445874870c894c3ca430 (diff)
downloadports-83ab2ea2b9888af7715d0a7d60a2cd45900a0940.tar.gz
ports-83ab2ea2b9888af7715d0a7d60a2cd45900a0940.zip
Notes
Diffstat (limited to 'www/p5-Compress-LeadingBlankSpaces')
-rw-r--r--www/p5-Compress-LeadingBlankSpaces/Makefile22
-rw-r--r--www/p5-Compress-LeadingBlankSpaces/distinfo2
-rw-r--r--www/p5-Compress-LeadingBlankSpaces/pkg-descr20
-rw-r--r--www/p5-Compress-LeadingBlankSpaces/pkg-plist5
4 files changed, 49 insertions, 0 deletions
diff --git a/www/p5-Compress-LeadingBlankSpaces/Makefile b/www/p5-Compress-LeadingBlankSpaces/Makefile
new file mode 100644
index 000000000000..6f990df4ef07
--- /dev/null
+++ b/www/p5-Compress-LeadingBlankSpaces/Makefile
@@ -0,0 +1,22 @@
+# New ports collection makefile for: Compress::LeadingBlankSpaces
+# Date created: 25 May 2004
+# Whom: Bill Swingle <unfurl@freebsd.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Compress-LeadingBlankSpaces
+PORTVERSION= 0.04
+CATEGORIES= www perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Compress
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= unfurl@FreeBSD.org
+COMMENT= Perl class to compress leading blank spaces in web content
+
+PERL_CONFIGURE= yes
+
+MAN3= Compress::LeadingBlankSpaces.3
+
+.include <bsd.port.mk>
diff --git a/www/p5-Compress-LeadingBlankSpaces/distinfo b/www/p5-Compress-LeadingBlankSpaces/distinfo
new file mode 100644
index 000000000000..04fcd76f6519
--- /dev/null
+++ b/www/p5-Compress-LeadingBlankSpaces/distinfo
@@ -0,0 +1,2 @@
+MD5 (Compress-LeadingBlankSpaces-0.04.tar.gz) = ecb282cbd223510bc990fff02b2ff079
+SIZE (Compress-LeadingBlankSpaces-0.04.tar.gz) = 3720
diff --git a/www/p5-Compress-LeadingBlankSpaces/pkg-descr b/www/p5-Compress-LeadingBlankSpaces/pkg-descr
new file mode 100644
index 000000000000..f0d3f8816788
--- /dev/null
+++ b/www/p5-Compress-LeadingBlankSpaces/pkg-descr
@@ -0,0 +1,20 @@
+Compress::LeadingBlankSpaces - Perl class to compress leading blank
+spaces in (HTML, JavaScript, etc.) web content.
+
+This class provides the functionality for the most simple web content
+compression.
+
+Basically, the outgoing web content (HTML, JavaScript, etc.) contains
+a lot of leading blank spaces, because of being structured on
+development stage. Usually, the client browser ignores leading
+blank spaces. Indeed, the amount of those blank spaces is as
+significant as 10 to 20 percent of the length of regular web page.
+We can reduce this part of web traffic on busy servers with no
+visible impact on transferred web content, especially for old
+browsers incapable to understand modern content compression.
+
+The main functionality of this class is concentrated within the
+"squeeze_string" member function that is supposed to be used inside
+the data transfer loop on server side. The rest of the class is
+developed in order to serve possible exceptions, like pre-formatted
+data within HTML.
diff --git a/www/p5-Compress-LeadingBlankSpaces/pkg-plist b/www/p5-Compress-LeadingBlankSpaces/pkg-plist
new file mode 100644
index 000000000000..3538799b6553
--- /dev/null
+++ b/www/p5-Compress-LeadingBlankSpaces/pkg-plist
@@ -0,0 +1,5 @@
+%%SITE_PERL%%/Compress/LeadingBlankSpaces.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Compress/LeadingBlankSpaces/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Compress/LeadingBlankSpaces
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Compress 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/Compress 2>/dev/null || true