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

    r845 r1015  
    3333package require portutil 1.0
    3434
    35 register com.apple.package target package_main always
    36 register com.apple.package provides packager
    37 register com.apple.package requires registry
     35set com.apple.package [target_new com.apple.package package_main]
     36${com.apple.package} set runtype always
     37${com.apple.package} provides packager
     38${com.apple.package} requires registry
    3839
    3940# define options
Note: See TracChangeset for help on using the changeset viewer.