Changes between Version 1 and Version 2 of howto/Upgrade
- Timestamp:
- Jul 13, 2008, 9:28:14 PM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
howto/Upgrade
v1 v2 33 33 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. 34 34 35 (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). 35 As of MacPorts 1.7, you can also choose your editor from the command line directly instead of the environment variables: 36 {{{ 37 port edit --editor nano <portname> 38 }}} 39 This will open nano to edit the Portfile for the given port. 36 40 37 41 === Step 3: '''Updating the version''' ===