Changeset 14508 for trunk/base
- Timestamp:
- Oct 9, 2005, 6:37:19 PM (19 years ago)
- Location:
- trunk/base
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/base/ChangeLog
r14506 r14508 1 1 # 2 # $Id: ChangeLog,v 1. 7 2005/10/09 15:31:27jberry Exp $2 # $Id: ChangeLog,v 1.8 2005/10/09 18:37:18 jberry Exp $ 3 3 # 4 4 # This is a log of major user-visible changes in each release … … 86 86 - Snazzy new ChangeLog file 87 87 88 - Add new actions for port(1): help, echo, cat, ed, path, portfile (jberry) 88 - Add new actions for port(1): help (get help about port), 89 echo (the expanded arguments), 90 cat (the contents of the Portfiles from the specified ports), 91 edit (also alias "ed", the contents of the Portfiles, using EDITOR or VISUAL), 92 dir (emit path to the port's directory), 93 file (emit path to the port's Portfile) 94 (jberry) 89 95 90 96 -
trunk/base/src/port/port.tcl
r14506 r14508 3 3 exec @TCLSH@ "$0" "$@" 4 4 # port.tcl 5 # $Id: port.tcl,v 1.11 4 2005/10/09 15:31:28jberry Exp $5 # $Id: port.tcl,v 1.115 2005/10/09 18:37:19 jberry Exp $ 6 6 # 7 7 # Copyright (c) 2004 Robert Shaw <rshaw@opendarwin.org> … … 304 304 set url $global_porturl 305 305 } else { 306 set url file://. /306 set url file://. 307 307 } 308 308 set portname [url_to_portname $url] … … 362 362 set url $global_porturl 363 363 } else { 364 set url file://. /364 set url file://. 365 365 } 366 366 set portname [url_to_portname $url] … … 460 460 set url $global_porturl 461 461 } else { 462 set url file://. /462 set url file://. 463 463 } 464 464 set portname [url_to_portname $url] … … 1699 1699 } 1700 1700 1701 ed 1701 ed - edit - 1702 1702 cat - 1703 path-1704 portfile {1703 dir - 1704 file { 1705 1705 # Operations on the PortFiles of the port 1706 1706 require_portlist … … 1736 1736 } 1737 1737 1738 ed {1738 ed - edit { 1739 1739 # Find an editor to edit the portfile 1740 1740 set editor "" … … 1752 1752 } 1753 1753 1754 path{1755 # output the path to the port 1754 dir { 1755 # output the path to the port's directory 1756 1756 puts $portdir 1757 1757 } 1758 1758 1759 portfile {1760 # output the path to the port file1759 file { 1760 # output the path to the port's portfile 1761 1761 puts $portfile 1762 1762 }
Note: See TracChangeset
for help on using the changeset viewer.