aboutsummaryrefslogtreecommitdiff
path: root/sysutils/no-login/files/patch-Makefile
blob: 619061dc02eb9fbc975ed74ed3bdab929603c3f0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
--- Makefile.orig	2013-11-15 23:27:54.000000000 +0800
+++ Makefile	2013-11-15 23:28:07.000000000 +0800
@@ -30,7 +30,7 @@ all:		nologin
 nologin:	nologin.c
 
 install:
-		install -c -o root -g bin -m 755 nologin $(PREFIX)/bin
-		install -c -o root -g wheel -m 444 nologin.8 $(PREFIX)/man/man8
+		$(BSD_INSTALL_PROGRAM) nologin $(DESTDIR)$(PREFIX)/bin
+		$(BSD_INSTALL_MAN) nologin.8 $(DESTDIR)$(PREFIX)/share/man/man8
 clean:
 		-rm -f *.o *~ nologin