summaryrefslogtreecommitdiff
path: root/sysutils/monitord/Makefile
blob: 264e17928c6d77dba88e66ff0b138f6a481c4a28 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Created by: walt
# $FreeBSD$

PORTNAME=	monitord
PORTVERSION=	0.4.1
PORTREVISION=	3
CATEGORIES=	sysutils
MASTER_SITES=	ftp://ftp.erudition.net/pub/monitord/ CENKES

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Service that restarts other standalone services

USE_RC_SUBR=	monitord
MAN8=		monitord.8

NO_STAGE=	yes
post-patch:
	@${REINPLACE_CMD} -e 's|syslodg|syslogd|' ${WRKSRC}/${MAN8}
	@${REINPLACE_CMD} -e 's|-pipe||' ${WRKSRC}/Makefile

post-install:
	@${INSTALL_DATA} ${WRKSRC}/monitord.conf.sample \
		${PREFIX}/etc/monitord.conf.sample
	@${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>