mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-02 01:20:54 +00:00
f97645efa4
PR: 160146 Submitted by: Ports Fury
35 lines
768 B
Makefile
35 lines
768 B
Makefile
# New ports collection makefile for: blimitd
|
|
# Date created: 29 Jul 2001
|
|
# Whom: Andrew Stevenson <andrew@ugh.net.au>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= blimitd
|
|
PORTVERSION= 0.1
|
|
PORTREVISION= 1
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= ftp://ftp.ugh.net.au/pub/unix/blimitd/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Daemon to enforce login.conf limits
|
|
|
|
WRKSRC= ${WRKDIR}/blimitd
|
|
|
|
MAN8= blimitd.8
|
|
MANCOMPRESSED= maybe
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${OSVERSION} >= 900007
|
|
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-utmpx
|
|
.endif
|
|
|
|
post-install:
|
|
@if [ ! -f ${PREFIX}/etc/rc.d/blimitd.sh ]; then \
|
|
${ECHO} "Installing ${PREFIX}/etc/rc.d/blimitd.sh startup file."; \
|
|
${INSTALL_SCRIPT} -m 751 ${FILESDIR}/blimitd.sh ${PREFIX}/etc/rc.d/blimitd.sh; \
|
|
fi
|
|
|
|
.include <bsd.port.post.mk>
|