summaryrefslogtreecommitdiff
path: root/sysutils/doinkd/Makefile
blob: 437abecb218bea0591b355d18c53bab4198f249d (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
# 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=	1
CATEGORIES=	sysutils
MASTER_SITES=	http://www.darkwing.com/idled/download/	\
		ftp://ftp.cs.hope.edu/pub/idled/

MAINTAINER=	andrew@ugh.net.au
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

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

post-install:
	${STRIP_CMD} ${PREFIX}/libexec/idled
.if !exists(${PREFIX}/etc/rc.d/idled.sh)
	@${ECHO} "Installing ${PREFIX}/etc/rc.d/idled.sh startup script."
	${INSTALL_SCRIPT} -m 751 ${FILESDIR}/idled.sh ${PREFIX}/etc/rc.d/idled.sh
.endif

.include <bsd.port.mk>