# -*- tcl -*- # Maintenance Instruction: leave the 999999.xxx.x as is and use 'pmix make' or src/make.tcl to update from -buildversion.txt # # Please consider using a BSD or MIT style license for greatest compatibility with the Tcl ecosystem. # Code using preferred Tcl licenses can be eligible for inclusion in Tcllib, Tklib and the punk package repository. # ++ +++ +++ +++ +++ +++ +++ +++ +++ +++ +++ # (C) 2023 # # @@ Meta Begin # Application %pkg% 999999.0a1.0 # Meta platform tcl # Meta license # @@ Meta End # ++ +++ +++ +++ +++ +++ +++ +++ +++ +++ +++ foreach base [tcl::tm::list] { set nsprefix "";#in case sourced directly and not in any of the .tm paths if {[string match -nocase ${base}* [info script]]} { set nsprefix [string trimleft [join [lrange [file split [string range [info script] [string length $base]+1 end]] 0 end-1] ::]:: ::] break } } namespace eval [lassign [split [file rootname [file tail [info script] ]] -] pkgtail verparts]${nsprefix}$pkgtail { #-------------------------------------- #Do not put any 'package require' statements above this block. (globals nsprefix,pkgtail,verparts still set) variable pkg "${::nsprefix}${::pkgtail}[unset ::nsprefix; unset ::pkgtail]" variable version [join $::verparts -][unset ::verparts] #-------------------------------------- # ++ +++ +++ +++ +++ +++ +++ +++ +++ +++ +++ ## Requirements ##e.g package require frobz namespace eval [namespace current]::lib { } # ++ +++ +++ +++ +++ +++ +++ +++ +++ +++ +++ ## Ready uplevel #0 [list package provide $pkg $version] } return