process-getopt is a wrapper around getopt to make life much easier for script developers (me). It's used in most of my scripts. The essential file to install is the first one here - the script itself. Put it somewhere on your path. The other files are documentation and examples.
To get the latest:
cvs -z3 -d:pserver:anonymous@process-getopt.cvs.sourceforge.net:/cvsroot/process-getopt checkout -P process-getopt