summaryrefslogtreecommitdiff
path: root/devel/prometheus-cpp
diff options
context:
space:
mode:
Diffstat (limited to 'devel/prometheus-cpp')
-rw-r--r--devel/prometheus-cpp/Makefile23
-rw-r--r--devel/prometheus-cpp/distinfo3
-rw-r--r--devel/prometheus-cpp/pkg-descr6
-rw-r--r--devel/prometheus-cpp/pkg-plist29
4 files changed, 61 insertions, 0 deletions
diff --git a/devel/prometheus-cpp/Makefile b/devel/prometheus-cpp/Makefile
new file mode 100644
index 000000000000..dc115e58e195
--- /dev/null
+++ b/devel/prometheus-cpp/Makefile
@@ -0,0 +1,23 @@
+PORTNAME= prometheus-cpp
+DISTVERSIONPREFIX= v
+DISTVERSION= 1.3.0
+CATEGORIES= devel
+
+MAINTAINER= zi@FreeBSD.org
+COMMENT= Prometheus Client Library for Modern C++
+WWW= https://github.com/jupp0r/prometheus-cpp
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+USES= cmake ssl
+USE_GITHUB= yes
+GH_ACCOUNT= jupp0r
+
+CMAKE_OFF= ENABLE_PUSH ENABLE_COMPRESSION THIRDPARTY_CIVETWEB_WITH_SSL \
+ ENABLE_TESTING ENABLE_PULL
+CMAKE_ON= BUILD_SHARED_LIBS
+
+PLIST_SUB= PORTVERSION=${PORTVERSION}
+
+.include <bsd.port.mk>
diff --git a/devel/prometheus-cpp/distinfo b/devel/prometheus-cpp/distinfo
new file mode 100644
index 000000000000..770e35177003
--- /dev/null
+++ b/devel/prometheus-cpp/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1751651606
+SHA256 (jupp0r-prometheus-cpp-v1.3.0_GH0.tar.gz) = ac6e958405a29fbbea9db70b00fa3c420e16ad32e1baf941ab233ba031dd72ee
+SIZE (jupp0r-prometheus-cpp-v1.3.0_GH0.tar.gz) = 69921
diff --git a/devel/prometheus-cpp/pkg-descr b/devel/prometheus-cpp/pkg-descr
new file mode 100644
index 000000000000..d4f5cc9e9fd3
--- /dev/null
+++ b/devel/prometheus-cpp/pkg-descr
@@ -0,0 +1,6 @@
+This library aims to enable Metrics-Driven Development for C++ services.
+
+It implements the Prometheus Data Model, a powerful abstraction on which
+to collect and expose metrics. We offer the possibility for metrics to
+be collected by Prometheus, but other push/pull collections can be added
+as plugins.
diff --git a/devel/prometheus-cpp/pkg-plist b/devel/prometheus-cpp/pkg-plist
new file mode 100644
index 000000000000..056c557ec25d
--- /dev/null
+++ b/devel/prometheus-cpp/pkg-plist
@@ -0,0 +1,29 @@
+include/prometheus/check_names.h
+include/prometheus/client_metric.h
+include/prometheus/collectable.h
+include/prometheus/counter.h
+include/prometheus/detail/builder.h
+include/prometheus/detail/ckms_quantiles.h
+include/prometheus/detail/core_export.h
+include/prometheus/detail/future_std.h
+include/prometheus/detail/time_window_quantiles.h
+include/prometheus/detail/utils.h
+include/prometheus/family.h
+include/prometheus/gauge.h
+include/prometheus/histogram.h
+include/prometheus/info.h
+include/prometheus/labels.h
+include/prometheus/metric_family.h
+include/prometheus/metric_type.h
+include/prometheus/registry.h
+include/prometheus/serializer.h
+include/prometheus/summary.h
+include/prometheus/text_serializer.h
+lib/cmake/prometheus-cpp/prometheus-cpp-config-version.cmake
+lib/cmake/prometheus-cpp/prometheus-cpp-config.cmake
+lib/cmake/prometheus-cpp/prometheus-cpp-targets-%%CMAKE_BUILD_TYPE%%.cmake
+lib/cmake/prometheus-cpp/prometheus-cpp-targets.cmake
+lib/libprometheus-cpp-core.so
+lib/libprometheus-cpp-core.so.1.3
+lib/libprometheus-cpp-core.so.%%PORTVERSION%%
+libdata/pkgconfig/prometheus-cpp-core.pc