$NetBSD: patch-aa,v 1.4 2004/09/12 20:57:41 salo Exp $ --- Makefile.orig 2004-02-27 14:50:43.000000000 +0100 +++ Makefile 2004-09-12 22:50:13.000000000 +0200 @@ -1,17 +1,18 @@ -DESTDIR=/usr/lib/ispell +INSTALLDIR=${PREFIX}/lib/ +BUILDHASH=${PREFIX}/bin/buildhash all: slovak.hash install: slovak.hash slovak.aff - mkdir -p $(DESTDIR) - install -o root -g bin -m 0444 slovak.hash $(DESTDIR) - install -o root -g bin -m 0444 slovak.aff $(DESTDIR) + ${BSD_INSTALL_DATA_DIR} $(INSTALLDIR) + ${BSD_INSTALL_DATA} slovak.hash $(INSTALLDIR) + ${BSD_INSTALL_DATA} slovak.aff $(INSTALLDIR) slovak.words: - cat *.words | sort -u -f > slovak.words + ${CAT} *.words | ${SORT} -u -f > slovak.words slovak.hash: slovak.aff slovak.words - buildhash slovak.words slovak.aff slovak.hash + ${BUILDHASH} slovak.words slovak.aff slovak.hash clean: rm -f slovak.words slovak.words.cnt slovak.words.stat slovak.hash *~