           SPELL=tidy
if [  "${TIDY_CVS}" == "y"  ] ; then

  if [ "${TIDY_CVS_AUTOUPDATE}" == "y" ]
  then   VERSION=$(date +%Y%m%d)
  else   VERSION=cvs
  fi

          SOURCE=$SPELL-cvsroot.tar.bz2
   SOURCE_URL[0]=cvs://:pserver:anonymous@cvs.sourceforge.net:/cvsroot/tidy:tidy
   SOURCE_IGNORE=volatile
  FORCE_DOWNLOAD=on
SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-cvsroot

else
        VERSION=051025
#
# Do *not* remove the version from the SOURCE.
#
          SOURCE=${SPELL}_src_$VERSION.tgz
SOURCE_DIRECTORY=${BUILD_DIRECTORY}/${SPELL}
   SOURCE_URL[0]=http://tidy.sourceforge.net/src/old/${SOURCE}
     SOURCE_HASH=sha512:cc44229e24c3a07c9701dfafd9cdd6d4463317d43259ec0647791586bb54b0caadda1cf1986643cbe4c383cdaed2061f4c2b8208edfeb9508fe4fd87c78e32bb
          MD5[0]=102d99a8d102f95a4f30cbbdad65f123
fi

        WEB_SITE=http://tidy.sourceforge.net/
         ENTERED=20021002
         UPDATED=20040811
      LICENSE[0]=W3C
      MAINTAINER=bluebird@optushome.com.au
           SHORT="Tidy cleans up bad HTML"
cat << EOF
Tidy is able to fix up a wide range of problems and to bring to your attention things that you need to work on yourself. Each item found is listed with the line number and column so that you can see where the problem lies in your markup. Tidy won't generate a cleaned up version when there are problems that it can't be sure of how to handle. These are logged as "errors" rather than "warnings".
EOF
