summaryrefslogtreecommitdiff
path: root/x11/xstroke
diff options
context:
space:
mode:
authorYen-Ming Lee <leeym@FreeBSD.org>2004-11-10 14:50:51 +0000
committerYen-Ming Lee <leeym@FreeBSD.org>2004-11-10 14:50:51 +0000
commitccb9f3c32234904c457b627940b659e66a120e88 (patch)
tree8a4e2450457448665bd17b9deb2053556d9b3333 /x11/xstroke
parentMark broken if older version of faad has been installed with WITHOUT_MPEG4IP (diff)
- utilize USE_GETOPT_LONG and remove dependency on libgnugetopt on 5.x
Notes
Notes: svn path=/head/; revision=121305
Diffstat (limited to 'x11/xstroke')
-rw-r--r--x11/xstroke/Makefile11
-rw-r--r--x11/xstroke/files/patch-Imakefile22
2 files changed, 6 insertions, 27 deletions
diff --git a/x11/xstroke/Makefile b/x11/xstroke/Makefile
index 74dfda933dfa..31b4692b52bd 100644
--- a/x11/xstroke/Makefile
+++ b/x11/xstroke/Makefile
@@ -9,14 +9,14 @@ PORTNAME= xstroke
PORTVERSION= 0.5.12
PORTREVISION= 4
CATEGORIES= x11
-MASTER_SITES= ftp://ftp.handhelds.org/pub/projects/xstroke/release-${PORTVERSION:R}/
+MASTER_SITES= http://xstroke.org/releases/
MAINTAINER= ports@FreeBSD.org
COMMENT= Fullscreen gesture recognition
LIB_DEPENDS= Xft.2:${PORTSDIR}/x11-fonts/libXft
-PATCH_DEPENDS= ${NONEXISTENT}:${PORTSDIR}/devel/libgnugetopt:extract
+USE_GETOPT_LONG=yes
USE_REINPLACE= yes
USE_BISON= yes
USE_IMAKE= yes
@@ -25,15 +25,10 @@ CPPFLAGS= -I${LOCALBASE}/include -I.
LDFLAGS= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
MAKE_ENV+= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
-.include <bsd.port.pre.mk>
-
-GETOPTDIR!= cd ${PORTSDIR}/devel/libgnugetopt; ${MAKE} -V WRKSRC
-
MAN1= xstroke.1
post-patch:
@${REINPLACE_CMD} -e "s,%%PREFIX%%,${PREFIX},g" ${WRKSRC}/etc/Imakefile
@${REINPLACE_CMD} -e "s,etc/,${PREFIX}/etc/,g" ${WRKSRC}/args.h
- ${CP} ${GETOPTDIR}/getopt* ${WRKSRC}
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/x11/xstroke/files/patch-Imakefile b/x11/xstroke/files/patch-Imakefile
index 708ee3f5c4ac..8c632e41a45f 100644
--- a/x11/xstroke/files/patch-Imakefile
+++ b/x11/xstroke/files/patch-Imakefile
@@ -1,6 +1,6 @@
---- Imakefile.orig Tue Dec 11 07:17:11 2001
-+++ Imakefile Sat Jul 12 08:41:37 2003
-@@ -1,21 +1,24 @@
+--- Imakefile.orig Tue Dec 11 06:17:11 2001
++++ Imakefile Wed Nov 10 22:08:24 2004
+@@ -1,9 +1,10 @@
#define IHaveSubdirs
SUBDIRS=etc
-CDEBUGFLAGS=-g -ansi -ansi-error -Wall -pedantic
@@ -13,19 +13,3 @@
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 \
- rec_engine.o grid.o regex_feature.o fixed.o \
- anchor_engine.o dir_engine.o grid_engine.o raw_engine.o \
-- xlp.o xlp_callback.o xlp_color.o xlp_timeout.o xlp_win.o
-+ xlp.o xlp_callback.o xlp_color.o xlp_timeout.o xlp_win.o \
-+ getopt.o getopt1.o
- SRCS=xstroke.c args.c backing.c bresenham.c brush.c control_win.c stroke.c matrix.c \
- action.c action_item.c feature.c gesture.c log.c option.c sprintf_alloc.c \
- rec.c rec_callback.c rec_history.c rec_mode.c \
- rec_engine.c grid.c regex_feature.c fixed.c \
- anchor_engine.c dir_engine.c grid_engine.c raw_engine.c \
-- xlp.c xlp_callback.c xlp_color.c xlp_timeout.c xlp_win.c
-+ xlp.c xlp_callback.c xlp_color.c xlp_timeout.c xlp_win.c \
-+ getopt.c getopt1.c
-
- ComplexProgramTarget(xstroke)
-