# $FreeBSD: tags/RELEASE_10_3_0/x11/xdotool/Makefile 339414 2014-01-11 10:03:45Z vanilla $

PORTNAME=	xdotool
DISTVERSION=	2.20110530.1
PORTEPOCH=	1
CATEGORIES=	x11
MASTER_SITES=	http://semicomplete.googlecode.com/files/

MAINTAINER=	wxs@FreeBSD.org
COMMENT=	Programmatically simulate keyboard input or mouse activity

USE_LDCONFIG=	yes
USES=		gmake pkgconfig perl5
USE_XORG=	x11 xtst xinerama
USE_PERL5=	build

# Older GCC on RELENG_6 doesn't like -Wno-missing-field-initializers
post-patch:
	@${REINPLACE_CMD} -e 's,-Wno-missing-field-initializers,,' \
		${WRKSRC}/Makefile

.include <bsd.port.mk>
