openbsd-ports/textproc/aspell/files/patch-francais-Makefile
lebel 261cceb3bb initial import of aspell 0.33.6:
--
Aspell is an Open Source spell checker designed to eventually replace
Ispell.  Its main feature is that it does a much better job of
coming up with possible suggestions than Ispell does. In fact recent
tests shows that it even does better than Microsoft Word 97's spell
checker or just about any other spell checker I have seen. It also
has support for checking (La)TeX and Html files, and run time support
for other non English languages. Aspell also is a library however
the recommend way to use aspell is through the Pspell library as
the actual interface to the aspell library is constantly changing.

WWW: http://aspell.sourceforge.net/
2001-05-23 21:25:43 +00:00

25 lines
1.2 KiB
Plaintext

$OpenBSD: patch-francais-Makefile,v 1.1.1.1 2001/05/23 21:25:43 lebel Exp $
--- Makefile Mon May 21 12:44:06 2001
+++ Makefile.t Mon May 21 12:44:46 2001
@@ -6,8 +6,8 @@
CONFIG = francais.dat
PHONET = francais_phonet.dat
-pkgdatadir = `aspell dump config | grep "data-dir current" | grep -v "local-data-dir current" | sed 's/^.*: \(.*\)$$/\1/'`
-pkglibdir = `aspell dump config | grep "dict-dir current" | grep -v "local-data-dir current" | sed 's/^.*: \(.*\)$$/\1/'`
+pkgdatadir = `$(WRKSRC)/src/aspell dump config | grep "data-dir current" | grep -v "local-data-dir current" | sed 's/^.*: \(.*\)$$/\1/'`
+pkglibdir = `$(WRKSRC)/src/aspell dump config | grep "dict-dir current" | grep -v "local-data-dir current" | sed 's/^.*: \(.*\)$$/\1/'`
pspell_pkgdatadir = `pspell-config pkgdatadir`
INSTALL = /usr/bin/install -c
@@ -16,7 +16,8 @@
all: francais fr-aspell.pwli
francais: $(DICT) $(PHONET) $(CONFIG)
- word-list-compress d < $(DICT) | aspell --local-data-dir=. --lang=francais create master ./francais
+ @(for i in $(WRKSRC)/data/*.dat; do ln -sf $$i; done)
+ $(WRKSRC)/src/word-list-compress d < $(DICT) | $(WRKSRC)/src/aspell --local-data-dir=. --lang=francais create master ./francais
fr-aspell.pwli:
echo $(pkglibdir)/francais > fr-aspell.pwli