c7a700365b
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 (begining 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. The entire proces is configurable, so you can pick and choose what you want to clean.
21 lines
420 B
Makefile
21 lines
420 B
Makefile
# $OpenBSD: Makefile,v 1.1.1.1 2006/06/16 01:31:41 bernd Exp $
|
|
|
|
COMMENT= "cleans up HTML code for web browsers, not humans"
|
|
|
|
DISTNAME= HTML-Clean-0.8
|
|
PKGNAME= p5-${DISTNAME}
|
|
CATEGORIES= www perl5
|
|
|
|
# Artistic
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=HTML/}
|
|
|
|
CONFIGURE_STYLE= perl
|
|
PKG_ARCH= *
|
|
|
|
.include <bsd.port.mk>
|