landry e4da63ce02 Backport an upstream commit to fix 'vfprintf %s NULL in "%s"' errors in
syslog triggered by using 'check process'.

ok jasper@ & Caspar Schutijser (MAINTAINER)
2018-05-01 08:43:28 +00:00

34 lines
695 B
Makefile

# $OpenBSD: Makefile,v 1.58 2018/05/01 08:43:28 landry Exp $
COMMENT= monitoring and managing daemons utility
DISTNAME= monit-5.25.1
REVISION= 1
CATEGORIES= sysutils
HOMEPAGE= https://www.mmonit.com/monit/
MAINTAINER= Caspar Schutijser <caspar@schutijser.com>
# AGPLv3+
PERMIT_PACKAGE_CDROM= Yes
WANTLIB += c crypto m kvm pthread ssl z
MASTER_SITES= ${HOMEPAGE}/dist/
CONFIGURE_STYLE=gnu
SUBST_VARS= LOCALSTATEDIR
pre-configure:
${SUBST_CMD} ${WRKSRC}/monitrc
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/{doc,examples}/monit
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/monit
${INSTALL_DATA} ${WRKSRC}/monitrc ${PREFIX}/share/examples/monit
.include <bsd.port.mk>