summaryrefslogtreecommitdiff
path: root/sysutils/estd/patches/patch-aa
blob: 45cdc6176d68053021c976c256c3fb92fefbf0aa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
$NetBSD: patch-aa,v 1.5 2006/09/20 07:19:59 rillig Exp $

--- Makefile.orig	2006-07-02 11:29:29.000000000 +0200
+++ Makefile	2006-09-20 09:15:01.000000000 +0200
@@ -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
+	${BSD_INSTALL_PROGRAM_DIR} ${PREFIX}/sbin
+	${BSD_INSTALL_PROGRAM} estd ${PREFIX}/sbin/estd
+	${BSD_INSTALL_MAN_DIR} ${PREFIX}/${PKGMANDIR}/man1
+	${BSD_INSTALL_MAN} estd.1 ${PREFIX}/${PKGMANDIR}/man1/estd.1
+	${BSD_INSTALL_SCRIPT} estd.sh ${PREFIX}/share/examples/rc.d/estd