# $MidnightBSD: mports/x11/libXtst/Makefile,v 1.8 2013/06/12 23:42:17 laffer1 Exp $

PORTNAME=	libXtst
PORTVERSION=	1.2.2
CATEGORIES=	x11

MAINTAINER=	ports@MidnightBSD.org
COMMENT=	X Test extension
LICENSE=	mit

XORG_CAT=	lib
USE_XORG=	x11 xext recordproto:both xextproto inputproto:both \
		xi
USE_AUTOTOOLS=	libtool

CONFIGURE_ARGS+=--disable-specs --without-xmlto

MAN3=	XTestCompareCurrentCursorWithWindow.3 \
	XTestCompareCursorWithWindow.3 \
	XTestDiscard.3 \
	XTestFakeButtonEvent.3 \
	XTestFakeKeyEvent.3 \
	XTestFakeMotionEvent.3 \
	XTestFakeRelativeMotionEvent.3 \
	XTestGrabControl.3 \
	XTestQueryExtension.3 \
	XTestSetGContextOfGC.3 \
	XTestSetVisualIDOfVisual.3

post-patch:
	@${REINPLACE_CMD} '/^SUBDIRS/,/^$$/ \
		s/specs//' ${WRKSRC}/Makefile.in

.include <bsd.port.mk>
