I'd like tcllib and tklib to make use of 'tcl modules'.
Every package that can be installed as a tcl module saves one file and one dir
and there are enough eligible packages that I think it's worth doing.
This makes use of a newer tcl packaging system that's a bit better and/or
faster.
These should always be installend in the dir for lowest tcl version possible,
which is 8.5.
I'm concerned that ${MODTK_VERSION} in the PLIST isn't right.
Here's the result for one package:
--- /usr/ports/devel/tklib/pkg/PLIST Sat Nov 16 16:26:47 2013
+++ PLIST Thu Dec 5 00:09:14 2013
@@ -3,9 +3,6 @@
@conflict wcb-*
@pkgpath devel/mentry
@pkgpath devel/wcb
-lib/tcl/autoscroll/
-lib/tcl/autoscroll/autoscroll.tcl
-lib/tcl/autoscroll/pkgIndex.tcl
lib/tcl/canvas/
lib/tcl/canvas/canvas_drag.tcl
lib/tcl/canvas/canvas_epoints.tcl
@@ -101,6 +98,7 @@
lib/tcl/menubar/node.tcl
lib/tcl/menubar/pkgIndex.tcl
lib/tcl/menubar/tree.tcl
+lib/tcl/modules/${MODTK_VERSION}/autoscroll-1.1.tm
lib/tcl/ntext/
lib/tcl/ntext/ntext.tcl
lib/tcl/ntext/pkgIndex.tcl