description X11 keyboard and mouse simulation utility
long_description ${name} lets you programatically (or manually) \
simulate keyboard input and mouse activity\; \
move, resize, hide and show windows\; \
modify window properties like the title\; etc.
notes "To use xdotool (and avoid the error message\
\"Error: XTEST extension unavailable on '(null)'\")\
you need to enable the XTEST extension. If you're\
using Apple's X11.app, the command to do so is:\
\n\ndefaults write org.x.X11 enable_test_extensions -boolean true\
\n\nIf you're using the MacPorts X11.app, use:\
\n\ndefaults write org.macports.X11 enable_test_extensions -boolean true\
\n\nThis only needs to be done once."
homepage http://www.semicomplete.com/projects/xdotool/
master_sites googlecode:semicomplete
checksums md5 f66ded5c7aa6df4971aef15c5f83e787 \
sha1 f23d45f0f5669a6a24cabd0e208a62cf51f7ada7 \
rmd160 9ee230451893b8068dfc88c9f61c159426c8bfa2
depends_build port:pkgconfig \
depends_lib port:xorg-libXtst
patchfiles patch-Makefile.diff
build.env PREFIX=${prefix} \
CFLAGS="${configure.cflags}" \
LDFLAGS="${configure.ldflags}"
destroot.env PREFIX=${prefix} \
INSTALLMAN=${prefix}/share/man
xinstall -d ${destroot}${prefix}/share/doc/${name} ${destroot}${prefix}/share/examples
xinstall -m 644 -W ${worksrcpath} CHANGELIST COPYRIGHT README VERSION ${destroot}${prefix}/share/doc/${name}
copy ${worksrcpath}/examples ${destroot}${prefix}/share/examples/${name}
livecheck.url http://code.google.com/p/semicomplete/downloads/list?q=${name}
livecheck.regex ${name}-(\\d+\\.\\d+\\.\\d+)\\.tar