ports/sysutils/monit/Makefile
Doug Barton 9aac569eaa Move the rc.d scripts of the form *.sh.in to *.in
Where necessary add $FreeBSD$ to the file

No PORTREVISION bump necessary because this is a no-op
2012-08-05 23:19:36 +00:00

51 lines
1006 B
Makefile

# New ports collection makefile for: monit
# Date created: 4 January 2005
# Whom: Martin Pala <martinp@tildeslash.com>
#
# $FreeBSD$
#
PORTNAME= monit
PORTVERSION= 5.4
CATEGORIES= sysutils
MASTER_SITES= http://www.mmonit.com/monit/dist/
MAINTAINER= martinp@tildeslash.com
COMMENT= Unix system management and proactive monitoring
MAN1= monit.1
GNU_CONFIGURE= yes
USE_BISON= build
USE_GMAKE= yes
USE_RC_SUBR= ${PORTNAME}
CONFIGURE_ENV= CONFIG_SHELL="${SH}" \
LOCALBASE="${LOCALBASE}"
OPTIONS= SSL "Enable SSL support" on
PLIST_FILES= bin/monit \
etc/monitrc.sample
SUB_FILES= pkg-message
DOCS= CHANGES COPYING README
PORTDOCS= ${DOCS:T}
.include <bsd.port.options.mk>
.if defined(WITHOUT_SSL)
CONFIGURE_ARGS+= --without-ssl
.endif
post-install:
${INSTALL} -m 600 ${WRKSRC}/monitrc ${PREFIX}/etc/monitrc.sample
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
cd ${WRKSRC} && ${INSTALL} -m 644 ${DOCS} ${DOCSDIR}/
.endif
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>