aboutsummaryrefslogtreecommitdiff
path: root/sysutils/no-login
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/no-login')
-rw-r--r--sysutils/no-login/Makefile4
-rw-r--r--sysutils/no-login/files/patch-Makefile12
2 files changed, 13 insertions, 3 deletions
diff --git a/sysutils/no-login/Makefile b/sysutils/no-login/Makefile
index 3268c736db74..6b7a5948341c 100644
--- a/sysutils/no-login/Makefile
+++ b/sysutils/no-login/Makefile
@@ -11,8 +11,6 @@ MASTER_SITE_SUBDIR=wes
MAINTAINER= ports@FreeBSD.org
COMMENT= Refuse a login to a user, and make a note of it in syslog
-PLIST_FILES= bin/nologin
-MAN8= nologin.8
+PLIST_FILES= bin/nologin man/man8/${PORTNAME}.8.gz
-NO_STAGE= yes
.include <bsd.port.mk>
diff --git a/sysutils/no-login/files/patch-Makefile b/sysutils/no-login/files/patch-Makefile
new file mode 100644
index 000000000000..e68cdb62bc7f
--- /dev/null
+++ b/sysutils/no-login/files/patch-Makefile
@@ -0,0 +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
++ install -c -o root -g bin -m 755 nologin $(DESTDIR)$(PREFIX)/bin
++ install -c -o root -g wheel -m 444 nologin.8 $(DESTDIR)$(PREFIX)/man/man8
+ clean:
+ -rm -f *.o *~ nologin