freebsd-ports/sysutils/monit/Makefile
Vanilla I. Shu a1eff202d1 Upgrade to 5.11.
PR:		ports/196221
Submitted by:	maintainer
2014-12-23 02:25:16 +00:00

39 lines
830 B
Makefile

# Created by: Martin Pala <martinp@tildeslash.com>
# $FreeBSD$
PORTNAME= monit
PORTVERSION= 5.11
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>