aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/blimitd/Makefile
blob: b52d2b5dcf9327d5105b43e24a219061d04c8746 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Created by: 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

DEPRECATED= No more public distfiles
EXPIRATION_DATE=    2014-02-10

WRKSRC=     ${WRKDIR}/blimitd

MAN8=       blimitd.8
MANCOMPRESSED=  maybe

NO_STAGE=   yes
.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>