Files
ports/net-mgmt/rubygem-riemann-dash/Makefile
T
Dave Cottlehuber 059320610e net-mgmt/rubygem-riemann-*: new ports for the riemann.io suite
Riemann [net-mgmt/riemann] is a streaming event monitoring system
designed for monitoring distributed systems in real time.

This commit introduces the following gems:

- rubygem-riemann-client
- rubygem-riemann-dash
- rubygem-riemann-rabbitmq
- rubygem-riemann-tail
- rubygem-riemann-tools

Which allows connecting to riemann, to set & query events and the index,
to view event status in real-time, whether as a dashboard of events, or
as a classic tail in the terminal. An additional comprehensive set of
integrations for popular tools such as Varnish, Haproxy, nginx,
RabbitMQ, and more, are included in the riemann-tools gem.

More information about Riemann in general is at https://riemann.io/

Reviewed by:	romain
Approved by:	jrm (mentor)
Differential Revision:	https://reviews.freebsd.org/D17710
2019-05-24 07:18:19 +00:00

36 lines
971 B
Makefile

# $FreeBSD$
PORTNAME= riemann-dash
DISTVERSION= 0.2.14
CATEGORIES= net-mgmt rubygems
MASTER_SITES= RG
MAINTAINER= dch@FreeBSD.org
COMMENT= Configurable websocket/javascript based dashboard for net-mgmt/riemann
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= rubygem-multi_json>=0:devel/rubygem-multi_json \
rubygem-sass>=0:textproc/rubygem-sass \
rubygem-erubis>=0:www/rubygem-erubis \
rubygem-sinatra>=0:www/rubygem-sinatra
USES= gem
NO_ARCH= yes
USE_RUBY= yes
post-install:
# move the public HTML files into DATADIR for webservers
# even when the package version & path changes
${MKDIR} ${STAGEDIR}${DATADIR}
${MV} ${STAGEDIR}${PREFIX}/${GEM_LIB_DIR}/lib/riemann/dash/public \
${STAGEDIR}${DATADIR}/www
# the eruby template is valid HTML so drop it into public dir
# and it can all be served directly via your webserver
${CP} ${WRKSRC}/lib/riemann/dash/views/index.erubis \
${STAGEDIR}${DATADIR}/www/index.html
.include <bsd.port.mk>