aboutsummaryrefslogtreecommitdiff
path: root/misc/libmodulemd/Makefile
blob: 4963d40d00d57f28abe9f737135cc629046c8084 (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
31
32
33
34
35
36
37
38
PORTNAME=	libmodulemd
DISTVERSION=	2.15.2
CATEGORIES=	misc
MASTER_SITES=	https://github.com/fedora-modularity/${PORTNAME}/releases/download/${DISTVERSION}/
DISTNAME=	modulemd-${DISTVERSION}

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	C Library for manipulating module metadata files
WWW=		https://github.com/fedora-modularity/libmodulemd

LICENSE=	MIT
LICENSE_FILE=	${WRKSRC}/COPYING

BUILD_DEPENDS=	bash:shells/bash \
		help2man:misc/help2man
LIB_DEPENDS=	librpmio.so:archivers/rpm4 \
		libyaml.so:textproc/libyaml
TEST_DEPENDS=	bash:shells/bash

USES=		compiler:c11 gnome meson pkgconfig shebangfix tar:xz
USE_GNOME=	glib20 introspection:build
USE_LDCONFIG=	yes

SHEBANG_FILES=	modulemd/tests/test-import-headers.sh

MESON_ARGS=	-Dwith_manpages="enabled" -Dwith_docs=false

BINARY_ALIAS=	gcc=${CC} g++=${CXX}

# tests as of 2.15.2:
# Ok:                 115
# Expected Fail:      0
# Fail:               0
# Unexpected Pass:    0
# Skipped:            0
# Timeout:            0

.include <bsd.port.mk>