diff options
Diffstat (limited to 'textproc/ispell/scripts')
-rw-r--r-- | textproc/ispell/scripts/configure | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/textproc/ispell/scripts/configure b/textproc/ispell/scripts/configure deleted file mode 100644 index b66bf783db06..000000000000 --- a/textproc/ispell/scripts/configure +++ /dev/null @@ -1,37 +0,0 @@ -#!/bin/sh - -if [ "`echo a|sed -e P`" = "aa" ]; then - echo You need a newer version of sed. Use sed from -current or gnu sed - exit 1 -fi -if [ ! -f /usr/share/dict/words ]; then - echo "you need to install /usr/share/dict/words from the 'dict' distribution first" - echo "(This is done using sysinstall. The 'textproc/dict' port in the ports" - echo " tree is NOT what you need.)" - exit 1 -fi -cd $WRKSRC || exit 1; - -sed -e s:/usr/local:$PREFIX: <local.h.bsd >local.h || exit 1; -echo "#undef NO8BIT" >> local.h - -if [ ! -z "ISPELL_INCLAMERICAN" ] && \ - [ "$ISPELL_INCLAMERICAN" = "YES" -o "$ISPELL_INCLAMERICAN" = "yes" ]; then - LOCAL="{american,MASTERDICTS=american.med+,HASHFILES=americanmed+.hash,EXTRADICT=/usr/share/dict/words}" - fi - -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 - else - echo "#define LANGUAGES \"{american,MASTERDICTS=american.med+,HASHFILES=americanmed+.hash,EXTRADICT=/usr/share/dict/words}$LOCAL\"" >>local.h ||exit 1; - echo '#define MASTERHASH "americanmed+.hash"' >> local.h - fi - -echo "#undef WORDS" >> local.h -echo '#define WORDS "/usr/share/dict/words"' >> local.h -echo "#undef LIBDIR" >> local.h -echo "#define LIBDIR \"$PREFIX/share/ispell\"" >> local.h - -exit 0; |