Adding port textproc/p5-CSS-Squish, Compact many CSS files into one big

file.

Approved by:	tobez (implicit)
This commit is contained in:
Aaron Dalton 2006-06-19 05:15:55 +00:00
parent 4972ae65f2
commit 6d8c618d09
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=165731
5 changed files with 54 additions and 0 deletions

View file

@ -308,6 +308,7 @@
SUBDIR += p5-Bloom-Filter
SUBDIR += p5-CQL-Parser
SUBDIR += p5-CSS-SAC
SUBDIR += p5-CSS-Squish
SUBDIR += p5-CSS-Tiny
SUBDIR += p5-Chess-PGN-Parse
SUBDIR += p5-Data-FormValidator

View file

@ -0,0 +1,30 @@
# New ports collection makefile for: p5-CSS-Squish
# Date created: 18 Jun 2006
# Whom: Aaron Dalton <aaron@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= CSS-Squish
PORTVERSION= 0.04
CATEGORIES= textproc www perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= CSS
PKGNAMEPREFIX= p5-
MAINTAINER= aaron@FreeBSD.org
COMMENT= Compact many CSS files into one big file
BUILD_DEPENDS= p5-Test-LongString>0:${PORTSDIR}/devel/p5-Test-LongString
MAN3= CSS::Squish.3
PERL_CONFIGURE= yes
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500600
IGNORE= requires at least Perl 5.6. Please install lang/perl5.8 and try again
.endif
.include <bsd.port.post.mk>

View file

@ -0,0 +1,3 @@
MD5 (CSS-Squish-0.04.tar.gz) = 38691dce4970574b71ab33558e1ffe44
SHA256 (CSS-Squish-0.04.tar.gz) = ae5408d952c257171929a42989708d6849a993a818c4010b1fd2bf922e06faeb
SIZE (CSS-Squish-0.04.tar.gz) = 5799

View file

@ -0,0 +1,15 @@
This module takes a list of CSS files and concatenates them, making sure
to honor any valid @import statements included in the files.
Following the CSS 2.1 spec, @import statements must be the first rules in
a CSS file. Media-specific @import statements will be honored by enclosing
the included file in an @media rule. This has the side effect of actually
improving compatibility in Internet Explorer, which ignores media-specific
@import rules but understands @media rules.
It is possible that feature versions will include methods to compact
whitespace and other parts of the CSS itself, but this functionality is
not supported at the current time.
WWW: http://search.cpan.org/dist/CSS-Squish
Author: Thomas Sibley <trs@bestpractical.com>

View file

@ -0,0 +1,5 @@
%%SITE_PERL%%/CSS/Squish.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/CSS/Squish/.packlist
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/CSS/Squish
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/CSS
@dirrmtry %%SITE_PERL%%/CSS