2013-09-21 01:05:58 +02:00
|
|
|
# Created by: David W. Chapman Jr. (dwcjr@FreeBSD.org)
|
2001-08-24 16:33:12 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= diskcheckd
|
2015-03-01 21:08:57 +01:00
|
|
|
PORTVERSION= 20150220
|
2001-08-24 16:33:12 +02:00
|
|
|
CATEGORIES= sysutils
|
|
|
|
MASTER_SITES= # part of port
|
|
|
|
DISTFILES= # part of port
|
|
|
|
EXTRACT_ONLY= # part of port
|
|
|
|
|
2011-08-31 13:40:26 +02:00
|
|
|
MAINTAINER= perryh@pluto.rain.com
|
2003-02-20 20:00:52 +01:00
|
|
|
COMMENT= Daemon to check for disk read errors
|
2001-08-24 16:33:12 +02:00
|
|
|
|
2014-06-26 18:00:00 +02:00
|
|
|
LICENSE= BSD2CLAUSE
|
2001-08-28 18:52:45 +02:00
|
|
|
|
2006-05-20 01:38:08 +02:00
|
|
|
USE_RC_SUBR= diskcheckd
|
2001-08-29 07:41:00 +02:00
|
|
|
CFLAGS+= -D_PATH_CONF='\"${PREFIX}/etc/diskcheckd.conf\"'
|
2005-10-06 15:07:46 +02:00
|
|
|
MAKEFILE= /usr/share/mk/bsd.prog.mk
|
2014-06-26 18:00:00 +02:00
|
|
|
MAKE_ARGS= PROG=diskcheckd MAN8=diskcheckd.8
|
2001-08-28 18:52:45 +02:00
|
|
|
|
2001-08-24 16:33:12 +02:00
|
|
|
do-extract:
|
|
|
|
@${MKDIR} ${WRKSRC}
|
2007-10-04 08:10:15 +02:00
|
|
|
.for f in diskcheckd.c diskcheckd.8
|
|
|
|
@(cd ${WRKSRC} ; ${CP} ${FILESDIR}/${f} .)
|
2001-08-28 18:52:45 +02:00
|
|
|
.endfor
|
|
|
|
|
|
|
|
do-patch:
|
2002-09-01 18:07:59 +02:00
|
|
|
@${REINPLACE_CMD} -e 's|/usr/local/etc/diskcheckd.conf|${PREFIX}/etc/diskcheckd.conf|g' ${WRKSRC}/diskcheckd.8
|
2001-08-24 16:33:12 +02:00
|
|
|
|
|
|
|
do-install:
|
2014-06-26 18:00:00 +02:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/diskcheckd ${STAGEDIR}${PREFIX}/sbin
|
|
|
|
${INSTALL_DATA} ${FILESDIR}/diskcheckd.conf ${STAGEDIR}${PREFIX}/etc/diskcheckd.conf.sample
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/diskcheckd.8 ${STAGEDIR}${MAN8PREFIX}/man/man5/diskcheckd.conf.5
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/diskcheckd.8 ${STAGEDIR}${MAN8PREFIX}/man/man8
|
2001-08-24 16:33:12 +02:00
|
|
|
|
2007-10-04 08:10:15 +02:00
|
|
|
.include <bsd.port.mk>
|