1997-03-23 18:33:50 +01:00
|
|
|
# New ports collection makefile for: idled
|
2000-04-09 21:09:11 +02:00
|
|
|
# Date created: 12 March 1997
|
|
|
|
# Whom: Andrew <andrew@ugh.net.au>, Iain Templeton <iain@ugh.net.au>
|
1997-03-25 09:19:32 +01:00
|
|
|
#
|
1999-08-31 04:00:46 +02:00
|
|
|
# $FreeBSD$
|
1997-03-25 09:19:32 +01:00
|
|
|
#
|
1997-03-23 18:33:50 +01:00
|
|
|
|
2000-04-09 21:09:11 +02:00
|
|
|
PORTNAME= idled
|
|
|
|
PORTVERSION= 1.16
|
2004-01-03 07:59:22 +01:00
|
|
|
PORTREVISION= 2
|
1997-03-23 18:33:50 +01:00
|
|
|
CATEGORIES= sysutils
|
1999-11-14 03:13:24 +01:00
|
|
|
MASTER_SITES= http://www.darkwing.com/idled/download/ \
|
2000-04-09 21:09:11 +02:00
|
|
|
ftp://ftp.cs.hope.edu/pub/idled/
|
1997-03-23 18:33:50 +01:00
|
|
|
|
2006-06-14 10:15:13 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-21 14:28:59 +01:00
|
|
|
COMMENT= A daemon that logs out idle users and those users hogging resources
|
1997-03-23 18:33:50 +01:00
|
|
|
|
1997-03-25 09:19:32 +01:00
|
|
|
NO_CDROM= non-profit use and distribution only
|
1997-03-25 09:24:34 +01:00
|
|
|
MANCOMPRESSED= yes
|
1997-03-23 18:33:50 +01:00
|
|
|
MAN5= idled.cf.5
|
|
|
|
MAN8= idled.8
|
|
|
|
|
2004-01-03 07:59:22 +01:00
|
|
|
SED_SCRIPT= -e 's|%%PREFIX%%|${PREFIX}|g'
|
|
|
|
|
|
|
|
USE_RC_SUBR= yes
|
|
|
|
RC_DIR= ${PREFIX}/etc/rc.d
|
|
|
|
RC_SUFX= .sh
|
|
|
|
SED_SCRIPT+= -e 's|%%RC_SUBR%%|${RC_SUBR}|g' \
|
|
|
|
-e 's|%%RC_DIR%%|${RC_DIR}|g' \
|
|
|
|
-e 's|%%RC_SUFX%%|${RC_SUFX}|g'
|
|
|
|
PLIST_SUB+= RC_DIR=${RC_DIR} \
|
|
|
|
RC_SUFX=${RC_SUFX}
|
|
|
|
|
1997-03-23 18:33:50 +01:00
|
|
|
post-extract:
|
|
|
|
(cd ${WRKSRC}; make clean)
|
|
|
|
|
2004-01-03 07:59:22 +01:00
|
|
|
post-build:
|
|
|
|
@${SED} ${SED_SCRIPT} ${FILESDIR}/idled.sh >${WRKDIR}/idled.sh
|
|
|
|
|
1997-03-23 18:33:50 +01:00
|
|
|
post-install:
|
2004-01-03 07:59:22 +01:00
|
|
|
@${INSTALL_SCRIPT} ${WRKDIR}/idled.sh ${RC_DIR}/idled${RC_SUFX}
|
|
|
|
@${STRIP_CMD} ${PREFIX}/libexec/idled
|
1997-03-23 18:33:50 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|