diff --git a/shells/nologinmsg/Makefile b/shells/nologinmsg/Makefile index 462be7f901d0..57649b56b03f 100644 --- a/shells/nologinmsg/Makefile +++ b/shells/nologinmsg/Makefile @@ -1,26 +1,26 @@ PORTNAME= nologinmsg PORTVERSION= 1.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= shells sysutils MASTER_SITES= # none DISTFILES= # none MAINTAINER= freebsd-security@rikrose.net COMMENT= More functional native binary replacement for /sbin/nologin USES= uidfix do-extract: @${MKDIR} ${WRKSRC} .for i in Makefile nologinmsg.c nologinmsg.8 pathnames.h @${CP} ${FILESDIR}/${i} ${WRKSRC} .endfor post-patch: @${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|g' ${WRKSRC}/nologinmsg.8 \ ${WRKSRC}/pathnames.h pre-install: ${MKDIR} ${STAGEDIR}${PREFIX}/etc/nologinmsgs .include diff --git a/shells/nologinmsg/files/Makefile b/shells/nologinmsg/files/Makefile index 97100b63f549..ca05ea5da9d6 100644 --- a/shells/nologinmsg/files/Makefile +++ b/shells/nologinmsg/files/Makefile @@ -1,9 +1,9 @@ PROG= nologinmsg SRCS= nologinmsg.c BINDIR= ${PREFIX}/bin -MANDIR= ${PREFIX}/man/man +MANDIR= ${PREFIX}/share/man/man MAN8= nologinmsg.8 CFLAGS+= -g .include diff --git a/shells/nologinmsg/pkg-plist b/shells/nologinmsg/pkg-plist index 665ccb266fa8..c57f82293204 100644 --- a/shells/nologinmsg/pkg-plist +++ b/shells/nologinmsg/pkg-plist @@ -1,3 +1,3 @@ bin/nologinmsg -man/man8/nologinmsg.8.gz +share/man/man8/nologinmsg.8.gz @dir etc/nologinmsgs