aboutsummaryrefslogtreecommitdiff
path: root/devel/rubygem-prometheus-client-mmap/Makefile
blob: 0e9bb128997bc5d386662d8077377d0e194a6724 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
PORTNAME=	prometheus-client-mmap
DISTVERSION=	0.28.1
CATEGORIES=	devel rubygems
MASTER_SITES=	RG

MAINTAINER=	mfechner@FreeBSD.org
COMMENT=	Suite of instrumentation metric primitives
WWW=		https://gitlab.com/gitlab-org/prometheus-client-mmap

LICENSE=	APACHE20

RUN_DEPENDS=	rubygem-rb_sys>=0.9<1:lang/rubygem-rb_sys

USES=		gem
# needs to be migrated to rust
#USES=		cargo gem
#GEMFILES=	${GEM_NAME}${EXTRACT_SUFX}
#CARGO_CARGOTOML=	${WRKSRC}/ext/fast_mmaped_file_rs/Cargo.toml
#CARGO_CARGOLOCK=	${WRKSRC}/ext/fast_mmaped_file_rs/Cargo.lock

# Generate with: make cargo-crates
# 85dd

.include <bsd.port.options.mk>

.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
CONFIGURE_ARGS+=	--with-cflags="-Wno-error=incompatible-function-pointer-types"
.endif

.include <bsd.port.mk>