diff options
author | ijliao <ijliao@FreeBSD.org> | 2002-05-14 08:19:03 +0000 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2002-05-14 08:19:03 +0000 |
commit | ef6a82bdeb013bc6a1d2fd815d29a4e9264738e2 (patch) | |
tree | ed3fc5337fa879b1089c5e6d1e3295954f7b3c85 /x11/xstroke | |
parent | 7de5f0562c64934cd9cd1e8f6db84d2ba7c3b058 (diff) | |
download | FreeBSD-ports-ef6a82bdeb013bc6a1d2fd815d29a4e9264738e2.zip FreeBSD-ports-ef6a82bdeb013bc6a1d2fd815d29a4e9264738e2.tar.gz |
add xstroke 0.5.12
Fullscreen gesture recognition
Diffstat (limited to 'x11/xstroke')
-rw-r--r-- | x11/xstroke/Makefile | 31 | ||||
-rw-r--r-- | x11/xstroke/distinfo | 1 | ||||
-rw-r--r-- | x11/xstroke/files/patch-Imakefile | 15 | ||||
-rw-r--r-- | x11/xstroke/files/patch-etc::Imakefile | 8 | ||||
-rw-r--r-- | x11/xstroke/files/patch-regex_feature.c | 10 | ||||
-rw-r--r-- | x11/xstroke/files/patch-regex_feature.h | 10 | ||||
-rw-r--r-- | x11/xstroke/pkg-comment | 1 | ||||
-rw-r--r-- | x11/xstroke/pkg-descr | 10 | ||||
-rw-r--r-- | x11/xstroke/pkg-plist | 3 |
9 files changed, 89 insertions, 0 deletions
diff --git a/x11/xstroke/Makefile b/x11/xstroke/Makefile new file mode 100644 index 0000000..b119524 --- /dev/null +++ b/x11/xstroke/Makefile @@ -0,0 +1,31 @@ +# ex:ts=8 +# Ports collection makefile for: xstroke +# Date created: May 14, 2002 +# Whom: ijliao +# +# $FreeBSD$ +# + +PORTNAME= xstroke +PORTVERSION= 0.5.12 +CATEGORIES= x11 +MASTER_SITES= ftp://ftp.handhelds.org/pub/projects/xstroke/release-${PORTVERSION:R}/ + +MAINTAINER= ports@FreeBSD.org + +LIB_DEPENDS= gnugetopt:${PORTSDIR}/devel/libgnugetopt + +USE_BISON= yes +USE_IMAKE= yes +CFLAGS+= -I${LOCALBASE}/include -I${X11BASE}/include ${PTHREAD_CFLAGS} +LDFLAGS= -L${LOCALBASE}/lib -L${X11BASE}/lib -lgnugetopt + +MAN1= xstroke.1 + +post-patch: + @${PERL} -pi -e "s,-lpthread,${PTHREAD_LIBS},g ; \ + s,%%CFLAGS%%,${CFLAGS},g ; \ + s,%%LDFLAGS%%,${LDFLAGS},g" ${WRKSRC}/Imakefile + @${PERL} -pi -e "s,%%PREFIX%%,${PREFIX},g" ${WRKSRC}/etc/Imakefile + +.include <bsd.port.mk> diff --git a/x11/xstroke/distinfo b/x11/xstroke/distinfo new file mode 100644 index 0000000..07e5ace --- /dev/null +++ b/x11/xstroke/distinfo @@ -0,0 +1 @@ +MD5 (xstroke-0.5.12.tar.gz) = 7ceca671324530cb78cfe02ce913e08a diff --git a/x11/xstroke/files/patch-Imakefile b/x11/xstroke/files/patch-Imakefile new file mode 100644 index 0000000..7d6a7e6 --- /dev/null +++ b/x11/xstroke/files/patch-Imakefile @@ -0,0 +1,15 @@ +--- Imakefile.orig Tue Dec 11 06:17:11 2001 ++++ Imakefile Tue May 14 16:06:49 2002 +@@ -1,9 +1,10 @@ + #define IHaveSubdirs + SUBDIRS=etc +-CDEBUGFLAGS=-g -ansi -ansi-error -Wall -pedantic ++CDEBUGFLAGS=%%CFLAGS%% + YFLAGS=-d +-LOCAL_LIBRARIES=$(XTESTLIB) $(XLIB) $(XRENDERLIB) $(XFTLIB) -lm -ldl -lpthread ++LOCAL_LIBRARIES=$(XTESTLIB) $(XLIB) $(XRENDERLIB) $(XFTLIB) -lm -lpthread %%LDFLAGS%% + FLEX=flex ++YACC=bison -y + OBJS=xstroke.o args.o backing.o bresenham.o brush.o control_win.o stroke.o matrix.o \ + action.o action_item.o feature.o gesture.o log.o option.o sprintf_alloc.o \ + rec.o rec_callback.o rec_history.o rec_lex.o rec_mode.o rec_parse.o \ diff --git a/x11/xstroke/files/patch-etc::Imakefile b/x11/xstroke/files/patch-etc::Imakefile new file mode 100644 index 0000000..42af777 --- /dev/null +++ b/x11/xstroke/files/patch-etc::Imakefile @@ -0,0 +1,8 @@ +--- etc/Imakefile.orig Tue May 14 16:16:09 2002 ++++ etc/Imakefile Tue May 14 16:16:18 2002 +@@ -1,4 +1,4 @@ +-CONFDIR=/etc/xstroke ++CONFDIR=%%PREFIX%%/etc/xstroke + + all:: + diff --git a/x11/xstroke/files/patch-regex_feature.c b/x11/xstroke/files/patch-regex_feature.c new file mode 100644 index 0000000..7e6e0b8 --- /dev/null +++ b/x11/xstroke/files/patch-regex_feature.c @@ -0,0 +1,10 @@ +--- regex_feature.c.orig Tue May 14 16:03:27 2002 ++++ regex_feature.c Tue May 14 16:03:58 2002 +@@ -13,6 +13,7 @@ + GNU General Public License for more details. + */ + ++#include <sys/types.h> + #include <stdio.h> + #include <stdlib.h> + #include <regex.h> diff --git a/x11/xstroke/files/patch-regex_feature.h b/x11/xstroke/files/patch-regex_feature.h new file mode 100644 index 0000000..d28c097 --- /dev/null +++ b/x11/xstroke/files/patch-regex_feature.h @@ -0,0 +1,10 @@ +--- regex_feature.h.orig Tue May 14 16:05:14 2002 ++++ regex_feature.h Tue May 14 16:05:29 2002 +@@ -16,6 +16,7 @@ + #ifndef REGEX_FEATURE_H + #define REGEX_FEATURE_H + ++#include <sys/types.h> + #include <regex.h> + + regex_t *regex_feature_alloc(char *regex_str); diff --git a/x11/xstroke/pkg-comment b/x11/xstroke/pkg-comment new file mode 100644 index 0000000..554ed88 --- /dev/null +++ b/x11/xstroke/pkg-comment @@ -0,0 +1 @@ +Fullscreen gesture recognition diff --git a/x11/xstroke/pkg-descr b/x11/xstroke/pkg-descr new file mode 100644 index 0000000..79fbf1c --- /dev/null +++ b/x11/xstroke/pkg-descr @@ -0,0 +1,10 @@ +xstroke is a full-screen gesture recognition program written for the X +Window System. It captures gestures that are performed with a pointer +device, (such as a mouse, a stylus, or a pen/tablet), recognizes the +gestures and performs actions based on the gestures. + +xstroke is most commonly configured to "type" characters in response to +gestures, but it can also emulate mouse button "clicks", launch programs, +and other fun things. + +WWW: http://www.east.isi.edu/projects/DSN/xstroke/ diff --git a/x11/xstroke/pkg-plist b/x11/xstroke/pkg-plist new file mode 100644 index 0000000..0c1bac8 --- /dev/null +++ b/x11/xstroke/pkg-plist @@ -0,0 +1,3 @@ +bin/xstroke +etc/xstroke/alphabet +@dirrm etc/xstroke |