diff options
author | glarkin <glarkin@FreeBSD.org> | 2009-08-28 04:45:59 +0800 |
---|---|---|
committer | glarkin <glarkin@FreeBSD.org> | 2009-08-28 04:45:59 +0800 |
commit | 6da41b7599a3d617583b1e6d2d2b6592602085de (patch) | |
tree | 032f4d26cf79cea72cca7c9d91c027078978ea64 /devel | |
parent | 50a1e922d942a299b1fd51193f8ee721f164191f (diff) | |
download | freebsd-ports-gnome-6da41b7599a3d617583b1e6d2d2b6592602085de.tar.gz freebsd-ports-gnome-6da41b7599a3d617583b1e6d2d2b6592602085de.tar.zst freebsd-ports-gnome-6da41b7599a3d617583b1e6d2d2b6592602085de.zip |
Java has Castor, and now Perl has XML::Pastor!
If you know what Castor does in the Java world, then XML::Pastor
should be familiar to you. If you have a W3C XSD schema, you can
generate Perl classes with roundtrip XML bindings.
WWW: http://search.cpan.org/dist/XML-Pastor/
Diffstat (limited to 'devel')
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/p5-XML-Pastor/Makefile | 73 | ||||
-rw-r--r-- | devel/p5-XML-Pastor/distinfo | 3 | ||||
-rw-r--r-- | devel/p5-XML-Pastor/pkg-descr | 7 | ||||
-rw-r--r-- | devel/p5-XML-Pastor/pkg-plist | 46 |
5 files changed, 130 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index 2c6ced937eac..a2710c67d99c 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -2062,6 +2062,7 @@ SUBDIR += p5-WeakRef SUBDIR += p5-Workflow SUBDIR += p5-XML-Compile-Tester + SUBDIR += p5-XML-Pastor SUBDIR += p5-XSLoader SUBDIR += p5-Yada-Yada-Yada SUBDIR += p5-ZConf-GUI diff --git a/devel/p5-XML-Pastor/Makefile b/devel/p5-XML-Pastor/Makefile new file mode 100644 index 000000000000..7df53172b502 --- /dev/null +++ b/devel/p5-XML-Pastor/Makefile @@ -0,0 +1,73 @@ +# New ports collection makefile for: XML::Pastor +# Date created: 2009-08-27 +# Whom: Greg Larkin <glarkin@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= XML-Pastor +PORTVERSION= 1.0.3 +CATEGORIES= devel perl5 +MASTER_SITES= CPAN +PKGNAMEPREFIX= p5- + +MAINTAINER= glarkin@FreeBSD.org +COMMENT= Generate Perl classes with XML bindings from a W3C XSD schema + +BUILD_DEPENDS= p5-Class-Accessor>=0:${PORTSDIR}/devel/p5-Class-Accessor \ + p5-Class-Data-Inheritable>=0:${PORTSDIR}/devel/p5-Class-Data-Inheritable \ + p5-PathTools>=0:${PORTSDIR}/devel/p5-PathTools \ + p5-Data-Dumper>=0:${PORTSDIR}/devel/p5-Data-Dumper \ + p5-Data-HashArray>=0:${PORTSDIR}/devel/p5-Data-HashArray \ + p5-File-chdir>=0:${PORTSDIR}/devel/p5-File-chdir \ + p5-File-Path>=0:${PORTSDIR}/devel/p5-File-Path \ + p5-Getopt-Long>=0:${PORTSDIR}/devel/p5-Getopt-Long \ + p5-IO>=0:${PORTSDIR}/devel/p5-IO \ + p5-libwww>=0:${PORTSDIR}/www/p5-libwww \ + p5-MIME-Base64>=0:${PORTSDIR}/converters/p5-MIME-Base64 \ + p5-Pod-Parser>=0:${PORTSDIR}/textproc/p5-Pod-Parser \ + p5-Scalar-List-Utils>=0:${PORTSDIR}/lang/p5-Scalar-List-Utils \ + p5-URI>=0:${PORTSDIR}/net/p5-URI \ + p5-XML-LibXML>=0:${PORTSDIR}/textproc/p5-XML-LibXML +RUN_DEPENDS= ${BUILD_DEPENDS} + +MAN1= pastorize.1 + +MAN3= XML::Pastor.3 \ + XML::Pastor::Builtin.3 \ + XML::Pastor::Builtin::List.3 \ + XML::Pastor::Builtin::Numeric.3 \ + XML::Pastor::Builtin::Scalar.3 \ + XML::Pastor::Builtin::SimpleType.3 \ + XML::Pastor::Builtin::Union.3 \ + XML::Pastor::Builtin::base64Binary.3 \ + XML::Pastor::Builtin::boolean.3 \ + XML::Pastor::Builtin::date.3 \ + XML::Pastor::Builtin::dateTime.3 \ + XML::Pastor::Builtin::hexBinary.3 \ + XML::Pastor::ComplexType.3 \ + XML::Pastor::Generator.3 \ + XML::Pastor::Meta.3 \ + XML::Pastor::NodeArray.3 \ + XML::Pastor::Pastorize.3 \ + XML::Pastor::Schema::Attribute.3 \ + XML::Pastor::Schema::AttributeGroup.3 \ + XML::Pastor::Schema::ComplexType.3 \ + XML::Pastor::Schema::Documentation.3 \ + XML::Pastor::Schema::Element.3 \ + XML::Pastor::Schema::Group.3 \ + XML::Pastor::Schema::List.3 \ + XML::Pastor::Schema::Model.3 \ + XML::Pastor::Schema::NamespaceInfo.3 \ + XML::Pastor::Schema::Object.3 \ + XML::Pastor::Schema::Parser.3 \ + XML::Pastor::Schema::SimpleType.3 \ + XML::Pastor::Schema::Type.3 \ + XML::Pastor::Schema::Union.3 \ + XML::Pastor::SimpleType.3 \ + XML::Pastor::Stack.3 \ + XML::Pastor::Type.3 + +PERL_CONFIGURE= yes + +.include <bsd.port.mk> diff --git a/devel/p5-XML-Pastor/distinfo b/devel/p5-XML-Pastor/distinfo new file mode 100644 index 000000000000..2f598edae8b3 --- /dev/null +++ b/devel/p5-XML-Pastor/distinfo @@ -0,0 +1,3 @@ +MD5 (XML-Pastor-1.0.3.tar.gz) = 419a54a422a883d59925ea5723dd4ca1 +SHA256 (XML-Pastor-1.0.3.tar.gz) = 8ca5084da4cbf6c4a08ae4e8254299b893ae26590bbbe5d504288b15dba2e2e4 +SIZE (XML-Pastor-1.0.3.tar.gz) = 98991 diff --git a/devel/p5-XML-Pastor/pkg-descr b/devel/p5-XML-Pastor/pkg-descr new file mode 100644 index 000000000000..034ed4e6deba --- /dev/null +++ b/devel/p5-XML-Pastor/pkg-descr @@ -0,0 +1,7 @@ +Java has Castor, and now Perl has XML::Pastor! + +If you know what Castor does in the Java world, then XML::Pastor +should be familiar to you. If you have a W3C XSD schema, you can +generate Perl classes with roundtrip XML bindings. + +WWW: http://search.cpan.org/dist/XML-Pastor/ diff --git a/devel/p5-XML-Pastor/pkg-plist b/devel/p5-XML-Pastor/pkg-plist new file mode 100644 index 000000000000..8562fb4cb288 --- /dev/null +++ b/devel/p5-XML-Pastor/pkg-plist @@ -0,0 +1,46 @@ +bin/pastorize +%%SITE_PERL%%/XML/Pastor.pm +%%SITE_PERL%%/XML/Pastor/Builtin.pm +%%SITE_PERL%%/XML/Pastor/Builtin/List.pm +%%SITE_PERL%%/XML/Pastor/Builtin/Numeric.pm +%%SITE_PERL%%/XML/Pastor/Builtin/Scalar.pm +%%SITE_PERL%%/XML/Pastor/Builtin/SimpleType.pm +%%SITE_PERL%%/XML/Pastor/Builtin/Union.pm +%%SITE_PERL%%/XML/Pastor/Builtin/base64Binary.pm +%%SITE_PERL%%/XML/Pastor/Builtin/boolean.pm +%%SITE_PERL%%/XML/Pastor/Builtin/date.pm +%%SITE_PERL%%/XML/Pastor/Builtin/dateTime.pm +%%SITE_PERL%%/XML/Pastor/Builtin/hexBinary.pm +%%SITE_PERL%%/XML/Pastor/ComplexType.pm +%%SITE_PERL%%/XML/Pastor/Element.pm +%%SITE_PERL%%/XML/Pastor/Generator.pm +%%SITE_PERL%%/XML/Pastor/Meta.pm +%%SITE_PERL%%/XML/Pastor/NodeArray.pm +%%SITE_PERL%%/XML/Pastor/Pastorize.pm +%%SITE_PERL%%/XML/Pastor/Schema.pm +%%SITE_PERL%%/XML/Pastor/Schema/Attribute.pm +%%SITE_PERL%%/XML/Pastor/Schema/AttributeGroup.pm +%%SITE_PERL%%/XML/Pastor/Schema/ComplexType.pm +%%SITE_PERL%%/XML/Pastor/Schema/Context.pm +%%SITE_PERL%%/XML/Pastor/Schema/Documentation.pm +%%SITE_PERL%%/XML/Pastor/Schema/Element.pm +%%SITE_PERL%%/XML/Pastor/Schema/Group.pm +%%SITE_PERL%%/XML/Pastor/Schema/List.pm +%%SITE_PERL%%/XML/Pastor/Schema/Model.pm +%%SITE_PERL%%/XML/Pastor/Schema/NamespaceInfo.pm +%%SITE_PERL%%/XML/Pastor/Schema/Object.pm +%%SITE_PERL%%/XML/Pastor/Schema/Parser.pm +%%SITE_PERL%%/XML/Pastor/Schema/SimpleType.pm +%%SITE_PERL%%/XML/Pastor/Schema/Type.pm +%%SITE_PERL%%/XML/Pastor/Schema/Union.pm +%%SITE_PERL%%/XML/Pastor/SimpleType.pm +%%SITE_PERL%%/XML/Pastor/Stack.pm +%%SITE_PERL%%/XML/Pastor/Type.pm +%%SITE_PERL%%/XML/Pastor/Util.pm +%%SITE_PERL%%/%%PERL_ARCH%%/auto/XML/Pastor/.packlist +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/XML/Pastor +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/XML +@dirrm %%SITE_PERL%%/XML/Pastor/Schema +@dirrm %%SITE_PERL%%/XML/Pastor/Builtin +@dirrm %%SITE_PERL%%/XML/Pastor +@dirrmtry %%SITE_PERL%%/XML |