blob: de36886de65b9209792330c3fbe402ca1aeb449f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
$NetBSD: patch-aa,v 1.1 2006/11/09 09:33:24 rillig Exp $
--- Makefile.orig 2006-03-14 23:59:43.000000000 +0100
+++ Makefile 2006-11-09 10:32:29.000000000 +0100
@@ -69,8 +69,8 @@ NON_MACH_DEFINES = -UMACH
#INSTALLATION PARAMETERS
PREFIX ?= /usr/local/
NETBSD_BINDIR = ${PREFIX}/sbin
-NETBSD_MAN1 = ${PREFIX}/man/man1
-NETBSD_MAN8 = ${PREFIX}/man/man8
+NETBSD_MAN1 = ${PREFIX}/${PKGMANDIR}/man1
+NETBSD_MAN8 = ${PREFIX}/${PKGMANDIR}/man8
CFLAGS = ${DEFS} -O -I.
@@ -123,9 +123,9 @@ clean cleandir distclean:
rm -f ${PROGRAMS} libextra.a netcrypt.c *.o core a.out
install: ${PROGRAMS}
- install -cs -m 555 -o bin -g bin ${PROGRAMS} ${NETBSD_BINDIR}
- install -c -m 444 -o bin -g bin ${MAN1} ${NETBSD_MAN1}
- install -c -m 444 -o bin -g bin ${MAN8} ${NETBSD_MAN8}
+ ${BSD_INSTALL_PROGRAM} ${PROGRAMS} ${NETBSD_BINDIR}
+ ${BSD_INSTALL_MAN} ${MAN1} ${NETBSD_MAN1}
+ ${BSD_INSTALL_MAN} ${MAN8} ${NETBSD_MAN8}
netcrypt.c:
@echo "[ Using netcryptvoid.c ]"
|