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

    r903 r1015  
    3333package require portutil 1.0
    3434
    35 register com.apple.patch target patch_main
    36 register com.apple.patch provides patch
    37 register com.apple.patch requires main fetch checksum extract
    38 register com.apple.patch deplist depends_build depends_lib
     35set com.apple.patch [target_new com.apple.patch patch_main]
     36${com.apple.patch} provides patch
     37${com.apple.patch} requires main fetch checksum extract
     38${com.apple.patch} deplist depends_build depends_lib
    3939
    4040set UI_PREFIX "---> "
Note: See TracChangeset for help on using the changeset viewer.