Changeset 1200 for trunk/base
- Timestamp:
- Nov 6, 2002, 12:15:40 AM (21 years ago)
- Location:
- trunk/base/src
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/base/src/port/portall.tcl
r1165 r1200 38 38 } 39 39 array set portinfo [dportinfo $interp] 40 puts "Doing $target for port: $portinfo(name)"41 40 dportexec $interp $target 42 41 dportclose $interp -
trunk/base/src/port1.0/portbuild.tcl
r1015 r1200 37 37 ${com.apple.build} requires main fetch extract checksum patch configure 38 38 ${com.apple.build} deplist depends_build depends_lib 39 ${com.apple.build} set prerun build_start 39 40 40 41 # define options … … 80 81 } 81 82 83 proc build_start {args} { 84 global UI_PREFIX portname build.target.all 85 86 ui_msg "$UI_PREFIX Building $portname with target ${build.target.all}" 87 } 88 82 89 proc build_main {args} { 83 90 global portname portpath workdir prefix build.type build.cmd build.env build.target.all build.target.current UI_PREFIX worksrcdir 84 91 85 ui_msg "$UI_PREFIX Building $portname with target ${build.target.all}"86 92 set build.target.current ${build.target.all} 87 93 system "[command build]" -
trunk/base/src/port1.0/portchecksum.tcl
r1015 r1200 36 36 ${com.apple.checksum} provides checksum 37 37 ${com.apple.checksum} requires main fetch 38 ${com.apple.checksum} set prerun checksum_start 38 39 39 40 # define options … … 72 73 } 73 74 return -1 75 } 76 77 proc checksum_start {args} { 78 global UI_PREFIX portname 79 80 ui_msg "$UI_PREFIX Checksumming $portname" 74 81 } 75 82 -
trunk/base/src/port1.0/portclean.tcl
r1015 r1200 39 39 ${com.apple.clean} provides clean 40 40 ${com.apple.clean} requires main 41 ${com.apple.clean} set prerun clean_start 42 43 proc clean_start {args} { 44 global UI_PREFIX portname 45 46 ui_msg "$UI_PREFIX Cleaning $portname" 47 } 41 48 42 49 proc clean_main {args} { -
trunk/base/src/port1.0/portconfigure.tcl
r1078 r1200 37 37 ${com.apple.configure} requires main fetch extract checksum patch 38 38 ${com.apple.configure} deplist depends_build depends_lib 39 ${com.apple.configure} set prerun configure_start 39 40 40 41 # define options … … 51 52 52 53 set UI_PREFIX "---> " 54 55 proc configure_start {args} { 56 global UI_PREFIX portname 57 58 ui_msg "$UI_PREFIX Configuring $portname" 59 } 53 60 54 61 proc configure_main {args} { … … 83 90 } 84 91 } elseif [tbool use_configure] { 85 ui_msg "$UI_PREFIX Running configure script"86 92 if {[catch {system "[command configure]"} result]} { 87 93 ui_error "configure target failed: $result" -
trunk/base/src/port1.0/portextract.tcl
r1015 r1200 38 38 ${com.apple.extract} requires fetch checksum 39 39 ${com.apple.extract} deplist depends_extract 40 ${com.apple.extract} set prerun extract_start 40 41 41 42 # define options … … 67 68 } 68 69 70 proc extract_start {args} { 71 global UI_PREFIX portname 72 73 ui_msg "$UI_PREFIX Extracting $portname" 74 } 75 69 76 proc extract_main {args} { 70 77 global portname portpath workdir distname distpath distfiles use_bzip2 extract.only extract.cmd extract.before_args extract.after_args extract.args UI_PREFIX -
trunk/base/src/port1.0/portfetch.tcl
r1047 r1200 38 38 ${com.apple.fetch} requires main 39 39 ${com.apple.fetch} deplist depends_fetch 40 ${com.apple.fetch} set prerun fetch_start 40 41 41 42 # define options: distname master_sites … … 275 276 } 276 277 278 proc fetch_start {args} { 279 global UI_PREFIX portname 280 281 ui_msg "$UI_PREFIX Fetching $portname" 282 } 283 277 284 # Main fetch routine 278 285 # If all_dist_files is not populated and $fetch.type == standard, then -
trunk/base/src/port1.0/portinstall.tcl
r1015 r1200 37 37 ${com.apple.install} requires main fetch extract checksum patch configure build 38 38 ${com.apple.install} deplist depends_run depends_lib 39 ${com.apple.install} set prerun install_start 39 40 40 41 # define options … … 44 45 45 46 set UI_PREFIX "---> " 47 48 proc install_start {args} { 49 global UI_PREFIX portname build.target.install 50 51 ui_msg "$UI_PREFIX Installing $portname with target ${build.target.install}" 52 } 46 53 47 54 proc install_main {args} { … … 55 62 } 56 63 } 57 ui_msg "$UI_PREFIX Installing $portname with target ${build.target.install}" 64 58 65 set build.target.current ${build.target.install} 59 66 if [catch {system "[command build]"}] { -
trunk/base/src/port1.0/portregistry.tcl
r1039 r1200 37 37 ${com.apple.registry} requires main fetch extract checksum patch configure build install 38 38 ${com.apple.registry} deplist depends_run depends_lib 39 ${com.apple.registry} set prerun registry_start 39 40 40 41 # define options … … 47 48 48 49 set UI_PREFIX "---> " 50 51 proc registry_start {args} { 52 global UI_PREFIX portname 53 54 ui_msg "$UI_PREFIX Adding $portname to registry, this may take a moment..." 55 } 49 56 50 57 # For now, just write stuff to a file for debugging. … … 205 212 # Package installed successfully, so now we must register it 206 213 set rhandle [registry_new $portname $portversion] 207 ui_msg "$UI_PREFIX Adding $portname to registry, this may take a moment..."208 214 209 215 registry_store $rhandle [list prefix $prefix] -
trunk/base/src/port1.0/portuninstall.tcl
r1066 r1200 37 37 ${com.apple.uninstall} provides uninstall 38 38 ${com.apple.uninstall} requires main 39 ${com.apple.uninstall} set prerun uninstall_start 39 40 40 41 # define options … … 42 43 43 44 set UI_PREFIX "---> " 45 46 proc uninstall_start {args} { 47 global portname portversion UI_PREFIX 48 49 if [string length [registry_exists $portname $portversion]] { 50 ui_msg "$UI_PREFIX Uninstalling $portname-$portversion" 51 } 52 } 44 53 45 54 proc uninstall_main {args} { … … 53 62 set rfile [registry_exists $portname $portversion] 54 63 if [string length $rfile] { 55 ui_msg "$UI_PREFIX Uninstalling $portname-$portversion"56 64 if [regexp .bz2$ $rfile] { 57 65 set fd [open "|bunzip2 -c $rfile" r]
Note: See TracChangeset
for help on using the changeset viewer.