# -*- tcl -*-
# Tcl package index file, version 1.1
#
if {[package vsatisfies [package provide Tcl] 9.0-]} {
    package ifneeded @PACKAGE_NAME@ @PACKAGE_VERSION@ \
        [list ::apply {{dir} {
            if {![info exists ::env(TREECTRL_LIBRARY)]
                    && [file exists [file join $dir treectrl.tcl]]} {
                set ::treectrl_library $dir
            }
            load [file join $dir @PKG_LIB_FILE9@] [string totitle @PACKAGE_NAME@]
        }} $dir]

} else {
    package ifneeded @PACKAGE_NAME@ @PACKAGE_VERSION@ \
        [list ::apply {{dir} {
            if {![info exists ::env(TREECTRL_LIBRARY)]
                    && [file exists [file join $dir treectrl.tcl]]} {
                set ::treectrl_library $dir
            }
            load [file join $dir @PKG_LIB_FILE8@] [string totitle @PACKAGE_NAME@]
        }} $dir]
}
