PORTNAME=	libdbusmenu-lxqt
PORTVERSION=	0.5.0
CATEGORIES=	devel
MASTER_SITE=	LXQT/${PORTNAME}

MAINTAINER=	lxqt@FreeBSD.org
COMMENT=	Qt6 implementation of the DBusMenu protocol
WWW=		https://github.com/lxqt/libdbusmenu-lxqt

LICENSE=	LGPL20

USES=		compiler:c++17-lang cmake lxqt:2 qt:6 tar:xz
USE_LDCONFIG=	yes
USE_LXQT=	buildtools2
USE_QT=		base

post-patch:
	@${REINPLACE_CMD} -e '/add_subdirectory(tests)/ d' \
			  -e '/add_subdirectory(tools)/ d' \
		${WRKSRC}/CMakeLists.txt

.include <bsd.port.mk>
