2002-05-14 08:19:03 +00:00
|
|
|
# Ports collection makefile for: xstroke
|
|
|
|
# Date created: May 14, 2002
|
|
|
|
# Whom: ijliao
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= xstroke
|
|
|
|
PORTVERSION= 0.5.12
|
2007-05-19 20:36:56 +00:00
|
|
|
PORTREVISION= 5
|
2002-05-14 08:19:03 +00:00
|
|
|
CATEGORIES= x11
|
2006-03-21 10:13:35 +00:00
|
|
|
MASTER_SITES= ftp://ftp.handhelds.org/projects/xstroke/release-0.5/ \
|
|
|
|
http://www.handhelds.org/download/projects/xstroke/release-0.5/
|
2002-05-14 08:19:03 +00:00
|
|
|
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 19:21:36 +00:00
|
|
|
COMMENT= Fullscreen gesture recognition
|
2002-05-14 08:19:03 +00:00
|
|
|
|
2004-03-16 22:54:05 +00:00
|
|
|
LIB_DEPENDS= Xft.2:${PORTSDIR}/x11-fonts/libXft
|
2002-05-14 08:19:03 +00:00
|
|
|
|
2004-11-10 14:50:51 +00:00
|
|
|
USE_GETOPT_LONG=yes
|
2002-05-14 08:19:03 +00:00
|
|
|
USE_BISON= yes
|
|
|
|
USE_IMAKE= yes
|
2003-05-12 21:52:49 +00:00
|
|
|
CFLAGS+= ${PTHREAD_CFLAGS}
|
2004-06-23 13:34:39 +00:00
|
|
|
CPPFLAGS= -I${LOCALBASE}/include -I.
|
2003-07-14 02:37:55 +00:00
|
|
|
LDFLAGS= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
|
2003-05-12 21:52:49 +00:00
|
|
|
MAKE_ENV+= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
|
2003-07-15 10:08:54 +00:00
|
|
|
|
2002-05-14 08:19:03 +00:00
|
|
|
MAN1= xstroke.1
|
|
|
|
|
|
|
|
post-patch:
|
2002-09-01 16:07:59 +00:00
|
|
|
@${REINPLACE_CMD} -e "s,%%PREFIX%%,${PREFIX},g" ${WRKSRC}/etc/Imakefile
|
|
|
|
@${REINPLACE_CMD} -e "s,etc/,${PREFIX}/etc/,g" ${WRKSRC}/args.h
|
2002-05-14 08:19:03 +00:00
|
|
|
|
2004-11-10 14:50:51 +00:00
|
|
|
.include <bsd.port.mk>
|