File: pkgIndex.tcl

package info (click to toggle)
coccinella 0.96.20-7
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 13,108 kB
  • ctags: 5,908
  • sloc: tcl: 124,744; xml: 206; makefile: 66; sh: 62
file content (38 lines) | stat: -rw-r--r-- 1,210 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Tcl package index file - handcrafted
#
# $Id: pkgIndex.tcl,v 1.7 2006-12-19 13:27:09 matben Exp $

# Handcrafted paths for the Coccinella by Mats Bengtsson
# Mats: very much stripped down version to load my patched version only.
#       the 99.0 version number is a ugly trick to make sure it does not
#       interfere with any existing TclXML installation.

package ifneeded xml::tcl 99.0 [list source [file join $dir xml__tcl.tcl]]
package ifneeded sgmlparser 99.0 [list source [file join $dir sgmlparser.tcl]]

package ifneeded xpath 1.0 [list source [file join $dir xpath.tcl]]

namespace eval ::xml {}


package ifneeded tclparser 99.0 {
    package require xml::tcl 99.0
    package require xmldefs
    package require xml::tclparser 99.0
    package provide tclparser 99.0
}

package ifneeded xml 99.0 {
    package require xml::tcl 99.0
    package require xmldefs
    # Only choice is tclparser
    package require xml::tclparser 99.0
    package provide xml 99.0
}

package ifneeded sgml 1.9 [list source [file join $dir sgml-8.1.tcl]]
package ifneeded xmldefs 3.1 [list source [file join $dir xml-8.1.tcl]]
package ifneeded xml::tclparser 99.0 [list source [file join $dir tclparser-8.1.tcl]]