aboutsummaryrefslogtreecommitdiffstats
path: root/x11/xclick
diff options
context:
space:
mode:
Diffstat (limited to 'x11/xclick')
-rw-r--r--x11/xclick/Makefile39
-rw-r--r--x11/xclick/distinfo3
-rw-r--r--x11/xclick/pkg-descr9
3 files changed, 51 insertions, 0 deletions
diff --git a/x11/xclick/Makefile b/x11/xclick/Makefile
new file mode 100644
index 000000000000..27cfeb4a114c
--- /dev/null
+++ b/x11/xclick/Makefile
@@ -0,0 +1,39 @@
+# New ports collection makefile for: click
+# Date created: Ter 20 Fev 2007 07:53:32 UTC
+# Whom: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
+#
+# $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 <bsd.port.pre.mk>
+
+# 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 <bsd.port.post.mk>
diff --git a/x11/xclick/distinfo b/x11/xclick/distinfo
new file mode 100644
index 000000000000..aa77d8dfd4c6
--- /dev/null
+++ b/x11/xclick/distinfo
@@ -0,0 +1,3 @@
+MD5 (click.tgz) = 937bf7f83881dba81c7ba696955d31c0
+SHA256 (click.tgz) = cb0a289f2ada648fc3c3bc2a500c2b0fd6acbf859a5f5bc28c8af975c09424da
+SIZE (click.tgz) = 608
diff --git a/x11/xclick/pkg-descr b/x11/xclick/pkg-descr
new file mode 100644
index 000000000000..4ada98db2fc0
--- /dev/null
+++ b/x11/xclick/pkg-descr
@@ -0,0 +1,9 @@
+[ excerpt from developer's web site ]
+
+X Window System application which generates mouse button click
+events. Perfect for xbindkeys(1).
+
+Author: Jeremy Nickurak
+WWW: http://members.shaw.ca/gehrehmee/
+
+-- lioux@FreeBSD.org