source: tol/toltcl/pkgIndex.tcl @ 11400ae

1941-docker-image-to-testdevel
Last change on this file since 11400ae was 11400ae, checked in by Jorge Pérez <josp.jorge@…>, 15 years ago

refs #1409, changing to release 3.1

git-svn-id: ​https://www.tol-project.org/svn/tolp/trunk@4057 be4846ae-f051-483a-831f-b64e7d08527f

  • Property mode set to 100644
File size: 460 bytes
RevLine 
[6d7779d]1# Tcl package index file, version 1.1
2
3proc LoadToltcl { version dir } {
4  global tcl_platform
5 
6  set suffix [info sharedlibextension]
7  if {$tcl_platform(platform) eq "unix"} {
8    set name libtoltcl${version}[info sharedlibextension]
9  } else  {
10    set name toltcl.dll
11  }
12  load [file join $dir $name] Toltcl
13}
14
[11400ae]15package ifneeded Toltcl 3.1 \
[f532388]16    [ string map [list %d $dir] {
[11400ae]17      LoadToltcl 3.1 {%d}
[35458ba]18      source [ file join {%d} toltcl.tcl ]
[f532388]19    } ]
[6d7779d]20
Note: See TracBrowser for help on using the repository browser.