#! /bin/sh

exec /usr/pkg/bin/wish -f /usr/pkgsrc/misc/dotfile/work.macaroon/.destdir/usr/pkg/share/dotfile-2.4.1/Generator/dotfile.tcl /usr/pkgsrc/misc/dotfile/work.macaroon/.destdir/usr/pkg/share/dotfile-2.4.1/Generator /usr/pkgsrc/misc/dotfile/work.macaroon/.destdir/usr/pkg/share/dotfile-2.4.1 $1 $2
### if [ "$1" = ""  -o ! -d /usr/pkgsrc/misc/dotfile/work.macaroon/.destdir/usr/pkg/share/dotfile-2.4.1/$1  ]; then
### 
### 	echo "The folowing modules are installed:"
### 	cd /usr/pkgsrc/misc/dotfile/work.macaroon/.destdir/usr/pkg/share/dotfile-2.4.1
### 	for file in *; do
### 		if [ $file != "Generator" ]; then
### 			echo -n "  $file -- "
### 			if [ -f $file/info ]; then
### 				cat $file/info
### 			else
### 				echo ""
### 			fi
### 		fi
### 	done
### 	echo ""
### 	echo "To start the Dotfile Generator type $0 <module name>"
### 	echo "Eg. \"$0 emacs\" to configure emacs."
###   echo ""
###   echo "The Dotfile Generator supports multiple languages"
###   echo "to select a language different from the default, which is "
###   echo "please set the environment variable LANG to:"
###   echo "jp - for japanese"
###   echo "en - for english"
###   echo "with one of the commands (the example is for japanese):"
###   echo "sh,bash,ksh: LANG=jp;export LANG jp"
###   echo "csh,tcsh:    setenv LANG jp"
### 	echo ""
### 	echo "For more information on the Dotfile Generator or modules for it"
### 	echo "please refer to the following URL on the World Wide Web:"
### 	echo "http://www.imada.ou.dk/~blackie/dotfile/"
### 	echo ""
### else
### 	exec /usr/pkg/bin/wish -f /usr/pkgsrc/misc/dotfile/work.macaroon/.destdir/usr/pkg/share/dotfile-2.4.1/Generator/dotfile.tcl /usr/pkgsrc/misc/dotfile/work.macaroon/.destdir/usr/pkg/share/dotfile-2.4.1/Generator /usr/pkgsrc/misc/dotfile/work.macaroon/.destdir/usr/pkg/share/dotfile-2.4.1/$1 $2
### fi
### 
