Skip to content

Commit

Permalink
squish css imports together, jifty prereq
Browse files Browse the repository at this point in the history
  • Loading branch information
marcespie committed Nov 11, 2006
1 parent ad3a52c commit 81bc3d5
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 0 deletions.
20 changes: 20 additions & 0 deletions www/p5-CSS-Squish/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# $OpenBSD: Makefile,v 1.1.1.1 2006/11/11 18:19:41 espie Exp $

COMMENT= "compress CSS info for transmission"

DISTNAME= CSS-Squish-0.05
PKGNAME= p5-${DISTNAME}
CATEGORIES= www perl5

# perl
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes

MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=CSS/}
PKG_ARCH= *

CONFIGURE_STYLE=perl

.include <bsd.port.mk>
4 changes: 4 additions & 0 deletions www/p5-CSS-Squish/distinfo
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
MD5 (CSS-Squish-0.05.tar.gz) = 75c5731bf8b8a6fb783e8a68a7adb4c0
RMD160 (CSS-Squish-0.05.tar.gz) = e0c6ab7a869dcf14740c84993c3e0627e60df8b2
SHA1 (CSS-Squish-0.05.tar.gz) = b27c1a10b3879193d6b773b9e19c215fcce2c1a1
SIZE (CSS-Squish-0.05.tar.gz) = 6188
12 changes: 12 additions & 0 deletions www/p5-CSS-Squish/pkg/DESCR
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
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 future versions will include methods to compact
whitespace and other parts of the CSS itself, but this functionality is
not supported at the current time.
4 changes: 4 additions & 0 deletions www/p5-CSS-Squish/pkg/PLIST
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2006/11/11 18:19:41 espie Exp $
${P5SITE}/CSS/
${P5SITE}/CSS/Squish.pm
@man man/man3p/CSS::Squish.3p

0 comments on commit 81bc3d5

Please sign in to comment.