[MacPorts] howto/cpan2port modified
MacPorts Wiki
noreply at macports.org
Tue Feb 26 18:10:18 UTC 2019
Page "howto/cpan2port" was changed by hyperbole
Diff URL: <https://trac.macports.org/wiki/howto/cpan2port?action=diff&version=17>
Revision 17
Changes:
-------8<------8<------8<------8<------8<------8<------8<------8<--------
Index: howto/cpan2port
=========================================================================
--- howto/cpan2port (version: 16)
+++ howto/cpan2port (version: 17)
@@ -52,7 +52,11 @@
This particular port actually is available, but we'll pretend it isn't.
-=== Step 4: '''Get cpan2port ===
+=== Step 4: '''Read up on local port repositories''' ===
+
+[http://guide.macports.org/chunked/development.local-repositories.html]
+
+=== Step 5: '''Get cpan2port ===
Install using macports (will automatically install prerequisite Perl modules: p5-list-moreutils, p5-cpan-meta, p5-module-depends, p5-cpan-meta-yaml):
{{{
$ sudo port install cpan2port
@@ -67,7 +71,7 @@
}}}
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]
-=== Step 5: '''Create the port file''' ===
+=== Step 6: '''Create the port file''' ===
{{{
$ cd ~
$ mkdir ports
@@ -85,7 +89,7 @@
creating perl/p5-timedate/Portfile
}}}
-=== Step 6: '''Build the port''' ===
+=== Step 7: '''Build the port''' ===
First you can review the portfile:
{{{
$ cd perl/p5-timedate
@@ -121,7 +125,7 @@
---> Building p5-timedate
}}}
-=== Step 7: '''Fix the Portfile''' ===
+=== Step 8: '''Fix the Portfile''' ===
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:
@@ -149,10 +153,6 @@
perl5.branches 5.26
}}}
-=== Step 8: '''Read up on local port repositories''' ===
-
-[http://guide.macports.org/chunked/development.local-repositories.html]
-
----
[wiki:howto <- Back to the HOWTO section]
-------8<------8<------8<------8<------8<------8<------8<------8<--------
--
Page URL: <https://trac.macports.org/wiki/howto/cpan2port>
MacPorts <https://www.macports.org/>
Ports system for macOS
This is an automated message. Someone added your email address to be
notified of changes on 'howto/cpan2port' page.
If it was not you, please report to admin at macports.org.
More information about the macports-changes
mailing list