1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00
freebsd-ports/sysutils/monit/Makefile
Sunpoet Po-Chuan Hsieh 8c21cb29b4 - Update to 5.8.1
- While I'm here, fix PORTDOCS

Changes:	http://mmonit.com/monit/changes/
PR:		ports/189724
Submitted by:	Martin Pala <martinp@tildeslash.com> (maintainer)
2014-05-13 14:34:58 +00:00

40 lines
831 B
Makefile

# Created by: Martin Pala <martinp@tildeslash.com>
# $FreeBSD$
PORTNAME= monit
PORTVERSION= 5.8.1
CATEGORIES= sysutils
MASTER_SITES= http://www.mmonit.com/monit/dist/
MAINTAINER= martinp@tildeslash.com
COMMENT= Unix system management and proactive monitoring
LICENSE= AGPLv3
GNU_CONFIGURE= yes
USES= bison gmake
USE_RC_SUBR= ${PORTNAME}
CONFIGURE_ENV= CONFIG_SHELL="${SH}" \
LOCALBASE="${LOCALBASE}"
OPTIONS_DEFINE= DOCS SSL
OPTIONS_DEFAULT=SSL
PLIST_FILES= bin/monit \
etc/monitrc.sample \
man/man1/monit.1.gz
SUB_FILES= pkg-message
PORTDOCS= COPYING README
SSL_CONFIGURE_OFF= --without-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>