diff options
Diffstat (limited to 'textproc/ispell/scripts/configure')
-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 10d8f851c588..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 -cd $WRKSRC || exit 1; - -if [ -f $WRKDIR/extra_dict ]; then - extra_dict=`cat $WRKDIR/extra_dict`; - case $extra_dict in - francais-IREQ*) - mkdir -p $WRKSRC/languages/francais-IREQ - LOCAL=' {francais-IREQ}' - for i in $WRKDIR/[A-Za-z]*; do - if [ -f $i ]; then cp $i $WRKSRC/languages/francais-IREQ/; fi - done - (echo RM=rm -f; echo LIBDIR=$PREFIX/lib; echo HASH=../../buildhash) \ - >> $WRKSRC/languages/francais-IREQ/Makefile - ;; - *) - echo "I don't now how to configure ispell with $extra_dict" - exit 1; - ;; - esac -fi -sed -e s:/usr/local:$PREFIX: <local.h.samp >local.h || exit 1; -echo "#undef NO8BIT" >> local.h -echo "#define LANGUAGES \"{american,MASTERDICTS=american.med+,HASHFILES=americanmed+.hash,EXTRADICT=/usr/share/dict/words}$LOCAL\"" >>local.h ||exit 1; -echo "#undef WORDS" >> local.h -echo '#define WORDS "/usr/share/dict/words"' >> local.h - -mv Makefile Makefile.orig -sed -e 's/^[ ]*$/\ -/' <Makefile.orig >Makefile - -exit 0; |