Ignore:
Timestamp:
Oct 9, 2002, 9:30:05 AM (18 years ago)
Author:
kevin
Message:

Remove 'register' proc.
Now targets have a handle to the target object directly. Alleviates need for
unique names, and simplifies pre-${target}/post-${target} implementation.
Will allow for future enhancement to options and variants.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/base/src/port1.0/portfetch.tcl

    r957 r1015  
    3333package require portutil 1.0
    3434
    35 register com.apple.fetch target fetch_main
    36 register com.apple.fetch init fetch_init
    37 register com.apple.fetch provides fetch
    38 register com.apple.fetch requires main
    39 register com.apple.fetch deplist depends_fetch
     35set com.apple.fetch [target_new com.apple.fetch fetch_main]
     36${com.apple.fetch} set init fetch_init
     37${com.apple.fetch} provides fetch
     38${com.apple.fetch} requires main
     39${com.apple.fetch} deplist depends_fetch
    4040
    4141# define options: distname master_sites
Note: See TracChangeset for help on using the changeset viewer.