Changes between Version 10 and Version 11 of howto/cpan2port


Ignore:
Timestamp:
Jun 8, 2018, 7:06:42 AM (6 years ago)
Author:
chrstphrchvz (Christopher Chavez)
Comment:

suggest installing cpan2port from macports, use svn as alternative; remove mention of outdated Perl version (5.22) packages

Legend:

Unmodified
Added
Removed
Modified
  • howto/cpan2port

    v10 v11  
    44
    55 * Audience: Perl users
    6  * Requires the following MacPorts perl ports: p5-list-moreutils p5-cpan-meta p5-module-depends p5-cpan-meta-yaml. Note that perl 5.22 is the Macports default version, you can install them as follows:
    7 {{{
    8 port install p5.22-list-moreutils p5.22-cpan-meta p5.22-module-depends p5.22-cpan-meta-yaml
    9 }}}
     6 * Requires additional Perl modules (available as MacPorts perl ports: see step [#Step4:Getcpan2port Get cpan2port])
     7
    108
    119== Introduction ==
     
    5553This particular port actually is available, but we'll pretend it isn't.
    5654
    57 === Step 4: '''Create MacPorts directory ===
     55=== Step 4: '''Get cpan2port ===
     56Install using macports (will automatically install prerequisite Perl modules: p5-list-moreutils, p5-cpan-meta, p5-module-depends, p5-cpan-meta-yaml):
     57{{{
     58$ port install cpan2port
     59}}}
    5860
     61Or, from a system without macports:
    5962{{{
    6063$ mkdir ~/macports
     
    6366$ chmod u+x cpan2port
    6467}}}
     68Then install the Perl modules (from e.g. CPAN or package manager of choice): [https://metacpan.org/release/List-MoreUtils List::MoreUtils], [https://metacpan.org/release/CPAN-Meta CPAN::Meta], [https://metacpan.org/release/Module-Depends Module::Depends], [https://metacpan.org/release/CPAN-Meta-YAML CPAN::Meta::YAML]
    6569
    6670=== Step 5: '''Create the port file''' ===
    6771{{{
    68 $ ./cpan2port -t Date::Parse
     72$ cpan2port -t Date::Parse
    6973[...]
    7074TimeDate-1.20/