pkgsrc/textproc/p5-podlators/Makefile

22 lines
563 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.8 2012/10/25 06:56:44 asau Exp $
Update p5-podlators to 2.4.0. Changes from previous: ---------------------- 2010-10-10 Russ Allbery <rra@stanford.edu> * VERSION: podlators 2.4.0 released. * scripts/pod2man: Remove the code to generate the #! line and supporting code and instead rely on ExtUtils::MakeMaker to handle that during package build. * scripts/pod2text: Likewise. * scripts/pod2man.PL: Renamed to pod2man. * scripts/pod2text.PL: Renamed to pod2text. * Makefile.PL: Remove PL_FILES section. * pod/perlpodstyle.pod: New style guide for POD documentation, split mostly from the NOTES section of the pod2man man page. * scripts/pod2man.PL: Remove NOTES section, now maintained as the separate perlpodstyle document. * Makefile.PL: Add perlpodstyle.1 to the generated man pages. * lib/Pod/Man.pm (cmd_para): Do not strip escaped trailing whitespace, such as that created by S<> at the end of a line, since the backslash is then taken by *roff as escaping the newline. Thanks, Kevin Ryde. * t/man.t: Test S<> at the end of lines. * lib/Pod/Man.pm (output): If the utf8 option is given, encode output in UTF-8 if there is no encoding layer. Now requires the Encode module. (start_document): Rather than forcibly change the PerlIO encoding layer, probe the PerlIO layers with protection for Perl versions without PerlIO and set a flag indicating whether to encode on the fly on output. * lib/Pod/Text.pm: Likewise. * Makefile.PL: Mark Encode as required. * t/man-perlio.t: Test Pod::Man output to a file handle with a PerlIO encoding layer already applied. * t/text-perlio.t: Likewise for Pod::Text.
2012-02-02 05:03:43 +01:00
DISTNAME= podlators-2.4.0
PKGNAME= p5-${DISTNAME}
PKGREVISION= 1
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Pod/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://search.cpan.org/dist/podlators/
COMMENT= Collection of pod related perl modules
Updating textproc/p5-podlators from 2.2.1 to 2.3.0 pkgsrc changes: - Adjusting dependencies according to META.yml - Adding license definition (perl license) Upstream changes: 2009-12-28 Russ Allbery <rra@stanford.edu> * VERSION: podlators 2.3.0 released. * Do not turn off IN_NAME for any formatting code. Suppress formatting if in the NAME section to not confuse lexgrog. * Test formatting codes in the NAME section. * Allow anchor text for URLs as well. Fix the check of the anchor text to not think no text was provided when the text was "0". * Test anchor text of "0" and anchor text with URLs. * Require Pod::Simple 3.06 or later for proper handling of L<> tags with anchor text. * Remove logic to skip an S<> test for Pod::Simple versions earlier than 3.06. * Support anchor text for L<> links of type URL by rendering the anchor text and then the URL in angle brackets. * Test rendering of L<> URL links with anchor text. * When formatting item tags, use the width of the tag without formatting codes. This does not change the output of Pod::Text but provides a hook for correct formatting in subclasses. * New function strip_format. * Test proper formatting of item tags which have formatting codes applied. * New test of Pod::Text::Overstrike. * Use Test::More for testing. Remove duplicate addition of ../blib/lib to the library search path. * Update to the current version of this test from C TAP Harness 1.1, converting it to use Test::More. 2009-06-15 Russ Allbery <rra@stanford.edu> * Unlink temporary files in a loop to be sure that all versions are deleted on VMS. Thanks, John E. Malmberg. 2009-03-29 Russ Allbery <rra@stanford.edu> * Escape backslashes in the quoted text of .IX macros generated from X<> formatting code. * Add test case for X<\n>. 2009-03-05 Russ Allbery <rra@stanford.edu> * Clarify that no markup should be used in the NAME section of a manual page. 2009-02-28 Russ Allbery <rra@stanford.edu> * Avoid POSIX::strftime because POSIX requires Fcntl, which is an XS module, and hence can't build in miniperl. This allows ExtUtils::MakeMaker to build as a normal module in Perl core. Thanks, Michael G Schwern. * Test that Pod::Man's devise_date method matches the output of strftime. * Don't exit IN_NAME mode because of a C<> block. Thanks, Niko Tyni. * Return an ASCII quoted string if in the NAME section to avoid confusing lexgrog. Thanks, Niko Tyni. * Test C<> in the NAME section. 2009-01-17 Russ Allbery <rra@stanford.edu> * VERSION: podlators 2.2.2 released. * New file testing Pod::Man options for changing the .TH line of the generated man page. * Correctly handle indentation of verbatim paragraphs that contain lines with only whitespace. Thanks, Renee Baecker. * Test for this fix.
2010-01-17 00:57:19 +01:00
LICENSE= ${PERL5_LICENSE}
Updating textproc/p5-podlators from 2.2.1 to 2.3.0 pkgsrc changes: - Adjusting dependencies according to META.yml - Adding license definition (perl license) Upstream changes: 2009-12-28 Russ Allbery <rra@stanford.edu> * VERSION: podlators 2.3.0 released. * Do not turn off IN_NAME for any formatting code. Suppress formatting if in the NAME section to not confuse lexgrog. * Test formatting codes in the NAME section. * Allow anchor text for URLs as well. Fix the check of the anchor text to not think no text was provided when the text was "0". * Test anchor text of "0" and anchor text with URLs. * Require Pod::Simple 3.06 or later for proper handling of L<> tags with anchor text. * Remove logic to skip an S<> test for Pod::Simple versions earlier than 3.06. * Support anchor text for L<> links of type URL by rendering the anchor text and then the URL in angle brackets. * Test rendering of L<> URL links with anchor text. * When formatting item tags, use the width of the tag without formatting codes. This does not change the output of Pod::Text but provides a hook for correct formatting in subclasses. * New function strip_format. * Test proper formatting of item tags which have formatting codes applied. * New test of Pod::Text::Overstrike. * Use Test::More for testing. Remove duplicate addition of ../blib/lib to the library search path. * Update to the current version of this test from C TAP Harness 1.1, converting it to use Test::More. 2009-06-15 Russ Allbery <rra@stanford.edu> * Unlink temporary files in a loop to be sure that all versions are deleted on VMS. Thanks, John E. Malmberg. 2009-03-29 Russ Allbery <rra@stanford.edu> * Escape backslashes in the quoted text of .IX macros generated from X<> formatting code. * Add test case for X<\n>. 2009-03-05 Russ Allbery <rra@stanford.edu> * Clarify that no markup should be used in the NAME section of a manual page. 2009-02-28 Russ Allbery <rra@stanford.edu> * Avoid POSIX::strftime because POSIX requires Fcntl, which is an XS module, and hence can't build in miniperl. This allows ExtUtils::MakeMaker to build as a normal module in Perl core. Thanks, Michael G Schwern. * Test that Pod::Man's devise_date method matches the output of strftime. * Don't exit IN_NAME mode because of a C<> block. Thanks, Niko Tyni. * Return an ASCII quoted string if in the NAME section to avoid confusing lexgrog. Thanks, Niko Tyni. * Test C<> in the NAME section. 2009-01-17 Russ Allbery <rra@stanford.edu> * VERSION: podlators 2.2.2 released. * New file testing Pod::Man options for changing the .TH line of the generated man page. * Correctly handle indentation of verbatim paragraphs that contain lines with only whitespace. Thanks, Renee Baecker. * Test for this fix.
2010-01-17 00:57:19 +01:00
DEPENDS+= p5-Pod-Simple>=3.06:../../textproc/p5-Pod-Simple
PKG_INSTALLATION_TYPES= overwrite pkgviews
PERL5_PACKLIST= auto/Pod/.packlist
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"