2007-07-03 07:10:00 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= xdotool
|
2016-08-14 03:04:35 +02:00
|
|
|
DISTVERSIONPREFIX= v
|
2016-12-13 17:07:01 +01:00
|
|
|
DISTVERSION= 3.20160805.1
|
2010-03-03 02:39:27 +01:00
|
|
|
PORTEPOCH= 1
|
2007-07-03 07:10:00 +02:00
|
|
|
CATEGORIES= x11
|
|
|
|
|
2016-08-14 03:04:35 +02:00
|
|
|
MAINTAINER= gregf@hugops.pw
|
2012-07-25 13:24:09 +02:00
|
|
|
COMMENT= Programmatically simulate keyboard input or mouse activity
|
2007-07-03 07:10:00 +02:00
|
|
|
|
2016-08-14 20:42:22 +02:00
|
|
|
LICENSE= BSD3CLAUSE
|
2016-12-13 17:07:01 +01:00
|
|
|
LICENSE_FILE= ${WRKSRC}/COPYRIGHT
|
2016-08-14 20:42:22 +02:00
|
|
|
|
|
|
|
LIB_DEPENDS= libxkbcommon.so:x11/libxkbcommon
|
|
|
|
|
2016-08-14 03:04:35 +02:00
|
|
|
USE_GITHUB= yes
|
|
|
|
GH_ACCOUNT= jordansissel
|
|
|
|
|
2010-05-14 14:23:00 +02:00
|
|
|
USE_LDCONFIG= yes
|
2013-09-12 19:07:08 +02:00
|
|
|
USES= gmake pkgconfig perl5
|
2011-05-30 22:14:32 +02:00
|
|
|
USE_XORG= x11 xtst xinerama
|
2013-09-12 19:07:08 +02:00
|
|
|
USE_PERL5= build
|
2007-07-03 07:10:00 +02:00
|
|
|
|
2016-12-13 17:07:01 +01:00
|
|
|
PLIST_FILES= bin/xdotool include/xdo.h lib/libxdo.so \
|
|
|
|
lib/libxdo.so.3 man/man1/xdotool.1.gz
|
|
|
|
|
2009-02-11 18:43:19 +01:00
|
|
|
# Older GCC on RELENG_6 doesn't like -Wno-missing-field-initializers
|
2008-05-28 02:46:08 +02:00
|
|
|
post-patch:
|
2010-05-14 14:23:00 +02:00
|
|
|
@${REINPLACE_CMD} -e 's,-Wno-missing-field-initializers,,' \
|
|
|
|
${WRKSRC}/Makefile
|
2008-05-28 02:46:08 +02:00
|
|
|
|
2016-12-13 17:07:01 +01:00
|
|
|
post-install:
|
|
|
|
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/xdotool \
|
|
|
|
${STAGEDIR}${PREFIX}/lib/libxdo.so.3
|
|
|
|
|
2007-07-03 07:10:00 +02:00
|
|
|
.include <bsd.port.mk>
|