579533b857
Bug fix release with several fixes, now using the ISO 8601 format timestamp in log files[1]. [1] https://mmonit.com/monit/changes/ PR: 250583 Submitted by: Martin Pala <martinp@tildeslash.com> (maintainer) Approved by: arrowd (mentor) Differential Revision: https://reviews.freebsd.org/D26940
39 lines
811 B
Makefile
39 lines
811 B
Makefile
# Created by: Martin Pala <martinp@tildeslash.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= monit
|
|
PORTVERSION= 5.27.1
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= https://mmonit.com/monit/dist/
|
|
|
|
MAINTAINER= martinp@tildeslash.com
|
|
COMMENT= Unix system management and proactive monitoring
|
|
|
|
LICENSE= AGPLv3
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
GNU_CONFIGURE= yes
|
|
USES= bison gmake
|
|
USE_RC_SUBR= ${PORTNAME}
|
|
|
|
PLIST_FILES= bin/monit \
|
|
etc/monitrc.sample \
|
|
man/man1/monit.1.gz
|
|
|
|
SUB_FILES= pkg-message
|
|
|
|
PORTDOCS= COPYING CHANGES
|
|
|
|
OPTIONS_DEFINE= DOCS SSL
|
|
OPTIONS_DEFAULT=SSL
|
|
|
|
SSL_CONFIGURE_OFF= --without-ssl
|
|
SSL_USES= ssl
|
|
|
|
post-install:
|
|
${INSTALL} -m 600 ${WRKSRC}/monitrc ${STAGEDIR}${PREFIX}/etc/monitrc.sample
|
|
${INSTALL} -d ${STAGEDIR}${DOCSDIR}
|
|
cd ${WRKSRC} && ${INSTALL} -m 644 ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|