# New ports collection makefile for: click # Date created: Ter 20 Fev 2007 07:53:32 UTC # Whom: Mario Sergio Fujikawa Ferreira # # $FreeBSD$ # PORTNAME= xclick PORTVERSION= 0.1 CATEGORIES= x11 MASTER_SITES= http://members.shaw.ca/gehrehmee/ \ http://bg.rifetech.com/ DISTNAME= click EXTRACT_SUFX= .tgz MAINTAINER= lioux@FreeBSD.org COMMENT= Generates X11 mouse button click events USE_X_PREFIX= yes USE_XLIB= yes PLIST_FILES= bin/${PORTNAME} do-build: @cd ${WRKSRC} && \ ${CC} -L${X11BASE}/lib -I${X11BASE}/include click.c \ -lX11 -lXtst -o ${PORTNAME} do-install: @${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin .include # Requires XTEST extension from xorg .if !defined(X_WINDOW_SYSTEM) || (defined(X_WINDOW_SYSTEM) && ${X_WINDOW_SYSTEM:L} != xorg) IGNORE= cannot install: bad X_WINDOW_SYSTEM setting; xorg is required .endif .include