summaryrefslogtreecommitdiff
path: root/net/dtcp/patches/patch-aa
blob: cfb2221682fff28dd3930728639f8558bad2c22f (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
29
30
31
$NetBSD: patch-aa,v 1.8 2012/02/17 14:09:05 hans Exp $

--- Makefile.orig	2006-01-24 11:51:58.000000000 -0800
+++ Makefile	2006-01-24 11:52:30.000000000 -0800
@@ -14,9 +14,9 @@ PREFIX?=	/usr/local
 BINDIR=		$(PREFIX)/sbin
 
 .if (${OPSYS} == "NetBSD")
-MANDIR=		$(PREFIX)/man
+MANDIR?=		$(PREFIX)/${PKGMANDIR}
 .else
-MANDIR=		$(PREFIX)/man/man
+MANDIR?=		$(PREFIX)/${PKGMANDIR}
 .endif
 MAN=		dtcps.8 dtcpc.8 dtcpauth.8
 
@@ -69,11 +69,11 @@ dtcpauth.8:	dtcpauth.8.in
 
 realinstall:
 	${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 555 dtcps \
-		${BINDIR}/dtcps
+		${DESTDIR}${BINDIR}/dtcps
 	${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 555 dtcpc \
-		${BINDIR}/dtcpc
+		${DESTDIR}${BINDIR}/dtcpc
 	${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 555 dtcpauth \
-		${BINDIR}/dtcpauth
+		${DESTDIR}${BINDIR}/dtcpauth
 
 dist:
 	@data=`date +%Y%m%d`; \