freebsd-ports/textproc/ispell/files/NO.patch
Alexander Langer 4a7b4396b0 Update the ISPELL_NO part to version 2.0
Bump PORTREVISON.
2001-01-13 15:41:14 +00:00

51 lines
1.6 KiB
Diff

--- norsk/Makefile.orig Tue Sep 5 23:50:30 2000
+++ norsk/Makefile Sat Jan 13 15:23:30 2001
@@ -8,9 +8,9 @@
SHELL = /bin/sh
MAKE = make
-CONFIG = ../../config.sh
-PATHADDER = ../..
-BUILDHASH = ../../buildhash
+CONFIG = ../ispell-3.1/config.sh
+PATHADDER = ../ispell-3.1
+BUILDHASH ?= ../ispell-3.1/buildhash
# The following variables make it easy to adapt this Makefile to
# numerous languages.
@@ -269,7 +269,7 @@
echo -e 'suffixes\nflag *z:\nY Y Y Y Y > YYYYYY' >> $@
norsk.words: norsk.words.sq
- unsq < norsk.words.sq > norsk.words
+ $(UNSQ) < norsk.words.sq > norsk.words
# The following ugly code munches a part of the base file, keeping the
# indications of the frequency of the words. It also removes some
@@ -296,7 +296,7 @@
| grep -e '$(subst munched.,,$@)$$' \
| sed -e 's/ .*//' -e 's/-/î/g' -e 's/ \*//' \
| grep '^[${UCH}]' \
- | munchlist -v -l ${AFFIXES}.munch \
+ | $(MUNCHLIST) -v -l ${AFFIXES}.munch \
> munch1.tmp
PATH=$(PATHADDER):$$PATH; \
export PATH; \
@@ -304,7 +304,7 @@
| grep -e '$(subst munched.,,$@)$$' \
| sed -e 's/ .*//' -e 's/-/î/g' -e 's/ \*//' \
| grep -v '^[${UCH}]' \
- | munchlist -v -l ${AFFIXES}.munch \
+ | $(MUNCHLIST) -v -l ${AFFIXES}.munch \
>> munch1.tmp
cat munch1.tmp \
| sed -e 's/\(zyzyzy\|ZYZYZY\)/\1\/\` /' \
@@ -463,7 +463,7 @@
| grep '\*' \
| sed -e 's/ .*//' \
| tr -d '-' \
- | munchlist -v -l ny${AFFIXES}.munch \
+ | $(MUNCHLIST) -v -l ny${AFFIXES}.munch \
| sed -e N -e 's/^\(\([-${CH}]\)*\)er\/\(.*F.*\)\n\1rar\/M$$/\1er\/\3D/' \
-e '$$ p' -e '$$ d' -e P -e D \
> $@