blob: d5b880498ea1bd05d17654dca064df3a51b8edc5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
. "$GRIMOIRE/FUNCTIONS"
SPELL=tidy
if [[ "${TIDY_BRANCH}" == "scm" ]]; then
VERSION=$(get_scm_version)
SOURCE=$SPELL-cvsroot.tar.bz2
SOURCE_URL[0]=cvs://:pserver:anonymous@tidy.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_GPG=gurus.gpg:${SOURCE}.sig:WORKS_FOR_ME
fi
if [[ "${TIDY_MAN_PAGES}" == "y" ||
"${TIDY_HTML_DOCS}" == "y" ||
"${TIDY_API_DOCS}" == "y" ]]
then
DOC_VERSION=051020
SOURCE2=${SPELL}_docs_${DOC_VERSION}.tgz
SOURCE2_URL=http://tidy.sf.net/docs/${SOURCE2}
SOURCE2_GPG=gurus.gpg:${SOURCE2}.sig:WORKS_FOR_ME
fi
WEB_SITE=http://tidy.sourceforge.net/
ENTERED=20021002
LICENSE[0]=W3C
KEYWORDS="html editors"
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
|