$NetBSD: patch-aa,v 1.3 2003/11/01 14:51:03 salo Exp $ --- Makefile.orig 2003-04-09 14:31:57.000000000 +0200 +++ Makefile 2003-11-01 15:44:33.000000000 +0100 @@ -1,17 +1,18 @@ -installdir=/usr/lib/ispell +INSTALLDIR=${PREFIX}/lib/ +BUILDHASH=${PREFIX}/bin/buildhash all: slovak.hash install: slovak.hash slovak.aff - mkdir -p $(installdir) - install -o root -g root -m 0644 slovak.hash $(installdir) - install -o root -g root -m 0644 slovak.aff $(installdir) + ${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 *~