comparison prometheus-client-c-libpromhttp/Makefile @ 12:b3adf5848e4c default tip

MERGE: the moved libpromhttp
author Franz Glasner <fzglas.hg@dom66.de>
date Wed, 19 Mar 2025 08:51:37 +0100
parents b25a1823eec3
children
comparison
equal deleted inserted replaced
8:e38a6e16e756 12:b3adf5848e4c
1 PORTNAME= prometheus-client-c-libpromhttp
2 DISTVERSION= 0.1.3
3 CATEGORIES= net-mgmt
4
5 MAINTAINER= freebsd-dev@dom66.de
6 COMMENT= This is libpromhttp -- a C-client library for Prometheus
7 WWW= https://github.com/digitalocean/prometheus-client-c
8
9 LICENSE= APACHE20
10 LICENSE_FILE= ${WRKSRC}/LICENSE
11
12 USES= cmake:noninja compiler:c11
13
14 USE_GITHUB= yes
15 GH_ACCOUNT= digitalocean
16 GH_PROJECT= prometheus-client-c
17 GH_TAGNAME= v${DISTVERSION}
18
19 LIB_DEPENDS= libprom.so:net-mgmt/prometheus-client-c-libprom \
20 libmicrohttpd.so:www/libmicrohttpd
21
22 USE_LDCONFIG= yes
23
24 CMAKE_SOURCE_PATH= ${WRKSRC}/promhttp
25
26 do-install:
27 (cd ${CMAKE_SOURCE_PATH}/include && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/include)
28 ${INSTALL_LIB} ${BUILD_WRKSRC}/libpromhttp.so ${STAGEDIR}${PREFIX}/lib/libpromhttp.so
29
30 .include <bsd.port.mk>