PORTNAME=	xmlpatterns
PORTVERSION=	${QT5_VERSION}${QT5_KDE_PATCH}
CATEGORIES=	textproc
PKGNAMEPREFIX=	qt5-

MAINTAINER=	ports@MidnightBSD.org
COMMENT=	Qt support for XPath, XQuery, XSLT and XML Schema

USES=		compiler:c++11-lang perl5 qmake:norecursive qt-dist:5,xmlpatterns
USE_PERL5=	build
USE_QT=		core declarative network buildtools:build
USE_LDCONFIG=	${PREFIX}/${QT_LIBDIR_REL}

QT_BINARIES=	yes

post-install:
	${REINPLACE_CMD} 's|/../../../../|/../../../|g' \
		${PREFIX}/lib/cmake/Qt5XmlPatterns/Qt5XmlPatternsConfig.cmake

.include <bsd.port.mk>
