aboutsummaryrefslogblamecommitdiff
path: root/x11/xdotool/Makefile
blob: 29d4d2e02f96821ef6ef7075ace5b379c3f049e0 (plain) (tree)
1
2
3
4
5
6
7
8
9
                       
                         
                            
                 
                   
 
                               
                                                                          
 
                          
                                   


                                                


                            
                   
                                          
                                 
                     
 


                                                         
                                                                    
           

                                                                    
 



                                                        
                      
PORTNAME=	xdotool
DISTVERSIONPREFIX=	v
DISTVERSION=	3.20160805.1
PORTEPOCH=	1
CATEGORIES=	x11

MAINTAINER=	gregf@hugops.pw
COMMENT=	Programmatically simulate keyboard input or mouse activity

LICENSE=	BSD3CLAUSE
LICENSE_FILE=	${WRKSRC}/COPYRIGHT

LIB_DEPENDS=	libxkbcommon.so:x11/libxkbcommon

USE_GITHUB=	yes
GH_ACCOUNT=	jordansissel

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

PLIST_FILES=	bin/xdotool include/xdo.h lib/libxdo.so \
		lib/libxdo.so.3 man/man1/xdotool.1.gz

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

post-install:
	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/xdotool \
		${STAGEDIR}${PREFIX}/lib/libxdo.so.3

.include <bsd.port.mk>