summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorsno <sno@pkgsrc.org>2012-08-08 10:56:45 +0000
committersno <sno@pkgsrc.org>2012-08-08 10:56:45 +0000
commit3fcbd2cfb97d1368224450bd1bd1453ce36317bb (patch)
treec0b36e5136548da2cef300ab7d0435969e287bb7 /textproc
parentb93be48da49d2dc3c4644255e14dae80be5c00b1 (diff)
downloadpkgsrc-3fcbd2cfb97d1368224450bd1bd1453ce36317bb.tar.gz
Adding new package for Perl5 module Pod::Elemental version 0.102362 from
CPAN into textproc/p5-Pod-Elemental. Pod::Elemental is a system for treating a Pod (plain old documentation) documents as trees of elements. This model may be familiar from many other document systems, especially the HTML DOM. Pod::Elemental's document object model is much less sophisticated than the HTML DOM, but still makes a lot of document transformations easy. In general, you'll want to read in a Pod document and then perform a number of prepackaged transformations on it. The most common of these will be the Pod5 transformation, which assumes that the basic meaning of Pod commands described in the Perl 5 documentation hold: =begin, =end, and =for commands mark regions of the document, leading whitespace marks a verbatim paragraph, and so on. The Pod5 transformer also eliminates the need to track elements representing vertical whitespace.
Diffstat (limited to 'textproc')
-rw-r--r--textproc/p5-Pod-Elemental/DESCR13
-rw-r--r--textproc/p5-Pod-Elemental/Makefile34
-rw-r--r--textproc/p5-Pod-Elemental/distinfo5
3 files changed, 52 insertions, 0 deletions
diff --git a/textproc/p5-Pod-Elemental/DESCR b/textproc/p5-Pod-Elemental/DESCR
new file mode 100644
index 00000000000..0a956466822
--- /dev/null
+++ b/textproc/p5-Pod-Elemental/DESCR
@@ -0,0 +1,13 @@
+Pod::Elemental is a system for treating a Pod (plain old documentation)
+documents as trees of elements. This model may be familiar from many other
+document systems, especially the HTML DOM. Pod::Elemental's document object
+model is much less sophisticated than the HTML DOM, but still makes a lot
+of document transformations easy.
+
+In general, you'll want to read in a Pod document and then perform a number
+of prepackaged transformations on it. The most common of these will be the
+Pod5 transformation, which assumes that the basic meaning of Pod commands
+described in the Perl 5 documentation hold: =begin, =end, and =for commands
+mark regions of the document, leading whitespace marks a verbatim paragraph,
+and so on. The Pod5 transformer also eliminates the need to track elements
+representing vertical whitespace.
diff --git a/textproc/p5-Pod-Elemental/Makefile b/textproc/p5-Pod-Elemental/Makefile
new file mode 100644
index 00000000000..05ed5347138
--- /dev/null
+++ b/textproc/p5-Pod-Elemental/Makefile
@@ -0,0 +1,34 @@
+# $NetBSD: Makefile,v 1.1 2012/08/08 10:56:45 sno Exp $
+
+DISTNAME= Pod-Elemental-0.102362
+PKGNAME= p5-${DISTNAME}
+CATEGORIES= devel perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Pod/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://search.cpan.org/dist/Pod-Elemental/
+COMMENT= Perl5 module to work with nestable Pod elements
+LICENSE= ${PERL5_LICENSE}
+
+DEPENDS+= {perl>=5.10.1,p5-Encode-[0-9]*}:../../textproc/p5-Encode
+DEPENDS+= p5-Mixin-Linewise-[0-9]*:../../devel/p5-Mixin-Linewise
+DEPENDS+= p5-Moose>0.90:../../devel/p5-Moose
+DEPENDS+= p5-Moose-Autobox>=0.10:../../devel/p5-Moose-Autobox
+DEPENDS+= p5-MooseX-Types-[0-9]*:../../devel/p5-MooseX-Types
+DEPENDS+= p5-Pod-Eventual-[0-9]*:../../textproc/p5-Pod-Eventual
+DEPENDS+= p5-String-RewritePrefix-[0-9]*:../../textproc/p5-String-RewritePrefix
+DEPENDS+= p5-String-Truncate-[0-9]*:../../textproc/p5-String-Truncate
+DEPENDS+= p5-Sub-Exporter-[0-9]*:../../devel/p5-Sub-Exporter
+DEPENDS+= p5-Sub-Exporter-ForMethods-[0-9]*:../../devel/p5-Sub-Exporter-ForMethods
+DEPENDS+= p5-namespace-autoclean-[0-9]*:../../devel/p5-namespace-autoclean
+
+BUILDDEPENDS+= p5-Test-Deep-[0-9]*:../../devel/p5-Test-Deep
+BUILDDEPENDS+= p5-Test-Differences-[0-9]*:../../devel/p5-Test-Differences
+
+PKG_INSTALLATION_TYPES= overwrite pkgviews
+PKG_DESTDIR_SUPPORT= user-destdir
+
+PERL5_PACKLIST= auto/Pod/Elemental/.packlist
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/p5-Pod-Elemental/distinfo b/textproc/p5-Pod-Elemental/distinfo
new file mode 100644
index 00000000000..0cbe762011f
--- /dev/null
+++ b/textproc/p5-Pod-Elemental/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2012/08/08 10:56:45 sno Exp $
+
+SHA1 (Pod-Elemental-0.102362.tar.gz) = 2eba88e5ac4bea233a68b928e0a28c6c281ab1e3
+RMD160 (Pod-Elemental-0.102362.tar.gz) = 09c971d0b9bdfb7dac01ec044c39638cef63325b
+Size (Pod-Elemental-0.102362.tar.gz) = 30291 bytes