pkgsrc/textproc/p5-Pod-Markdown/Makefile
wen e0c074f633 Update to 3.003
Upstream changes:
3.003     2015-09-28T00:29:45Z

  - Bump Pod::Simple prereq to fix bugs that were causing test failures.
  - Use Pod::Simple's nbsp_for_S(1) by default instead of handling S<> sequences internally.
    This means the feature can now also be disabled if desired.
  - Portability improvements for non-ascii platforms.

3.002     2015-08-21T03:24:24Z

  - Add attribution to changelog.

3.001     2015-08-21T03:17:57Z

  - Increase Pod::Simple requirement to 3.26 for detected_encoding().
    Thanks to Lee J for reporting! (gh-15).

3.000     2015-08-16T21:55:14Z

  [Bug Fixes]
  - Literal ampersands and left angle brackets are encoded as html entities
    when necessary to avoid interpretation as html.
    http://stackoverflow.com/questions/28496298/escape-angle-brackets-using-podmarkdown

  [API Changes]
  - Make accessors read/write (instead of read-only)
    for consistency with Pod::Simple classes.
  - Passing unknown arguments to the constructor now produces a warning
    and in the future may throw an error.
  - For consistency with the other html-entity changes, NBSP characters (U+00A0)
    are now used literally for S<> sequences.
    This also fixes a bug with code spans nested inside of S<> sequences.

  [New Attributes]
  - Add `html_encode_chars` attribute to allow customizing what characters
    should be html entity encoded.
  - Add `match_encoding` attribute to use the same encoding as the input pod
    when writing to the output handle.
  - Add `output_encoding` attribute to specify the desired encoding
    to apply to the output handle.

  [pod2markdown script]
  - Add command line options corresponding to new module attributes.
  - The script now defaults to UTF-8 encoding if no encoding options are specified.
    Previous versions did not produce consistent output and would sometimes emit warnings.
    Closes gh-14 and rt-101536.

  [Documentation]
  - Remove documentation for deprecated API
    (parse_from_file(), parse_from_filehandle(), and as_markdown())
    to further discourage use.

  [New Packages]
  - Added Pod::Perldoc::ToMarkdown to enable `perldoc -o Markdown ...`
    Pod::Markdown maintains a backward compatible interface that is incompatible
    with perldoc's `-o` so this module has been added to enable the functionality.
    Thanks to Alberto Sim繭es for investigating (gh-12) and providing some code to fix it (gh-13).
2015-10-17 12:39:25 +00:00

22 lines
613 B
Makefile

# $NetBSD: Makefile,v 1.7 2015/10/17 12:39:25 wen Exp $
#
DISTNAME= Pod-Markdown-3.003
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-Markdown/
COMMENT= Convert POD to Markdown
LICENSE= ${PERL5_LICENSE}
USE_LANGUAGES= # empty
BUILD_DEPENDS+= p5-Test-Differences-[0-9]*:../../devel/p5-Test-Differences
BUILD_DEPENDS+= p5-Text-Diff-[0-9]*:../../textproc/p5-Text-Diff
PERL5_PACKLIST= auto/Pod/Markdown/.packlist
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"