diff --git a/textproc/p5-XML-Writer/Makefile b/textproc/p5-XML-Writer/Makefile new file mode 100644 index 00000000000..e1361452a7e --- /dev/null +++ b/textproc/p5-XML-Writer/Makefile @@ -0,0 +1,19 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2001/01/05 18:14:09 avsm Exp $ + +DISTNAME= XML-Writer-0.4 +PKGNAME= p5-${DISTNAME} +CATEGORIES= textproc perl5 +NEED_VERSION= 1.348 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= XML + +MAINTAINER= Anil Madhavapeddy + +PERMIT_PACKAGE_CDROM= Yes +PERMIT_PACKAGE_FTP= Yes +PERMIT_DISTFILES_CDROM= Yes +PERMIT_DISTFILES_FTP= Yes + +CONFIGURE_STYLE= perl + +.include diff --git a/textproc/p5-XML-Writer/files/md5 b/textproc/p5-XML-Writer/files/md5 new file mode 100644 index 00000000000..36897922e1f --- /dev/null +++ b/textproc/p5-XML-Writer/files/md5 @@ -0,0 +1,3 @@ +MD5 (XML-Writer-0.4.tar.gz) = d07811beb3329ef6bbe7f50b52d242dd +RMD160 (XML-Writer-0.4.tar.gz) = 8cb8df7a01250627ab2ec9f7da49a3866e34ad71 +SHA1 (XML-Writer-0.4.tar.gz) = 05e1a02055ab5cc702f5c4ccdaeeb43fd2cfcf0c diff --git a/textproc/p5-XML-Writer/pkg/COMMENT b/textproc/p5-XML-Writer/pkg/COMMENT new file mode 100644 index 00000000000..49c71acc311 --- /dev/null +++ b/textproc/p5-XML-Writer/pkg/COMMENT @@ -0,0 +1 @@ +perl extension for writing XML documents diff --git a/textproc/p5-XML-Writer/pkg/DESCR b/textproc/p5-XML-Writer/pkg/DESCR new file mode 100644 index 00000000000..ecbd3ff0bed --- /dev/null +++ b/textproc/p5-XML-Writer/pkg/DESCR @@ -0,0 +1,19 @@ +XML::Writer is a helper module for Perl programs that write an XML +document. The module handles all escaping for attribute values and +character data and constructs different types of markup, such as +tags, comments, and processing instructions. + +By default, the module performs several well-formedness checks to +catch errors during output. This behaviour can be extremely useful +during development and debugging, but it can be turned off for +production-grade code. + +The module can operate either in regular mode in or Namespace +processing mode. In Namespace mode, the module will generate Namespace +Declarations itself, and will perform additional checks on the +output. + +Additional support is available for a simplified data mode with no +mixed content: newlines are automatically inserted around elements +and elements can optionally be indented based as their nesting +level. diff --git a/textproc/p5-XML-Writer/pkg/PLIST b/textproc/p5-XML-Writer/pkg/PLIST new file mode 100644 index 00000000000..453eb053793 --- /dev/null +++ b/textproc/p5-XML-Writer/pkg/PLIST @@ -0,0 +1,5 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2001/01/05 18:14:09 avsm Exp $ +libdata/perl5/site_perl/XML/Writer.pm +libdata/perl5/site_perl/${ARCH}-openbsd/auto/XML/Writer/.packlist +man/man3/XML::Writer.3p +@dirrm libdata/perl5/site_perl/${ARCH}-openbsd/auto/XML/Writer