freebsd-ports/shells/nologinmsg/Makefile
2014-01-30 22:43:17 +00:00

29 lines
648 B
Makefile

# Created by: Richard Rose <freebsd-security@rikrose.net>
# $FreeBSD$
PORTNAME= nologinmsg
PORTVERSION= 1.0
PORTREVISION= 1
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 <bsd.port.mk>