PORTNAME=	at-spi2-core
PORTVERSION=	2.40.3
DISTVERSIONSUFFIX=	-1.el9
PORTREVISION=	1
CATEGORIES=	accessibility linux

MAINTAINER=	emulation@FreeBSD.org
COMMENT=	Assistive technology service provider interface (Rocky Linux ${LINUX_DIST_VER})
WWW=		https://gitlab.gnome.org/GNOME/at-spi2-core

LICENSE=	LGPL20+

RUN_DEPENDS=	at-spi2-core>=2.28.0:accessibility/at-spi2-core

USES=		linux:rl9
USE_LDCONFIG=	yes
USE_LINUX=	dbuslibs xorglibs
USE_LINUX_RPM=	yes
WANT_LINUX32=	yes

OPTIONS_DEFINE=	DOCS NLS
OPTIONS_SUB=	yes

post-patch:
.for d in etc usr/lib/systemd usr/libexec usr/share/dbus-1 usr/share/defaults
	@${RM} -r ${WRKSRC}/${d}
.endfor

.include <bsd.port.mk>
