-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
34 lines (26 loc) · 1.28 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Created by: Jiri Kubicek <[email protected]>
# $FreeBSD$
PORTNAME= sensu
PORTVERSION= 0.9.13
CATEGORIES= net-mgmt rubygems
MASTER_SITES= RG
MAINTAINER= [email protected]
COMMENT= Sensu is a monitoring framework
SENSU_SERVER_CONFIG_FILE?= ${PREFIX}/etc/sensu.conf
SENSU_SERVER_CONFIG_DIR?= ${PREFIX}/etc/sensu/conf.d
SENSU_SERVER_LOG_FILE?= /var/log/sensu/server.log
SUB_LIST+= SENSU_SERVER_CONFIG_FILE=${SENSU_SERVER_CONFIG_FILE} SENSU_SERVER_CONFIG_DIR=${SENSU_SERVER_CONFIG_DIR} SENSU_SERVER_LOG_FILE=${SENSU_SERVER_LOG_FILE}
SENSU_CLIENT_CONFIG_FILE?= ${PREFIX}/etc/sensu_client.conf
SENSU_CLIENT_CONFIG_DIR?= ${SENSU_SERVER_CONFIG_DIR}
SENSU_CLIENT_LOG_FILE?= /var/log/sensu/client.log
SUB_LIST+= SENSU_CLIENT_CONFIG_FILE=${SENSU_CLIENT_CONFIG_FILE} SENSU_CLIENT_CONFIG_DIR=${SENSU_CLIENT_CONFIG_DIR} SENSU_CLIENT_LOG_FILE=${SENSU_CLIENT_LOG_FILE}
SUB_LIST+= SENSU_API_CONFIG_FILE=${SENSU_API_CONFIG_FILE} SENSU_API_CONFIG_DIR=${SENSU_API_CONFIG_DIR} SENSU_API_LOG_FILE=${SENSU_API_LOG_FILE}
SENSU_API_CONFIG_FILE?= ${SENSU_SERVER_CONFIG_FILE}
SENSU_API_CONFIG_DIR?= ${SENSU_SERVER_CONFIG_DIR}
SENSU_API_LOG_FILE?= /var/log/sensu/api.log
USE_RUBY= yes
USE_RUBYGEMS= yes
RUBYGEM_AUTOPLIST= yes
SUB_LIST+= RUBY=${RUBY}
USE_RC_SUBR= sensu_server sensu_client sensu_api
.include <bsd.port.mk>