2010-09-29 05:44:01 +02:00
|
|
|
# New ports collection makefile for: doinkd
|
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
|
|
|
|
2010-09-29 05:44:01 +02:00
|
|
|
PORTNAME= doinkd
|
|
|
|
PORTVERSION= 0.01
|
2010-09-29 07:14:11 +02:00
|
|
|
PORTREVISION= 1
|
1997-03-23 18:33:50 +01:00
|
|
|
CATEGORIES= sysutils
|
2010-09-29 05:44:01 +02:00
|
|
|
MASTER_SITES= SF/idled/${PORTNAME}/${PORTVERSION}/
|
2009-07-15 07:09:46 +02:00
|
|
|
|
2010-09-29 05:44:01 +02:00
|
|
|
MAINTAINER= cy@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:24:34 +01:00
|
|
|
MANCOMPRESSED= yes
|
2010-09-29 05:44:01 +02:00
|
|
|
MAN5= doinkd.cf.5
|
|
|
|
MAN8= doinkd.8
|
1997-03-23 18:33:50 +01:00
|
|
|
|
2009-07-15 07:09:46 +02:00
|
|
|
USE_RC_SUBR= ${PORTNAME}
|
2004-01-03 07:59:22 +01:00
|
|
|
|
2010-09-29 05:44:01 +02:00
|
|
|
PLIST_FILES= etc/doinkd/doinkd.cf.template sbin/doinkd
|
|
|
|
PLIST_DIRS= etc/doinkd
|
2004-01-03 07:59:22 +01:00
|
|
|
|
2010-02-02 07:03:37 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${OSVERSION} > 900006
|
|
|
|
EXTRA_PATCHES= ${PATCHDIR}/utmpx-Makefile \
|
2010-09-29 05:44:01 +02:00
|
|
|
${PATCHDIR}/utmpx-doinkd.h \
|
|
|
|
${PATCHDIR}/utmpx-doinkd.c
|
2010-02-02 07:03:37 +01:00
|
|
|
.else
|
|
|
|
EXTRA_PATCHES= ${PATCHDIR}/utmp-Makefile
|
|
|
|
.endif
|
|
|
|
|
1997-03-23 18:33:50 +01:00
|
|
|
post-extract:
|
|
|
|
(cd ${WRKSRC}; make clean)
|
|
|
|
|
2010-09-29 05:44:01 +02:00
|
|
|
pre-install:
|
|
|
|
${MKDIR} ${PREFIX}/etc/doinkd
|
|
|
|
|
1997-03-23 18:33:50 +01:00
|
|
|
post-install:
|
2010-09-29 05:44:01 +02:00
|
|
|
@${STRIP_CMD} ${PREFIX}/sbin/doinkd
|
1997-03-23 18:33:50 +01:00
|
|
|
|
2010-02-02 07:03:37 +01:00
|
|
|
.include <bsd.port.post.mk>
|