Import textproc/p5-Pod-Cpandoc 0.15

"cpandoc" is a perl script that acts like "perldoc" except that if it
would have bailed out with "No documentation found for
"Uninstalled::Module"", it will instead scrape a CPAN index for the
module's documentation.

One important feature of "cpandoc" is that it *only* scrapes the live
index if you do not have the module installed. So if you use "cpandoc"
on a module you already have installed, then it will just read the
already-installed documentation. This means that the version of the
documentation matches up with the version of the code you have. As a
fringe benefit, "cpandoc" will be fast for modules you've installed. :)

OK sthen@
This commit is contained in:
afresh1 2015-07-03 19:23:08 +00:00
parent 02774b1506
commit be4df3d52c
4 changed files with 33 additions and 0 deletions

View File

@ -0,0 +1,14 @@
# $OpenBSD: Makefile,v 1.1.1.1 2015/07/03 19:23:08 afresh1 Exp $
COMMENT = perldoc that works for modules you don't have installed
DISTNAME = Pod-Cpandoc-0.15
CATEGORIES = textproc
MAINTAINER = Andrew Fresh <afresh1@openbsd.org>
# Perl
PERMIT_PACKAGE_CDROM = Yes
MODULES = cpan
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
SHA256 (Pod-Cpandoc-0.15.tar.gz) = gv09KNFcYvIY0zmEasydIVoAj4lZw5GRWPKUWgwZ28w=
SIZE (Pod-Cpandoc-0.15.tar.gz) = 23627

View File

@ -0,0 +1,11 @@
"cpandoc" is a perl script that acts like "perldoc" except that if it
would have bailed out with "No documentation found for
"Uninstalled::Module"", it will instead scrape a CPAN index for the
module's documentation.
One important feature of "cpandoc" is that it *only* scrapes the live
index if you do not have the module installed. So if you use "cpandoc"
on a module you already have installed, then it will just read the
already-installed documentation. This means that the version of the
documentation matches up with the version of the code you have. As a
fringe benefit, "cpandoc" will be fast for modules you've installed. :)

View File

@ -0,0 +1,6 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2015/07/03 19:23:08 afresh1 Exp $
bin/cpandoc
${P5SITE}/Pod/
${P5SITE}/Pod/Cpandoc.pm
@man man/man1/cpandoc.1
@man man/man3p/Pod::Cpandoc.3p