aboutsummaryrefslogtreecommitdiffstats
path: root/x11/xstroke/Makefile
blob: 140cc46a35f44dc960db096e9df32c52ddc6d342 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Created by: ijliao
# $FreeBSD$

PORTNAME=   xstroke
PORTVERSION=    0.5.12
PORTREVISION=   8
CATEGORIES= x11
MASTER_SITES=   http://ftp.gwdg.de/pub/linux/handhelds/projects/xstroke/release-0.5/

MAINTAINER= ports@FreeBSD.org
COMMENT=    Fullscreen gesture recognition

LICENSE=    GPLv2 GPLv3
LICENSE_COMB=   dual

USES=       bison
USE_XORG=   xft x11 xext xi xtst
USE_IMAKE=  yes

MAN1=       xstroke.1
PLIST_FILES=    bin/xstroke %%ETCDIR%%/alphabet
PLIST_DIRS= %%ETCDIR%%

CFLAGS+=    -I.
CPPFLAGS+=  -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
LDFLAGS+=   -L${LOCALBASE}/lib ${PTHREAD_LIBS}

post-patch:
    @${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>