From c3aee8f7293b304981b37918faa720b308325f60 Mon Sep 17 00:00:00 2001 From: Sunpoet Po-Chuan Hsieh Date: Mon, 18 Nov 2013 19:27:31 +0000 Subject: [PATCH] - Add p5-XML-Declare 0.06 - While I'm here: - Add LICENSE - Fix *_DEPENDS - Convert to new Perl framework - Support STAGEDIR - Sort PLIST Create XML documents with declaration style. WWW: http://search.cpan.org/dist/XML-Declare/ PR: ports/180318 Submitted by: Anes Mukhametov --- textproc/Makefile | 1 + textproc/p5-XML-Declare/Makefile | 25 +++++++++++++++++++++++++ textproc/p5-XML-Declare/distinfo | 2 ++ textproc/p5-XML-Declare/pkg-descr | 3 +++ textproc/p5-XML-Declare/pkg-plist | 6 ++++++ 5 files changed, 37 insertions(+) create mode 100644 textproc/p5-XML-Declare/Makefile create mode 100644 textproc/p5-XML-Declare/distinfo create mode 100644 textproc/p5-XML-Declare/pkg-descr create mode 100644 textproc/p5-XML-Declare/pkg-plist diff --git a/textproc/Makefile b/textproc/Makefile index b6ddc157598a..1a29b20edbcf 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -920,6 +920,7 @@ SUBDIR += p5-XML-DOMHandler SUBDIR += p5-XML-DT SUBDIR += p5-XML-DTDParser + SUBDIR += p5-XML-Declare SUBDIR += p5-XML-Descent SUBDIR += p5-XML-DifferenceMarkup SUBDIR += p5-XML-Directory diff --git a/textproc/p5-XML-Declare/Makefile b/textproc/p5-XML-Declare/Makefile new file mode 100644 index 000000000000..52bfd3300e3b --- /dev/null +++ b/textproc/p5-XML-Declare/Makefile @@ -0,0 +1,25 @@ +# Created by: Anes Mukhametov +# $FreeBSD$ + +PORTNAME= XML-Declare +PORTVERSION= 0.06 +CATEGORIES= textproc perl5 +MASTER_SITES= CPAN +PKGNAMEPREFIX= p5- + +MAINTAINER= anes@anes.su +COMMENT= Create XML documents with declaration style + +LICENSE= ART10 GPLv1 +LICENSE_COMB= dual + +BUILD_DEPENDS= p5-XML-LibXML>=1.70:${PORTSDIR}/textproc/p5-XML-LibXML +RUN_DEPENDS:= ${BUILD_DEPENDS} +TEST_DEPENDS= p5-Test-NoWarnings>=0:${PORTSDIR}/devel/p5-Test-NoWarnings \ + p5-lib-abs>=0.90:${PORTSDIR}/devel/p5-lib-abs \ + p5-namespace-autoclean>=0:${PORTSDIR}/devel/p5-namespace-autoclean + +USE_PERL5= configure +USES= perl5 + +.include diff --git a/textproc/p5-XML-Declare/distinfo b/textproc/p5-XML-Declare/distinfo new file mode 100644 index 000000000000..e45b48b3dbf5 --- /dev/null +++ b/textproc/p5-XML-Declare/distinfo @@ -0,0 +1,2 @@ +SHA256 (XML-Declare-0.06.tar.gz) = 995c6037f09c874692a77fb8718f646968746548ed36c16ff1467b641f8085b2 +SIZE (XML-Declare-0.06.tar.gz) = 32065 diff --git a/textproc/p5-XML-Declare/pkg-descr b/textproc/p5-XML-Declare/pkg-descr new file mode 100644 index 000000000000..04f1e30f347f --- /dev/null +++ b/textproc/p5-XML-Declare/pkg-descr @@ -0,0 +1,3 @@ +Create XML documents with declaration style. + +WWW: http://search.cpan.org/dist/XML-Declare/ diff --git a/textproc/p5-XML-Declare/pkg-plist b/textproc/p5-XML-Declare/pkg-plist new file mode 100644 index 000000000000..5ab7fbb99413 --- /dev/null +++ b/textproc/p5-XML-Declare/pkg-plist @@ -0,0 +1,6 @@ +%%SITE_PERL%%/XML/Declare.pm +%%SITE_PERL%%/%%PERL_ARCH%%/auto/XML/Declare/.packlist +%%PERL5_MAN3%%/XML::Declare.3.gz +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/XML/Declare +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/XML +@dirrmtry %%SITE_PERL%%/XML