1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-30 05:40:06 +00:00

- Add p5-SVG-Parser 1.03

SVG::Parser is an XML parser for SVG Documents. It takes XML as input and
produces an SVG object as its output.

SVG::Parser supports both XML::SAX and XML::Parser (Expat) parsers, with SAX
preferred by default. Only one of these needs to be installed for SVG::Parser to
function.

A list of preferred parsers may be specified in the import list - SVG::Parser
will use the first parser that successfully loads. Some basic measures are taken
to provide cross-compatability. Applications requiring more advanced parser
features should use the relevant parser module directly; see SVG::Parser::Expat
and SVG::Parser::SAX.

WWW: http://search.cpan.org/dist/SVG-Parser/
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2011-09-29 01:48:26 +00:00
parent 0fb19bb36b
commit 8318c72e2c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=282594
5 changed files with 56 additions and 0 deletions

View File

@ -672,6 +672,7 @@
SUBDIR += p5-SGMLSpm
SUBDIR += p5-SQL-Tokenizer
SUBDIR += p5-SVG
SUBDIR += p5-SVG-Parser
SUBDIR += p5-Search-Estraier
SUBDIR += p5-Search-Odeum
SUBDIR += p5-Search-Saryer

View File

@ -0,0 +1,31 @@
# New ports collection makefile for: p5-SVG-Parser
# Date created: 2011-09-29
# Whom: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= SVG-Parser
PORTVERSION= 1.03
CATEGORIES= textproc graphics perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= XML Parser for SVG documents
BUILD_DEPENDS= p5-SVG>=2:${PORTSDIR}/textproc/p5-SVG \
p5-XML-Parser>=0:${PORTSDIR}/textproc/p5-XML-Parser \
p5-XML-SAX>=0:${PORTSDIR}/textproc/p5-XML-SAX
RUN_DEPENDS= p5-SVG>=2:${PORTSDIR}/textproc/p5-SVG \
p5-XML-Parser>=0:${PORTSDIR}/textproc/p5-XML-Parser \
p5-XML-SAX>=0:${PORTSDIR}/textproc/p5-XML-SAX
PERL_MODBUILD= yes
MAN3= SVG::Parser.3 \
SVG::Parser::Expat.3 \
SVG::Parser::SAX.3 \
SVG::Parser::SAX::Handler.3
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
SHA256 (SVG-Parser-1.03.tar.gz) = 6c8c9117795f240cfe33a8e8345a0f7f220f89e259a604f148d204c7758cfbe1
SIZE (SVG-Parser-1.03.tar.gz) = 15304

View File

@ -0,0 +1,14 @@
SVG::Parser is an XML parser for SVG Documents. It takes XML as input and
produces an SVG object as its output.
SVG::Parser supports both XML::SAX and XML::Parser (Expat) parsers, with SAX
preferred by default. Only one of these needs to be installed for SVG::Parser to
function.
A list of preferred parsers may be specified in the import list - SVG::Parser
will use the first parser that successfully loads. Some basic measures are taken
to provide cross-compatability. Applications requiring more advanced parser
features should use the relevant parser module directly; see SVG::Parser::Expat
and SVG::Parser::SAX.
WWW: http://search.cpan.org/dist/SVG-Parser/

View File

@ -0,0 +1,8 @@
%%SITE_PERL%%/SVG/Parser.pm
%%SITE_PERL%%/SVG/Parser/Base.pm
%%SITE_PERL%%/SVG/Parser/Expat.pm
%%SITE_PERL%%/SVG/Parser/SAX.pm
%%SITE_PERL%%/SVG/Parser/SAX/Handler.pm
@dirrm %%SITE_PERL%%/SVG/Parser/SAX
@dirrm %%SITE_PERL%%/SVG/Parser
@dirrmtry %%SITE_PERL%%/SVG