aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/monitord/Makefile
blob: 2580a14a9f30683f742de2b05f744d6f608680b5 (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
27
28
29
# New ports collection makefile for:    monitord
# Date created:             5 June 2000
# Whom:                 walt
#
# $FreeBSD$
#

PORTNAME=   monitord
PORTVERSION=    0.4.1
PORTREVISION=   2
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

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>