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

39 lines
1.1 KiB
Makefile

PORTNAME= libosinfo
PORTVERSION= 1.11.0
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= https://releases.pagure.org/libosinfo/
MAINTAINER= novel@FreeBSD.org
COMMENT= Library for managing OS information for virtualization
WWW= https://libosinfo.org/
LIB_DEPENDS= libsoup-2.4.so:devel/libsoup
BUILD_DEPENDS= ${LOCALBASE}/share/pciids/pci.ids:misc/pciids \
${LOCALBASE}/share/usbids/usb.ids:misc/usbids
RUN_DEPENDS:= ${BUILD_DEPENDS} \
osinfo-db-import:sysutils/osinfo-db-tools \
${LOCALBASE}/share/osinfo/VERSION:misc/osinfo-db
USES= compiler:c11 cpe gettext gmake gnome libtool pathfix \
pkgconfig tar:xz meson
USE_GNOME= glib20 libxml2 libxslt introspection:build intlhack
USE_LDCONFIG= yes
INSTALL_TARGET= install-strip
CONFIGURE_ARGS+= -Denable-vala=disabled \
-Dwith-usb-ids-path=${LOCALBASE}/share/usbids/usb.ids \
-Dwith-pci-ids-path=${LOCALBASE}/share/pciids/pci.ids
SHLIB_VER= 0.1011.0
PLIST_SUB= SHLIB_VER=${SHLIB_VER}
OPTIONS_DEFINE= GTKDOC
OPTIONS_DEFAULT= GTKDOC
OPTIONS_SUB= yes
GTKDOC_DESC= Build gtk-doc documentation
GTKDOC_BUILD_DEPENDS= gtkdoc-scan:textproc/gtk-doc
GTKDOC_MESON_TRUE= enable-gtk-doc
.include <bsd.port.mk>