1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-05 01:55:52 +00:00
freebsd-ports/sysutils/diskcheckd/Makefile
FUJISHIMA Satsuki 1aa485f56a unbreak at bento: ${LN} -f mostly does not work if WRKDIRPREFIX is set.
remove MANCOMPRESSED=no, this is default.
2001-09-11 18:56:20 +00:00

52 lines
1.3 KiB
Makefile

# ex:ts=8
# Ports collection makefile for: diskcheckd
# Date created: Thu Aug 23, 2001
# Whom: David W. Chapman Jr. (dwcjr@FreeBSD.org)
#
# $FreeBSD$
#
PORTNAME= diskcheckd
PORTVERSION= 20010823
PORTREVISION= 3
CATEGORIES= sysutils
MASTER_SITES= # part of port
DISTFILES= # part of port
EXTRACT_ONLY= # part of port
MAINTAINER= ports@FreeBSD.org
STARTUP= diskcheckd.sh
MAN8= diskcheckd.8
MLINKS= diskcheckd.8 diskcheckd.conf.5
NO_WRKSUBDIR= yes
CFLAGS+= -D_PATH_CONF='\"${PREFIX}/etc/diskcheckd.conf\"'
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500000
BROKEN= "Not tested on anything less than 5.0, use at discretion"
.endif
do-extract:
@${MKDIR} ${WRKSRC}
.for file in Makefile diskcheckd.c diskcheckd.8
@(cd ${WRKSRC} ; ${CP} ${FILESDIR}/${file} .)
.endfor
do-patch:
@${PERL} -pi.fbsd -e 's|/usr/local/sbin|${PREFIX}/sbin|g' ${WRKSRC}/Makefile
@${PERL} -pi.fbsd -e 's|/usr/local/etc/diskcheckd.conf|${PREFIX}/etc/diskcheckd.conf|g' ${WRKSRC}/diskcheckd.8
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/diskcheckd ${PREFIX}/sbin
${INSTALL_DATA} ${FILESDIR}/diskcheckd.conf ${PREFIX}/etc/diskcheckd.conf.sample
${INSTALL_SCRIPT} ${FILESDIR}/diskcheckd.sh ${PREFIX}/etc/rc.d
${INSTALL_MAN} ${WRKSRC}/diskcheckd.8 ${PREFIX}/man/man8
${LN} -sf ${PREFIX}/man/man8/diskcheckd.8 ${PREFIX}/man/man5/diskcheckd.conf.5
.include <bsd.port.post.mk>