aboutsummaryrefslogtreecommitdiff
path: root/textproc/ispell/scripts
diff options
context:
space:
mode:
authorJean-Marc Zucconi <jmz@FreeBSD.org>2000-02-11 17:08:00 +0000
committerJean-Marc Zucconi <jmz@FreeBSD.org>2000-02-11 17:08:00 +0000
commitbbfb2cdea965e2b221add84f39b634f204e2221e (patch)
tree841c942a476c0e2586ebfdbe7dd56bbbc658285a /textproc/ispell/scripts
parent4bff59aa485a40e250faacb792fb547a8a9532dd (diff)
downloadports-bbfb2cdea965e2b221add84f39b634f204e2221e.tar.gz
ports-bbfb2cdea965e2b221add84f39b634f204e2221e.zip
Notes
Diffstat (limited to 'textproc/ispell/scripts')
-rw-r--r--textproc/ispell/scripts/configure10
1 files changed, 4 insertions, 6 deletions
diff --git a/textproc/ispell/scripts/configure b/textproc/ispell/scripts/configure
index eef66742e868..ad00cb61f210 100644
--- a/textproc/ispell/scripts/configure
+++ b/textproc/ispell/scripts/configure
@@ -12,15 +12,13 @@ cd $WRKSRC || exit 1;
sed -e s:/usr/local:$PREFIX: <local.h.samp >local.h || exit 1;
echo "#undef NO8BIT" >> local.h
-case $ISPELL_LANG in
- british)
+if [ ! -z "$ISPELL_BRITISH" ] && \
+ [ "$ISPELL_BRITISH" = "YES" -o "$ISPELL_BRITISH" = "yes" ]; then
echo "#define LANGUAGES \"{british,MASTERDICTS=british.xlg,HASHFILES=britishxlg.hash,EXTRADICT=}$LOCAL\"" >>local.h ||exit 1;
echo '#define MASTERHASH "britishxlg.hash"' >> local.h
- break ;;
- *)
+ else
echo "#define LANGUAGES \"{american,MASTERDICTS=american.med+,HASHFILES=americanmed+.hash,EXTRADICT=/usr/share/dict/words}$LOCAL\"" >>local.h ||exit 1;
- :;;
-esac
+ fi
echo "#undef WORDS" >> local.h
echo '#define WORDS "/usr/share/dict/words"' >> local.h