1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-03 06:04:53 +00:00
freebsd-ports/security/sud/Makefile
Ion-Mihai Tetcu f363391416 - reset maintainer
(<bugghy@SAFe-mail.net>: host mx1.SAFe-mail.net[213.8.192.70] said: 554 Rcpt
<bugghy@safe-mail.net> does not exist (in reply to end of DATA command))
- use SF macro in MASTER_SITES
- man pages should be intalled irrespective of NOPORTDOCS - fix plist / package
- bump PORTREVISION

Prompted by:	QAT run
2008-11-16 21:08:42 +00:00

39 lines
1.0 KiB
Makefile

# New ports collection makefile for: sud
# Date created: 20 Sep 2004
# Whom: bugghy <bugghy@SAFe-mail.net>
#
# $FreeBSD$
#
PORTNAME= sud
PORTVERSION= 1.3
PORTREVISION= 1
CATEGORIES= security sysutils
MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= Execute processes with special privileges in a nosuid environment
GNU_CONFIGURE= yes
MAN1= sud.1 suz.1 ilogin.1
post-patch:
@${REINPLACE_CMD} -e 's|/etc|${PREFIX}/etc|g' \
${WRKSRC}/ilogin.1 ${WRKSRC}/sud.1 ${WRKSRC}/login/login.c ${WRKSRC}/sud/main.c
@${REINPLACE_CMD} -e 's|/usr/sbin/ilogin|${PREFIX}/ilogin| ; s|/usr/bin/ls|/bin/ls|' \
${WRKSRC}/miscs/sud.conf.sample
post-install:
${INSTALL_MAN} ${WRKSRC}/sud.1 ${MAN1PREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/suz.1 ${MAN1PREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/ilogin.1 ${MAN1PREFIX}/man/man1
.for i in issue.suz motd.suz sud.conf.sample
${INSTALL_DATA} ${WRKSRC}/miscs/${i} ${PREFIX}/etc
.endfor
@if [ ! -f ${PREFIX}/etc/sud.conf ]; then \
${CP} -p ${PREFIX}/etc/sud.conf.sample ${PREFIX}/etc/sud.conf ; \
fi
.include <bsd.port.mk>