Changeset 6


Ignore:
Timestamp:
Jul 31, 2002, 11:37:02 PM (18 years ago)
Author:
landonf (Landon Fuller)
Message:

Modify to use darwinports API provided by system-wide darwinports package

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/base/bin/portbuild

    r2 r6  
    11#!/usr/bin/tclsh
    22# portbuild
     3package require darwinports
    34
    45# globals
    56set invoice Portfile
    6 set portpath /private/Network/Servers/noether/homes/frodo/landonf/Documents/Code/appleports
    7 set libpath $portpath/Tcl
    87
    98# Standard procedures
     
    2625}
    2726
    28 if [file isdirectory $libpath] {
    29         if [catch {pkg_mkIndex $libpath *.tcl *.so *.dylib */*.tcl */*.so */*.dylib} result] {
    30                 fatal Error updating $libpath index: $result
    31         }
    32         lappend auto_path $libpath
    33 } else {
    34         fatal libpath ($libpath) is not a directory or does not exist
    35 }
     27darwinports::init
    3628
    3729if [file isfile $invoice] {
Note: See TracChangeset for help on using the changeset viewer.