Changes between Version 16 and Version 17 of howto/cpan2port
- Timestamp:
- Feb 26, 2019, 6:10:17 PM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
howto/cpan2port
v16 v17 53 53 This particular port actually is available, but we'll pretend it isn't. 54 54 55 === Step 4: '''Get cpan2port === 55 === Step 4: '''Read up on local port repositories''' === 56 57 [http://guide.macports.org/chunked/development.local-repositories.html] 58 59 === Step 5: '''Get cpan2port === 56 60 Install using macports (will automatically install prerequisite Perl modules: p5-list-moreutils, p5-cpan-meta, p5-module-depends, p5-cpan-meta-yaml): 57 61 {{{ … … 68 72 Then 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] 69 73 70 === Step 5: '''Create the port file''' ===74 === Step 6: '''Create the port file''' === 71 75 {{{ 72 76 $ cd ~ … … 86 90 }}} 87 91 88 === Step 6: '''Build the port''' ===92 === Step 7: '''Build the port''' === 89 93 First you can review the portfile: 90 94 {{{ … … 122 126 }}} 123 127 124 === Step 7: '''Fix the Portfile''' ===128 === Step 8: '''Fix the Portfile''' === 125 129 126 130 The Portfile as generated is in rough form and not ready for submission as a new or updated port. Please at least check and update the following in the Portfile: … … 150 154 }}} 151 155 152 === Step 8: '''Read up on local port repositories''' ===153 154 [http://guide.macports.org/chunked/development.local-repositories.html]155 156 156 ---- 157 157