a65a9d1cbb
Folsom is an Erlang based metrics system inspired by Coda Hale's metrics. The metrics API's purpose is to collect realtime metrics from your Erlang applications and publish them via Erlang APIs and output plugins. folsom is not a persistent store. There are 6 types of metrics: counters, gauges, histograms (and timers), histories, meter_readers and meters. Metrics can be created, read and updated via the folsom_metrics module. ok aja@
45 lines
1.0 KiB
Makefile
45 lines
1.0 KiB
Makefile
# $OpenBSD: Makefile,v 1.1.1.1 2013/03/08 11:57:32 jasper Exp $
|
|
|
|
COMMENT= expose Erlang events and metrics
|
|
|
|
VERSION= 0.7.4
|
|
DISTNAME= folsom-${VERSION}
|
|
PKGNAME= erl-${DISTNAME}
|
|
CATEGORIES= devel lang/erlang
|
|
|
|
HOMEPAGE= https://github.com/boundary/jiffy
|
|
|
|
# Apache2
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
MASTER_SITES= http://distfiles.nl/
|
|
TAR= ${LOCALBASE}/bin/gtar
|
|
|
|
BUILD_DEPENDS= archivers/gtar \
|
|
devel/rebar
|
|
RUN_DEPENDS= devel/erl-automeck \
|
|
devel/erl-bear \
|
|
lang/erlang
|
|
|
|
ERL_LIBDIR= ${PREFIX}/lib/erlang/lib/${DISTNAME}
|
|
SUBST_VARS+= VERSION
|
|
|
|
pre-configure:
|
|
${SUBST_CMD} ${WRKSRC}/src/folsom.app.src
|
|
|
|
do-build:
|
|
cd ${WRKSRC} && ${LOCALBASE}/bin/rebar compile
|
|
|
|
do-regress:
|
|
cd ${WRKSRC} && ${LOCALBASE}/bin/rebar eunit
|
|
|
|
do-install:
|
|
${INSTALL_DATA_DIR} ${ERL_LIBDIR}/{ebin,include,src}
|
|
${INSTALL_DATA} ${WRKSRC}/ebin/*.{app,beam} ${ERL_LIBDIR}/ebin/
|
|
${INSTALL_DATA} ${WRKSRC}/include/*.hrl ${ERL_LIBDIR}/include/
|
|
${INSTALL_DATA} ${WRKSRC}/src/*.erl ${ERL_LIBDIR}/src/
|
|
|
|
.include <bsd.port.mk>
|