2002-05-14 10:19:03 +02:00
|
|
|
# Ports collection makefile for: xstroke
|
|
|
|
# Date created: May 14, 2002
|
|
|
|
# Whom: ijliao
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= xstroke
|
|
|
|
PORTVERSION= 0.5.12
|
2004-02-04 06:10:27 +01:00
|
|
|
PORTREVISION= 4
|
2002-05-14 10:19:03 +02:00
|
|
|
CATEGORIES= x11
|
2006-03-21 11:13:35 +01: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 10:19:03 +02:00
|
|
|
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 20:21:36 +01:00
|
|
|
COMMENT= Fullscreen gesture recognition
|
2002-05-14 10:19:03 +02:00
|
|
|
|
2004-03-16 23:54:05 +01:00
|
|
|
LIB_DEPENDS= Xft.2:${PORTSDIR}/x11-fonts/libXft
|
2002-05-14 10:19:03 +02:00
|
|
|
|
2004-11-10 15:50:51 +01:00
|
|
|
USE_GETOPT_LONG=yes
|
2002-05-14 10:19:03 +02:00
|
|
|
USE_BISON= yes
|
|
|
|
USE_IMAKE= yes
|
2003-05-12 23:52:49 +02:00
|
|
|
CFLAGS+= ${PTHREAD_CFLAGS}
|
2004-06-23 15:34:39 +02:00
|
|
|
CPPFLAGS= -I${LOCALBASE}/include -I.
|
2003-07-14 04:37:55 +02:00
|
|
|
LDFLAGS= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
|
2003-05-12 23:52:49 +02:00
|
|
|
MAKE_ENV+= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
|
2003-07-15 12:08:54 +02:00
|
|
|
|
2002-05-14 10:19:03 +02:00
|
|
|
MAN1= xstroke.1
|
|
|
|
|
|
|
|
post-patch:
|
2002-09-01 18:07:59 +02: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 10:19:03 +02:00
|
|
|
|
2004-11-10 15:50:51 +01:00
|
|
|
.include <bsd.port.mk>
|