$NetBSD: patch-aa,v 1.4 2006/07/24 08:11:38 adam Exp $

--- Makefile.orig	2006-07-02 11:29:29.000000000 +0200
+++ Makefile
@@ -19,7 +19,8 @@ estd:	estd.c
 all: estd
 
 install: all
-	install -d -o root -g wheel -m 0755 /usr/local/sbin
-	install -s -o root -g wheel -m 0755 estd /usr/local/sbin/estd
-	install -d -o root -g wheel -m 0755 /usr/local/man/man1
-	install -o root -g wheel -m 0644 estd.1 /usr/local/man/man1/estd.1
+	install -d -o root -g wheel -m 0755 ${PREFIX}/sbin
+	install -s -o root -g wheel -m 0755 estd ${PREFIX}/sbin/estd
+	install -d -o root -g wheel -m 0755 ${PREFIX}/man/man1
+	install -o root -g wheel -m 0644 estd.1 ${PREFIX}/man/man1/estd.1
+	install -o root -g wheel -m 0644 estd.sh ${PREFIX}/share/examples/rc.d/estd