ports/misc/libmodulemd/Makefile
Muhammad Moinur Rahman 9f8f710b3e */*: Sanitize MANPREFIX for meson ports
Approved by:	portmgr
2024-01-12 23:40:48 +01:00

31 lines
846 B
Makefile

PORTNAME= libmodulemd
DISTVERSION= 2.15.0
PORTREVISION= 1
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}
.include <bsd.port.mk>