Changeset 219 for trunk/base
- Timestamp:
- Aug 21, 2002, 6:25:49 AM (22 years ago)
- Location:
- trunk/base/src/port1.0
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/base/src/port1.0/portfetch.tcl
r218 r219 13 13 14 14 # define options: distname master_sites 15 options master_sites patch_sites extract_sufx distfiles extract_only patchfiles dist_subdiruse_zip use_bzip215 options master_sites patch_sites extract_sufx distfiles extract_only patchfiles use_zip use_bzip2 16 16 17 17 proc suffix {distname} { -
trunk/base/src/port1.0/portmain.tcl
r214 r219 13 13 register com.apple.main provides main 14 14 15 # define options 16 options portname portversion portrevision categories maintainers workdir worksrcdir no_worksubdir filedir distname sysportpath libpath dist_subdir distpath 17 15 18 # XXX Special case sysportpath. This variable is set by the bootstrap 16 19 # and may not exist … … 18 21 default distpath $sysportpath/distfiles 19 22 } 23 20 24 default prefix /usr/local/ 21 25 default workdir work … … 25 29 default os_version $tcl_platform(osVersion) 26 30 27 # define options28 options portname portversion portrevision categories maintainers workdir worksrcdir no_worksubdir filedir distname sysportpath libpath29 30 31 proc main {args} { 31 global worksrcdir main_opts portname distname 32 global worksrcdir main_opts portname distname distpath dist_subdir 32 33 33 34 if {[tbool no_worksubdir]} { … … 38 39 } 39 40 } 41 if {[info exists distpath] && [info exists dist_subdir]} { 42 puts hello 43 set distpath ${distpath}/${dist_subdir} 44 } 45 40 46 return 0 41 47 }
Note: See TracChangeset
for help on using the changeset viewer.