comparison prometheus-client-c-libprom/Makefile @ 7:19458de35e56

Move old libprom into prometheus-client-c-libprom/ 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:46:04 +0100
parents Makefile@c7761c5a5389
children
comparison
equal deleted inserted replaced
6:c7761c5a5389 7:19458de35e56
1 PORTNAME= prometheus-client-c-libprom
2 DISTVERSION= 0.1.3
3 CATEGORIES= net-mgmt
4
5 MAINTAINER= freebsd-dev@dom66.de
6 COMMENT= This is libprom -- the 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 # Currently compilation errors on incompatible types with clang
20 USE_LDCONFIG= yes
21
22 CMAKE_SOURCE_PATH= ${WRKSRC}/prom
23
24 do-install:
25 (cd ${CMAKE_SOURCE_PATH}/include && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/include)
26 ${INSTALL_LIB} ${BUILD_WRKSRC}/libprom.so ${STAGEDIR}${PREFIX}/lib/libprom.so
27
28 .include <bsd.port.mk>