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

    r957 r1015  
    3333package require portutil 1.0
    3434
    35 register com.apple.build target build_main
    36 register com.apple.build provides build
    37 register com.apple.build requires main fetch extract checksum patch configure
    38 register com.apple.build deplist depends_build depends_lib
     35set com.apple.build [target_new com.apple.build build_main]
     36${com.apple.build} provides build
     37${com.apple.build} requires main fetch extract checksum patch configure
     38${com.apple.build} deplist depends_build depends_lib
    3939
    4040# define options
Note: See TracChangeset for help on using the changeset viewer.