"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@
15 lines
306 B
Makefile
15 lines
306 B
Makefile
# $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>
|