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/portextract.tcl

    r821 r1015  
    3333package require portutil 1.0
    3434
    35 register com.apple.extract target extract_main
    36 register com.apple.extract init extract_init
    37 register com.apple.extract provides extract
    38 register com.apple.extract requires fetch checksum
    39 register com.apple.extract deplist depends_extract
     35set com.apple.extract [target_new com.apple.extract extract_main]
     36${com.apple.extract} set init extract_init
     37${com.apple.extract} provides extract
     38${com.apple.extract} requires fetch checksum
     39${com.apple.extract} deplist depends_extract
    4040
    4141# define options
Note: See TracChangeset for help on using the changeset viewer.