Changeset 37290 for trunk/base/src
- Timestamp:
- 06/02/08 08:05:26 (6 months ago)
- Files:
-
- 1 modified
-
trunk/base/src/port/port.tcl (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/base/src/port/port.tcl
r37269 r37290 2017 2017 2018 2018 proc action_search { action portlist opts } { 2019 global private_options 2019 global private_options global_options 2020 2020 set status 0 2021 2021 if {![llength $portlist] && [info exists private_options(ports_no_args)] && $private_options(ports_no_args) == "yes"} { … … 2090 2090 puts $portinfo(name) 2091 2091 } else { 2092 puts -nonewline $joiner 2093 2094 puts -nonewline "$portinfo(name) @$portinfo(version)" 2095 if {[info exists portinfo(categories)]} { 2096 puts -nonewline " ([join $portinfo(categories) ", "])" 2097 } 2098 puts "" 2099 puts [wrap [join $portinfo(description)] 80 [string repeat " " 4]] 2092 if {[info exists global_options(ports_search_line)] 2093 && $global_options(ports_search_line) == "yes"} { 2094 puts "$portinfo(name)\t$portinfo(version)\t$portinfo(categories)\t$portinfo(description)" 2095 } else { 2096 puts -nonewline $joiner 2097 2098 puts -nonewline "$portinfo(name) @$portinfo(version)" 2099 if {[info exists portinfo(categories)]} { 2100 puts -nonewline " ([join $portinfo(categories) ", "])" 2101 } 2102 puts "" 2103 puts [wrap [join $portinfo(description)] 80 [string repeat " " 4]] 2104 } 2100 2105 } 2101 2106 … … 2106 2111 ui_msg "No match for $portname found" 2107 2112 } elseif {[llength $res] > 1} { 2108 ui_msg "\nFound [llength $res] ports." 2113 if {![info exists global_options(ports_search_line)] 2114 || $global_options(ports_search_line) != "yes"} { 2115 ui_msg "\nFound [llength $res] ports." 2116 } 2109 2117 } 2110 2118 … … 2565 2573 {maintainers 0} {name 0} {platform 0} {platforms 0} {portdir 0} 2566 2574 {revision 0} {variant 0} {variants 0} {version 0}} 2575 search {{line 0}} 2567 2576 selfupdate {{nosync 0} {pretend 0}} 2568 2577 uninstall {{follow-dependents 0}}

