diff --git a/sysutils/no-login/Makefile b/sysutils/no-login/Makefile index bfd68f9419d5..9a26dad15196 100644 --- a/sysutils/no-login/Makefile +++ b/sysutils/no-login/Makefile @@ -1,12 +1,12 @@ PORTNAME= nologin PORTVERSION= 1.0 PORTREVISION= 1 CATEGORIES= sysutils MASTER_SITES= LOCAL/wes MAINTAINER= ports@FreeBSD.org COMMENT= Refuse a login to a user, and make a note of it in syslog -PLIST_FILES= bin/nologin man/man8/${PORTNAME}.8.gz +PLIST_FILES= bin/nologin share/man/man8/${PORTNAME}.8.gz .include diff --git a/sysutils/no-login/files/patch-Makefile b/sysutils/no-login/files/patch-Makefile index 007efe0754f0..619061dc02eb 100644 --- a/sysutils/no-login/files/patch-Makefile +++ b/sysutils/no-login/files/patch-Makefile @@ -1,12 +1,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)/man/man8 ++ $(BSD_INSTALL_MAN) nologin.8 $(DESTDIR)$(PREFIX)/share/man/man8 clean: -rm -f *.o *~ nologin