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
|
2004-02-04 05:10:27 +00:00
|
|
|
PORTREVISION= 4
|
2002-05-14 08:19:03 +00:00
|
|
|
CATEGORIES= x11
|
|
|
|
MASTER_SITES= ftp://ftp.handhelds.org/pub/projects/xstroke/release-${PORTVERSION:R}/
|
|
|
|
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 19:21:36 +00:00
|
|
|
COMMENT= Fullscreen gesture recognition
|
2002-05-14 08:19:03 +00:00
|
|
|
|
2003-07-14 02:37:55 +00:00
|
|
|
LIB_DEPENDS= Xft.2:${PORTSDIR}/x11-fonts/Xft
|
|
|
|
PATCH_DEPENDS= ${NONEXISTENT}:${PORTSDIR}/devel/libgnugetopt:extract
|
2002-05-14 08:19:03 +00:00
|
|
|
|
2002-09-01 16:07:59 +00:00
|
|
|
USE_REINPLACE= 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}
|
2003-07-14 02:37:55 +00:00
|
|
|
CPPFLAGS= -I${LOCALBASE}/include
|
|
|
|
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
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
GETOPTDIR!= cd ${PORTSDIR}/devel/libgnugetopt; ${MAKE} -V WRKSRC
|
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
|
2003-07-14 02:37:55 +00:00
|
|
|
${CP} ${GETOPTDIR}/getopt* ${WRKSRC}
|
2002-05-14 08:19:03 +00:00
|
|
|
|
2003-07-15 10:08:54 +00:00
|
|
|
.include <bsd.port.post.mk>
|