aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorrafan <rafan@FreeBSD.org>2006-07-21 20:23:04 +0800
committerrafan <rafan@FreeBSD.org>2006-07-21 20:23:04 +0800
commit4e61d88d96c1cc397d3f907e5cb4e4a0e01bad7f (patch)
tree99cf3e9af8b0b4e52d958ce57755c4eee832fe0b /textproc
parentddbdaa833bb46684359d4e98bf43e4839534763e (diff)
downloadfreebsd-ports-gnome-4e61d88d96c1cc397d3f907e5cb4e4a0e01bad7f.tar.gz
freebsd-ports-gnome-4e61d88d96c1cc397d3f907e5cb4e4a0e01bad7f.tar.zst
freebsd-ports-gnome-4e61d88d96c1cc397d3f907e5cb4e4a0e01bad7f.zip
Add p5-CSS 1.07, object oriented access to Cascading Style Sheets (CSS).
PR: ports/100640 Submitted by: chinsan <chinsan.tw at gmail.com>
Diffstat (limited to 'textproc')
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/p5-CSS/Makefile32
-rw-r--r--textproc/p5-CSS/distinfo3
-rw-r--r--textproc/p5-CSS/pkg-descr5
-rw-r--r--textproc/p5-CSS/pkg-plist19
5 files changed, 60 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index c5acd61adca7..8cc8a2e7cd06 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -313,6 +313,7 @@
SUBDIR += p5-Bloom-Filter
SUBDIR += p5-CAM-PDF
SUBDIR += p5-CQL-Parser
+ SUBDIR += p5-CSS
SUBDIR += p5-CSS-SAC
SUBDIR += p5-CSS-Squish
SUBDIR += p5-CSS-Tiny
diff --git a/textproc/p5-CSS/Makefile b/textproc/p5-CSS/Makefile
new file mode 100644
index 000000000000..a161b8387f5c
--- /dev/null
+++ b/textproc/p5-CSS/Makefile
@@ -0,0 +1,32 @@
+# New ports collection makefile for: p5-CSS
+# Date created: 2006/07/21
+# Whom: chinsan <chinsan.tw@gmail.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= CSS
+PORTVERSION= 1.07
+CATEGORIES= textproc www perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= CSS
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= chinsan.tw@gmail.com
+COMMENT= Object oriented access to Cascading Style Sheets (CSS)
+
+BUILD_DEPENDS= p5-Parse-RecDescent>=1.94:${PORTSDIR}/devel/p5-Parse-RecDescent
+
+MAN3= CSS.3 CSS::Value.3 CSS::Parse::Compiled.3 CSS::Property.3 CSS::Parse::Heavy.3 \
+ CSS::Parse::PRDGrammar.3 CSS::Style.3 CSS::Parse::Lite.3 CSS::Selector.3 \
+ CSS::Adaptor::Debug.3 CSS::Adaptor::Pretty.3 CSS::Parse.3 CSS::Adaptor.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/distinfo b/textproc/p5-CSS/distinfo
new file mode 100644
index 000000000000..7d231c76674f
--- /dev/null
+++ b/textproc/p5-CSS/distinfo
@@ -0,0 +1,3 @@
+MD5 (CSS-1.07.tar.gz) = c4f08d2d2ab82c00b1a0d42754d9aef1
+SHA256 (CSS-1.07.tar.gz) = 3fc8f4176a25481f9e7f34162586b6f7db56117dd05ccf99529b7193df08326b
+SIZE (CSS-1.07.tar.gz) = 33782
diff --git a/textproc/p5-CSS/pkg-descr b/textproc/p5-CSS/pkg-descr
new file mode 100644
index 000000000000..bc0603b0f82f
--- /dev/null
+++ b/textproc/p5-CSS/pkg-descr
@@ -0,0 +1,5 @@
+This module can be used, along with a CSS::Parse::* module, to parse CSS
+data and represent it as a tree of objects. Using a CSS::Adaptor::* module,
+the CSS data tree can then be transformed into other formats.
+
+WWW: http://search.cpan.org/dist/CSS/
diff --git a/textproc/p5-CSS/pkg-plist b/textproc/p5-CSS/pkg-plist
new file mode 100644
index 000000000000..70ddd50fc642
--- /dev/null
+++ b/textproc/p5-CSS/pkg-plist
@@ -0,0 +1,19 @@
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/CSS/.packlist
+%%SITE_PERL%%/CSS.pm
+%%SITE_PERL%%/CSS/Value.pm
+%%SITE_PERL%%/CSS/Property.pm
+%%SITE_PERL%%/CSS/Style.pm
+%%SITE_PERL%%/CSS/Selector.pm
+%%SITE_PERL%%/CSS/Parse.pm
+%%SITE_PERL%%/CSS/Adaptor.pm
+%%SITE_PERL%%/CSS/Parse/Compiled.pm
+%%SITE_PERL%%/CSS/Parse/PRDGrammar.pm
+%%SITE_PERL%%/CSS/Parse/Heavy.pm
+%%SITE_PERL%%/CSS/Parse/Lite.pm
+%%SITE_PERL%%/CSS/Parse/CompiledGrammar.pm
+%%SITE_PERL%%/CSS/Adaptor/Debug.pm
+%%SITE_PERL%%/CSS/Adaptor/Pretty.pm
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/CSS
+@dirrmtry %%SITE_PERL%%/CSS/Parse
+@dirrmtry %%SITE_PERL%%/CSS/Adaptor
+@dirrmtry %%SITE_PERL%%/CSS