# New ports collection makefile for:   xdotool
# Date created:        29 June 2007
# Whom:                Wesley Shields <wxs@atarininja.org>
#
# $FreeBSD: ports/x11/xdotool/Makefile,v 1.17 2010/03/03 01:39:27 wxs Exp $
#

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

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

USE_PERL5_BUILD=	yes
USE_GMAKE=	yes
USE_GNOME=	pkgconfig
USE_XORG=	x11 xtst

MAN1=		xdotool.1
PLIST_FILES=	bin/xdotool lib/libxdo.so lib/libxdo.so.1 include/xdo.h
MAKE_JOBS_SAFE=	yes

# 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>
