mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
Add p5-HTML-Clean 0.8, a perl module that cleans up HTML code for web
browsers, not humans. PR: 26213 Submitted by: Alex Kapranoff <kapr@crosswinds.net>
This commit is contained in:
parent
fff9aac6a7
commit
683d394f51
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=40608
6 changed files with 55 additions and 0 deletions
|
@ -168,6 +168,7 @@
|
|||
SUBDIR += p5-FastCGI
|
||||
SUBDIR += p5-GtkHTML
|
||||
SUBDIR += p5-HTML
|
||||
SUBDIR += p5-HTML-Clean
|
||||
SUBDIR += p5-HTML-Embperl
|
||||
SUBDIR += p5-HTML-Mason
|
||||
SUBDIR += p5-HTML-Navigation
|
||||
|
|
24
www/p5-HTML-Clean/Makefile
Normal file
24
www/p5-HTML-Clean/Makefile
Normal file
|
@ -0,0 +1,24 @@
|
|||
# New ports collection makefile for: p5-HTML-Clean
|
||||
# Date created: March 30th 2001
|
||||
# Whom: Alex Kapranoff <kapr@crosswinds.net>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= HTML-Clean
|
||||
PORTVERSION= 0.8
|
||||
CATEGORIES= www perl5
|
||||
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
|
||||
MASTER_SITE_SUBDIR= HTML
|
||||
PKGNAMEPREFIX= p5-
|
||||
|
||||
MAINTAINER= kapr@crosswinds.net
|
||||
|
||||
PERL_CONFIGURE= yes
|
||||
CONFIGURE_ARGS= INSTALLMAN1DIR=${MANPREFIX}/man/man1
|
||||
|
||||
MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
|
||||
MAN3= HTML::Clean.3
|
||||
MAN1= htmlclean.1
|
||||
|
||||
.include <bsd.port.mk>
|
1
www/p5-HTML-Clean/distinfo
Normal file
1
www/p5-HTML-Clean/distinfo
Normal file
|
@ -0,0 +1 @@
|
|||
MD5 (HTML-Clean-0.8.tar.gz) = ee562703b7700c7fd4173f355e83ec2c
|
1
www/p5-HTML-Clean/pkg-comment
Normal file
1
www/p5-HTML-Clean/pkg-comment
Normal file
|
@ -0,0 +1 @@
|
|||
Cleans up HTML code for web browsers, not humans
|
19
www/p5-HTML-Clean/pkg-descr
Normal file
19
www/p5-HTML-Clean/pkg-descr
Normal file
|
@ -0,0 +1,19 @@
|
|||
The majority of the web pages of the internet today are
|
||||
much larger than they need to be. The reason for this is
|
||||
that HTML tends to be stored in a human readable format, with
|
||||
indenting, newlines and comments.
|
||||
|
||||
However, all of these comments, whitespace etc. are ignored by
|
||||
the browser, and needlessly lengthen download times.
|
||||
|
||||
Second, many people are using WYSIWYG HTML editors these days.
|
||||
This makes creating content easy. However these editors can
|
||||
cause a number of compatibility problems by tying themselves to
|
||||
a particular browser or operating system.
|
||||
|
||||
The HTML::Clean module encapsulates a number of HTML optimizations
|
||||
and cleanups. The end result is HTML that loads faster, displays
|
||||
properly in more browsers. Think of it as a compiler that
|
||||
translates HTML input into optimized machine readable code.
|
||||
|
||||
-- Alex Kapranoff <kapr@crosswinds.net>
|
9
www/p5-HTML-Clean/pkg-plist
Normal file
9
www/p5-HTML-Clean/pkg-plist
Normal file
|
@ -0,0 +1,9 @@
|
|||
bin/htmlclean
|
||||
lib/perl5/site_perl/%%PERL_VER%%/HTML/Clean.pm
|
||||
@unexec rmdir lib/perl5/site_perl/%%PERL_VER%%/HTML 2>/dev/null || true
|
||||
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/HTML/Clean/.packlist
|
||||
@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/HTML/Clean
|
||||
@unexec rmdir lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/HTML 2>/dev/null|| true
|
||||
lib/perl5/site_perl/%%PERL_VER%%/auto/HTML/Clean/autosplit.ix
|
||||
@dirrm lib/perl5/site_perl/%%PERL_VER%%/auto/HTML/Clean
|
||||
@unexec rmdir lib/perl5/site_perl/%%PERL_VER%%/auto/HTML 2>/dev/null || true
|
Loading…
Add table
Reference in a new issue