freebsd-ports/x11/xstroke/Makefile
2003-02-20 19:21:36 +00:00

37 lines
954 B
Makefile

# ex:ts=8
# Ports collection makefile for: xstroke
# Date created: May 14, 2002
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= xstroke
PORTVERSION= 0.5.12
PORTREVISION= 1
CATEGORIES= x11
MASTER_SITES= ftp://ftp.handhelds.org/pub/projects/xstroke/release-${PORTVERSION:R}/
MAINTAINER= ports@FreeBSD.org
COMMENT= Fullscreen gesture recognition
BROKEN= Needs updates for Xft and XFree86 4.3
LIB_DEPENDS= gnugetopt:${PORTSDIR}/devel/libgnugetopt
USE_REINPLACE= yes
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:
@${REINPLACE_CMD} -e "s,-lpthread,${PTHREAD_LIBS},g ; \
s,%%CFLAGS%%,${CFLAGS},g ; \
s,%%LDFLAGS%%,${LDFLAGS},g" ${WRKSRC}/Imakefile
@${REINPLACE_CMD} -e "s,%%PREFIX%%,${PREFIX},g" ${WRKSRC}/etc/Imakefile
@${REINPLACE_CMD} -e "s,etc/,${PREFIX}/etc/,g" ${WRKSRC}/args.h
.include <bsd.port.mk>