diff options
author | Jean-Marc Zucconi <jmz@FreeBSD.org> | 2000-01-22 22:16:40 +0000 |
---|---|---|
committer | Jean-Marc Zucconi <jmz@FreeBSD.org> | 2000-01-22 22:16:40 +0000 |
commit | 6f5de1d923812cce3c6d336e81ba8cc43884bf2a (patch) | |
tree | 5cc1e8294483924765ce24bbfe66ff0fc029f5a8 /textproc/ispell/scripts/configure | |
parent | upgrade to 0.84b (diff) |
Add support for swedish, brasilian and german (old and new spelling)
dictionaries (in addition to french). They can be built with
``make ISPELL_XX=yes'' where ``XX'' is SE, BR, DEALT or DENEU, or FR
PR: ports/15948
Submitted by: Alexander Langer <alex@cichlids.com>
Reviewed by: jmz
Notes
Notes:
svn path=/head/; revision=24951
Diffstat (limited to 'textproc/ispell/scripts/configure')
-rw-r--r-- | textproc/ispell/scripts/configure | 22 |
1 files changed, 2 insertions, 20 deletions
diff --git a/textproc/ispell/scripts/configure b/textproc/ispell/scripts/configure index 5d05bf280ae5..8ba19d8c338a 100644 --- a/textproc/ispell/scripts/configure +++ b/textproc/ispell/scripts/configure @@ -10,28 +10,9 @@ if [ ! -f /usr/share/dict/words ]; then 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 -case $LANG in +case $ISPELL_LANG in british) echo "#define LANGUAGES \"{british,MASTERDICTS=british.xlg,HASHFILES=britishxlg.hash,EXTRADICT=}$LOCAL\"" >>local.h ||exit 1; echo '#define MASTERHASH "britishxlg.hash"' >> local.h @@ -45,6 +26,7 @@ echo "#undef WORDS" >> local.h echo '#define WORDS "/usr/share/dict/words"' >> local.h echo '#undef ELISPDIR' >> local.h echo "#define ELISPDIR \"$PREFIX/share/emacs/site-lisp\"" >> local.h +echo "#define SHAREDIR \"$PREFIX/share/ispell\"" >> local.h mv Makefile Makefile.orig sed -e 's/^[ ]*$/\ |