# Ports collection makefile for: nologinmsg # Whom: Richard Rose # Date created: 20020710 # # $FreeBSD$ # # The port is self contained in the src directory PORTNAME= nologinmsg PORTVERSION= 1.0 CATEGORIES= shells sysutils MASTER_SITES= # none DISTFILES= # none MAINTAINER= freebsd-security@rikrose.net COMMENT= More functional native binary replacement for /sbin/nologin USE_REINPLACE= yes MAN8= nologinmsg.8 MANCOMPRESSED= yes 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} ${PREFIX}/etc/nologinmsgs post-install: ${STRIP_CMD} ${PREFIX}/bin/nologinmsg .include