summaryrefslogtreecommitdiff
path: root/sysutils/osname/patches/patch-aa
blob: 062ff618dc5c74b4f90633c9891bb080100f0bed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-aa,v 1.2 2007/12/27 11:55:51 obache Exp $

--- Makefile.orig	1999-07-05 04:55:02.000000000 +0000
+++ Makefile
@@ -7,8 +7,8 @@ CMD=osname
 all: $(CMD)
 
 install: $(CMD)
-	install -c $(CMD) ${PREFIX}/bin/$(CMD)
-	install -m 664 $(CMD).1 ${PREFIX}/man/man1
+	${BSD_INSTALL_SCRIPT} $(CMD) ${DESTDIR}${PREFIX}/bin/$(CMD)
+	${BSD_INSTALL_MAN} $(CMD).1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/$(CMD).1
 
 clean:
 	rm -f $(CMD)