1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-04 06:15:24 +00:00
freebsd-ports/sysutils/diskcheckd/Makefile
Vanilla I. Shu 036cc85c08 Stagify.
Approved by:	portmgr@ (blanket approval)
2014-06-26 16:00:00 +00:00

37 lines
1.1 KiB
Makefile

# Created by: David W. Chapman Jr. (dwcjr@FreeBSD.org)
# $FreeBSD$
PORTNAME= diskcheckd
PORTVERSION= 20110729
CATEGORIES= sysutils
MASTER_SITES= # part of port
DISTFILES= # part of port
EXTRACT_ONLY= # part of port
MAINTAINER= perryh@pluto.rain.com
COMMENT= Daemon to check for disk read errors
LICENSE= BSD2CLAUSE
USE_RC_SUBR= diskcheckd
CFLAGS+= -D_PATH_CONF='\"${PREFIX}/etc/diskcheckd.conf\"'
MAKEFILE= /usr/share/mk/bsd.prog.mk
MAKE_ARGS= PROG=diskcheckd MAN8=diskcheckd.8
do-extract:
@${MKDIR} ${WRKSRC}
.for f in diskcheckd.c diskcheckd.8
@(cd ${WRKSRC} ; ${CP} ${FILESDIR}/${f} .)
.endfor
do-patch:
@${REINPLACE_CMD} -e 's|/usr/local/etc/diskcheckd.conf|${PREFIX}/etc/diskcheckd.conf|g' ${WRKSRC}/diskcheckd.8
do-install:
${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
.include <bsd.port.mk>