Mercurial > hgrepos > FreeBSD > ports > net-mgmt > prometheus-client-c
comparison prometheus-client-c-libpromhttp/Makefile @ 11:b25a1823eec3
Move old libpromhttp into prometheus-client-c-libpromhttp/ directory.
Also remove its .hgignore because there is a new common .hgignore now already.
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Wed, 19 Mar 2025 08:50:48 +0100 |
| parents | Makefile@40cf179a620e |
| children |
comparison
equal
deleted
inserted
replaced
| 10:40cf179a620e | 11:b25a1823eec3 |
|---|---|
| 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> |
