diff options
author | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-05-14 08:19:03 +0000 |
---|---|---|
committer | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-05-14 08:19:03 +0000 |
commit | 696497e2c8e02609edf2437f53a3f49e722b9b63 (patch) | |
tree | 0ee8d5caf99e3900f1a74cd4565637ab09e19608 | |
parent | 328dfe5722c8ce8bbe0d4d819590e1a7d29314d4 (diff) | |
download | ports-696497e2c8e02609edf2437f53a3f49e722b9b63.tar.gz ports-696497e2c8e02609edf2437f53a3f49e722b9b63.zip |
add xstroke 0.5.12
Fullscreen gesture recognition
Notes
Notes:
svn path=/head/; revision=59067
-rw-r--r-- | x11/Makefile | 1 | ||||
-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 |
10 files changed, 90 insertions, 0 deletions
diff --git a/x11/Makefile b/x11/Makefile index b876ca20dd1e..c84146cec087 100644 --- a/x11/Makefile +++ b/x11/Makefile @@ -143,6 +143,7 @@ SUBDIR += xskyroot SUBDIR += xsnow SUBDIR += xstarroll + SUBDIR += xstroke SUBDIR += xtacy SUBDIR += xtattr SUBDIR += xtermset diff --git a/x11/xstroke/Makefile b/x11/xstroke/Makefile new file mode 100644 index 000000000000..b119524d5c2e --- /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 000000000000..07e5aced20c8 --- /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 000000000000..7d6a7e68e121 --- /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 000000000000..42af7775852c --- /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 000000000000..7e6e0b8a8a4f --- /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 000000000000..d28c0974606d --- /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 000000000000..554ed8881f00 --- /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 000000000000..79fbf1c70253 --- /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 000000000000..0c1bac8c5d99 --- /dev/null +++ b/x11/xstroke/pkg-plist @@ -0,0 +1,3 @@ +bin/xstroke +etc/xstroke/alphabet +@dirrm etc/xstroke |