freebsd-ports/sysutils/monit/Makefile
Baptiste Daroussin 9250d94365 Convert USE_BISON to USES= bison
It brings bison as a build dependency in case it is set the following way:
USES= bison or USES= bison:build

it brings bison as a run dependency in case it is set the following way:
USES= bison:run

it brings bison both as a run and build dependency in case it the set the following way:
USES= bison:both

While here trim some headers
Convert some USE_GNOME= gnomehack to USES= pathfix
2013-03-08 11:32:11 +00:00

47 lines
913 B
Makefile

# Created by: Martin Pala <martinp@tildeslash.com>
# $FreeBSD$
PORTNAME= monit
PORTVERSION= 5.5
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
USES= bison
USE_GMAKE= yes
USE_RC_SUBR= ${PORTNAME}
CONFIGURE_ENV= CONFIG_SHELL="${SH}" \
LOCALBASE="${LOCALBASE}"
OPTIONS_DEFINE= SSL
OPTIONS_DEFAULT=SSL
PLIST_FILES= bin/monit \
etc/monitrc.sample
SUB_FILES= pkg-message
DOCS= CHANGES COPYING README
PORTDOCS= ${DOCS:T}
.include <bsd.port.options.mk>
.if empty(PORT_OPTIONS:MSSL)
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>