mirror of
https://git.freebsd.org/ports.git
synced 2025-07-08 12:59:17 -04:00
28 lines
1.4 KiB
Diff
28 lines
1.4 KiB
Diff
--- ispell-da-1.7.31/Makefile.orig 2010-01-21 12:03:30.000000000 +0100
|
|
+++ ispell-da-1.7.31/Makefile 2010-01-21 12:04:02.000000000 +0100
|
|
@@ -9,13 +9,13 @@
|
|
lang=da
|
|
version=1.7.31
|
|
|
|
-installdir=`ispell -vv | grep LIBDIR | cut -d'"' -f2`
|
|
+installdir=`${ISPELL} -vv | grep LIBDIR | cut -d'"' -f2`
|
|
|
|
all: maskbits $(sprog).hash
|
|
|
|
maskbits:
|
|
- @test "`ispell -vv | grep MASKBITS`" != "" || ( echo Ispell should be compiled with MASKBITS set to at least 64. ; exit -2 )
|
|
- @test `ispell -vv | grep MASKBITS | cut -d= -f2` -ge 64 || ( echo Ispell should be compiled with MASKBITS set to at least 64. ; exit -3 )
|
|
+ @test "`${ISPELL} -vv | grep MASKBITS`" != "" || ( echo Ispell should be compiled with MASKBITS set to at least 64. ; exit -2 )
|
|
+ @test `${ISPELL} -vv | grep MASKBITS | cut -d= -f2` -ge 64 || ( echo Ispell should be compiled with MASKBITS set to at least 64. ; exit -3 )
|
|
|
|
install: maskbits $(sprog).hash $(sprog).aff
|
|
install -o root -g root -m 0644 $(sprog).hash $(installdir)
|
|
@@ -26,7 +26,7 @@
|
|
ln -fs $(installdir)/$(sprog).aff $(installdir)/$(sprog_en_lower_case).aff
|
|
|
|
$(sprog).hash: maskbits $(sprog).aff words-$(language_code).ispell
|
|
- buildhash words-$(language_code).ispell $(sprog).aff $(sprog).hash
|
|
+ ${BUILDHASH} words-$(language_code).ispell $(sprog).aff $(sprog).hash
|
|
|
|
clean:
|
|
rm -f words-$(language_code).ispell.stat $(sprog).hash words-$(language_code).ispell.cnt *~
|