[MacPorts] Notification: howto/Upgrade modified

MacPorts noreply at macports.org
Sun Jul 13 14:28:14 PDT 2008



Changed page "howto/Upgrade" by raimue at macports.org from 91.11.226.71*
Page URL: <http://trac.macports.org/wiki/howto/Upgrade>
Diff URL: <http://trac.macports.org/wiki/howto/Upgrade?action=diff&version=2>
Revision 2

-------8<------8<------8<------8<------8<------8<------8<------8<--------
Index: howto/Upgrade
=========================================================================
--- howto/Upgrade (version: 1)
+++ howto/Upgrade (version: 2)
@@ -32,7 +32,11 @@
 }}}
 to edit the Portfile for the given port (this will open it in whatever editor you have defined via the VISUAL or EDITOR environment variables, or vi if not defined).  Since you're already in the directory containing the Portfile, you can also open it directly from here, but {{{port edit}}} always works.
 
-(Note: there are apparently two MacPorts options, ports_edit_editor and ports_ed_editor, which can be used but there appears to be no documentation about them).
+As of MacPorts 1.7, you can also choose your editor from the command line directly instead of the environment variables:
+{{{
+port edit --editor nano <portname>
+}}}
+This will open nano to edit the Portfile for the given port.
 
 === Step 3: '''Updating the version''' ===
 

-------8<------8<------8<------8<------8<------8<------8<------8<--------


* The IP shown here might not mean anything if the user is behind a proxy.

--
MacPorts <http://www.macports.org/>
Ports system for Mac OS

This is an automated message. Someone at http://www.macports.org/
added your email address to be notified of changes on MacPorts.
If it was not you, please report to http://www.macports.org/.


More information about the macports-changes mailing list