Importing textproc/p5-Pod-Abstract as dependency of upcoming Padre
import. POD::Abstract provides a means to load a POD (or POD compatible) document without direct reference to it's syntax, and perform manipulations on the abstract syntax tree. This can be used to support additional features for POD, to format output, to compile into alternative formats, etc. WHY? ==== If you've ever asked yourself "What does Pod do for me?", this module is intended to answer that question. While Pod looks like a simple format, the specification calls for a number of special cases to be handled, and that makes any software that works on Pod as text more complex than it needs to be. In addition to this, Pod does not lend itself to a natural structured model. This makes it difficult to manipulate without damaging the validity of the document. Pod::Abstract solves these problems by loading the document into a structured tree, and providing consistent traversal, searching, manpulation and re-serialisation. Pod related utilities are easy to write using Pod::Abstract.
This commit is contained in:
parent
714fae6aca
commit
2a3053f67a
3 changed files with 52 additions and 0 deletions
24
textproc/p5-Pod-Abstract/DESCR
Normal file
24
textproc/p5-Pod-Abstract/DESCR
Normal file
|
@ -0,0 +1,24 @@
|
|||
POD::Abstract provides a means to load a POD (or POD compatible) document
|
||||
without direct reference to it's syntax, and perform manipulations on the
|
||||
abstract syntax tree.
|
||||
|
||||
This can be used to support additional features for POD, to format output,
|
||||
to compile into alternative formats, etc.
|
||||
|
||||
WHY?
|
||||
====
|
||||
|
||||
If you've ever asked yourself "What does Pod do for me?", this module is
|
||||
intended to answer that question.
|
||||
|
||||
While Pod looks like a simple format, the specification calls for a number
|
||||
of special cases to be handled, and that makes any software that works on
|
||||
Pod as text more complex than it needs to be.
|
||||
|
||||
In addition to this, Pod does not lend itself to a natural structured model.
|
||||
This makes it difficult to manipulate without damaging the validity of the
|
||||
document.
|
||||
|
||||
Pod::Abstract solves these problems by loading the document into a structured
|
||||
tree, and providing consistent traversal, searching, manpulation and
|
||||
re-serialisation. Pod related utilities are easy to write using Pod::Abstract.
|
23
textproc/p5-Pod-Abstract/Makefile
Normal file
23
textproc/p5-Pod-Abstract/Makefile
Normal file
|
@ -0,0 +1,23 @@
|
|||
# $NetBSD: Makefile,v 1.1.1.1 2010/01/16 16:11:39 sno Exp $
|
||||
#
|
||||
|
||||
DISTNAME= Pod-Abstract-0.20
|
||||
PKGNAME= p5-${DISTNAME}
|
||||
CATEGORIES= textproc perl5
|
||||
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Pod/}
|
||||
|
||||
MAINTAINER= pkgsrc-users@NetBSD.org
|
||||
HOMEPAGE= http://search.cpan.org/dist/Pod-Abstract/
|
||||
COMMENT= Abstract document tree for Perl POD documents
|
||||
LICENSE= ${PERL5_LICENSE}
|
||||
|
||||
DEPENDS+= p5-IO-String-[0-9]*:../../devel/p5-IO-String
|
||||
DEPENDS+= p5-Task-Weaken-[0-9]*:../../devel/p5-Task-Weaken
|
||||
|
||||
PKG_DESTDIR_SUPPORT= user-destdir
|
||||
USE_LANGUAGES= # empty
|
||||
|
||||
PERL5_PACKLIST= auto/Pod/Abstract/.packlist
|
||||
|
||||
.include "../../lang/perl5/module.mk"
|
||||
.include "../../mk/bsd.pkg.mk"
|
5
textproc/p5-Pod-Abstract/distinfo
Normal file
5
textproc/p5-Pod-Abstract/distinfo
Normal file
|
@ -0,0 +1,5 @@
|
|||
$NetBSD: distinfo,v 1.1.1.1 2010/01/16 16:11:39 sno Exp $
|
||||
|
||||
SHA1 (Pod-Abstract-0.20.tar.gz) = 72081b82d4f57983edc037ad5395cbc76c7ab5b8
|
||||
RMD160 (Pod-Abstract-0.20.tar.gz) = e29693cb2e326109dfac215d9a63abe7457242bc
|
||||
Size (Pod-Abstract-0.20.tar.gz) = 27676 bytes
|
Loading…
Reference in a new issue