summaryrefslogtreecommitdiff
path: root/textproc/p5-CSS-Squish
diff options
context:
space:
mode:
authorAaron Dalton <aaron@FreeBSD.org>2006-06-19 05:15:55 +0000
committerAaron Dalton <aaron@FreeBSD.org>2006-06-19 05:15:55 +0000
commit6d8c618d09190dfdc5e4fe868cc182289e9b6dac (patch)
tree4584a638f709ead94e85df3d8af7626a819c38bb /textproc/p5-CSS-Squish
parentUnquote BROKEN to please portlint(1). (diff)
Adding port textproc/p5-CSS-Squish, Compact many CSS files into one big
file. Approved by: tobez (implicit)
Notes
Notes: svn path=/head/; revision=165731
Diffstat (limited to 'textproc/p5-CSS-Squish')
-rw-r--r--textproc/p5-CSS-Squish/Makefile30
-rw-r--r--textproc/p5-CSS-Squish/distinfo3
-rw-r--r--textproc/p5-CSS-Squish/pkg-descr15
-rw-r--r--textproc/p5-CSS-Squish/pkg-plist5
4 files changed, 53 insertions, 0 deletions
diff --git a/textproc/p5-CSS-Squish/Makefile b/textproc/p5-CSS-Squish/Makefile
new file mode 100644
index 000000000000..08a850e0f114
--- /dev/null
+++ b/textproc/p5-CSS-Squish/Makefile
@@ -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>
diff --git a/textproc/p5-CSS-Squish/distinfo b/textproc/p5-CSS-Squish/distinfo
new file mode 100644
index 000000000000..d800c1b0d83a
--- /dev/null
+++ b/textproc/p5-CSS-Squish/distinfo
@@ -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
diff --git a/textproc/p5-CSS-Squish/pkg-descr b/textproc/p5-CSS-Squish/pkg-descr
new file mode 100644
index 000000000000..a2caf5ef3d7b
--- /dev/null
+++ b/textproc/p5-CSS-Squish/pkg-descr
@@ -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>
diff --git a/textproc/p5-CSS-Squish/pkg-plist b/textproc/p5-CSS-Squish/pkg-plist
new file mode 100644
index 000000000000..08dd4ba19811
--- /dev/null
+++ b/textproc/p5-CSS-Squish/pkg-plist
@@ -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