summaryrefslogtreecommitdiff
path: root/sysutils/doinkd/Makefile
blob: 813c67bc1bee03dc587683a4dbd6a4514fcdcc9e (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
35
36
37
38
39
40
41
42
# New ports collection makefile for:	idled
# Date created:			12 March 1997
# Whom:		Andrew <andrew@ugh.net.au>, Iain Templeton <iain@ugh.net.au>
#
# $FreeBSD$
#

PORTNAME=	idled
PORTVERSION=	1.16
PORTREVISION=	3
CATEGORIES=	sysutils
MASTER_SITES=	http://www.netsw.org/system/tools/process/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	A daemon that logs out idle users and those users hogging resources

NO_CDROM=	non-profit use and distribution only
MANCOMPRESSED=	yes
MAN5=		idled.cf.5
MAN8=		idled.8

USE_RC_SUBR=	${PORTNAME}

PLIST_FILES=	etc/idled.cf.template libexec/idled

.include <bsd.port.pre.mk>

.if ${OSVERSION} > 900006
EXTRA_PATCHES=	${PATCHDIR}/utmpx-Makefile \
		${PATCHDIR}/utmpx-idled.h \
		${PATCHDIR}/utmpx-idled.c
.else
EXTRA_PATCHES=	${PATCHDIR}/utmp-Makefile
.endif

post-extract:
	(cd ${WRKSRC}; make clean)

post-install:
	@${STRIP_CMD} ${PREFIX}/libexec/idled

.include <bsd.port.post.mk>