diff options
-rw-r--r-- | textproc/Makefile | 1 | ||||
-rw-r--r-- | textproc/p5-CSS-SAC/Makefile | 40 | ||||
-rw-r--r-- | textproc/p5-CSS-SAC/distinfo | 1 | ||||
-rw-r--r-- | textproc/p5-CSS-SAC/pkg-comment | 1 | ||||
-rw-r--r-- | textproc/p5-CSS-SAC/pkg-descr | 13 | ||||
-rw-r--r-- | textproc/p5-CSS-SAC/pkg-plist | 30 |
6 files changed, 86 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile index e25521d0664c..ec4461bf52eb 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -121,6 +121,7 @@ SUBDIR += openjade SUBDIR += opensched SUBDIR += orchard-c + SUBDIR += p5-CSS-SAC SUBDIR += p5-Data-FormValidator SUBDIR += p5-DelimMatch SUBDIR += p5-FreeBSD-Ports diff --git a/textproc/p5-CSS-SAC/Makefile b/textproc/p5-CSS-SAC/Makefile new file mode 100644 index 000000000000..48b95ba7b4b5 --- /dev/null +++ b/textproc/p5-CSS-SAC/Makefile @@ -0,0 +1,40 @@ +# New ports collection makefile for: CSS-SAC +# Date created: 07 July 2002 +# Whom: Sergey Skvortsov <skv@protey.ru> +# +# $FreeBSD$ +# + +PORTNAME= CSS-SAC +PORTVERSION= 0.04 +CATEGORIES= textproc perl5 www +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= CSS +PKGNAMEPREFIX= p5- + +MAINTAINER= skv@FreeBSD.org + +BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Text/Balanced.pm:${PORTSDIR}/textproc/p5-Text-Balanced \ + ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Class/ArrayObjects.pm:${PORTSDIR}/devel/p5-Class-ArrayObjects +RUN_DEPENDS= ${BUILD_DEPENDS} + +PERL_CONFIGURE= yes + +MAN3= CSS::SAC.3 CSS::SAC::Condition.3 \ + CSS::SAC::Condition::Attribute.3 \ + CSS::SAC::Condition::Combinator.3 \ + CSS::SAC::Condition::Content.3 CSS::SAC::Condition::Lang.3 \ + CSS::SAC::Condition::Negative.3 \ + CSS::SAC::Condition::Positional.3 CSS::SAC::ConditionFactory.3 \ + CSS::SAC::LexicalUnit.3 CSS::SAC::Selector.3 \ + CSS::SAC::Selector::CharacterData.3 \ + CSS::SAC::Selector::Conditional.3 \ + CSS::SAC::Selector::Descendant.3 CSS::SAC::Selector::Element.3 \ + CSS::SAC::Selector::Negative.3 \ + CSS::SAC::Selector::ProcessingInstruction.3 \ + CSS::SAC::Selector::Sibling.3 CSS::SAC::Selector::Simple.3 \ + CSS::SAC::SelectorFactory.3 CSS::SAC::SelectorList.3 \ + CSS::SAC::TestWriter.3 CSS::SAC::Writer.3 +MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} + +.include <bsd.port.mk> diff --git a/textproc/p5-CSS-SAC/distinfo b/textproc/p5-CSS-SAC/distinfo new file mode 100644 index 000000000000..3dc10c51753e --- /dev/null +++ b/textproc/p5-CSS-SAC/distinfo @@ -0,0 +1 @@ +MD5 (CSS-SAC-0.04.tar.gz) = de16aa19c30cda30f59df472c3fca69e diff --git a/textproc/p5-CSS-SAC/pkg-comment b/textproc/p5-CSS-SAC/pkg-comment new file mode 100644 index 000000000000..de81c5a85343 --- /dev/null +++ b/textproc/p5-CSS-SAC/pkg-comment @@ -0,0 +1 @@ +SAC CSS (Simple API for CSS) parser diff --git a/textproc/p5-CSS-SAC/pkg-descr b/textproc/p5-CSS-SAC/pkg-descr new file mode 100644 index 000000000000..ec4b6d92963e --- /dev/null +++ b/textproc/p5-CSS-SAC/pkg-descr @@ -0,0 +1,13 @@ +SAC (Simple API for CSS) is an event-based API much like SAX for XML. +If you are familiar with the latter, you should have little trouble +getting used to SAC. More information on SAC can be found online at +http://www.w3.org/TR/SAC. + +CSS having more constructs than XML, core SAC is still more complex than +core SAX. However, if you need to parse a CSS style sheet, SAC probably +remains the easiest way to get it done. + +WWW: http://search.cpan.org/search?dist=CSS-SAC + +-- Sergey Skvortsov +skv@FreeBSD.org diff --git a/textproc/p5-CSS-SAC/pkg-plist b/textproc/p5-CSS-SAC/pkg-plist new file mode 100644 index 000000000000..fe372fff15c1 --- /dev/null +++ b/textproc/p5-CSS-SAC/pkg-plist @@ -0,0 +1,30 @@ +lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/CSS/SAC/.packlist +lib/perl5/site_perl/%%PERL_VER%%/CSS/SAC.pm +lib/perl5/site_perl/%%PERL_VER%%/CSS/SAC/Condition.pm +lib/perl5/site_perl/%%PERL_VER%%/CSS/SAC/Condition/Attribute.pm +lib/perl5/site_perl/%%PERL_VER%%/CSS/SAC/Condition/Combinator.pm +lib/perl5/site_perl/%%PERL_VER%%/CSS/SAC/Condition/Content.pm +lib/perl5/site_perl/%%PERL_VER%%/CSS/SAC/Condition/Lang.pm +lib/perl5/site_perl/%%PERL_VER%%/CSS/SAC/Condition/Negative.pm +lib/perl5/site_perl/%%PERL_VER%%/CSS/SAC/Condition/Positional.pm +lib/perl5/site_perl/%%PERL_VER%%/CSS/SAC/ConditionFactory.pm +lib/perl5/site_perl/%%PERL_VER%%/CSS/SAC/LexicalUnit.pm +lib/perl5/site_perl/%%PERL_VER%%/CSS/SAC/Selector.pm +lib/perl5/site_perl/%%PERL_VER%%/CSS/SAC/Selector/CharacterData.pm +lib/perl5/site_perl/%%PERL_VER%%/CSS/SAC/Selector/Conditional.pm +lib/perl5/site_perl/%%PERL_VER%%/CSS/SAC/Selector/Descendant.pm +lib/perl5/site_perl/%%PERL_VER%%/CSS/SAC/Selector/Element.pm +lib/perl5/site_perl/%%PERL_VER%%/CSS/SAC/Selector/Negative.pm +lib/perl5/site_perl/%%PERL_VER%%/CSS/SAC/Selector/ProcessingInstruction.pm +lib/perl5/site_perl/%%PERL_VER%%/CSS/SAC/Selector/Sibling.pm +lib/perl5/site_perl/%%PERL_VER%%/CSS/SAC/Selector/Simple.pm +lib/perl5/site_perl/%%PERL_VER%%/CSS/SAC/SelectorFactory.pm +lib/perl5/site_perl/%%PERL_VER%%/CSS/SAC/SelectorList.pm +lib/perl5/site_perl/%%PERL_VER%%/CSS/SAC/TestWriter.pm +lib/perl5/site_perl/%%PERL_VER%%/CSS/SAC/Writer.pm +@dirrm lib/perl5/site_perl/%%PERL_VER%%/CSS/SAC/Condition +@dirrm lib/perl5/site_perl/%%PERL_VER%%/CSS/SAC/Selector +@dirrm lib/perl5/site_perl/%%PERL_VER%%/CSS/SAC +@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/CSS/SAC +@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/CSS 2>/dev/null || true +@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/CSS 2>/dev/null || true |