blob: a1cc989e3c35458322d0ab5e9c89b0a830940200 (
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
33
34
35
36
37
38
39
|
# Ports collection makefile for: xstroke
# Date created: May 14, 2002
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= xstroke
PORTVERSION= 0.5.12
PORTREVISION= 4
CATEGORIES= x11
MASTER_SITES= ftp://ftp.handhelds.org/pub/projects/xstroke/release-${PORTVERSION:R}/
MAINTAINER= ports@FreeBSD.org
COMMENT= Fullscreen gesture recognition
LIB_DEPENDS= Xft.2:${PORTSDIR}/x11-fonts/libXft
PATCH_DEPENDS= ${NONEXISTENT}:${PORTSDIR}/devel/libgnugetopt:extract
USE_REINPLACE= yes
USE_BISON= yes
USE_IMAKE= yes
CFLAGS+= ${PTHREAD_CFLAGS}
CPPFLAGS= -I${LOCALBASE}/include
LDFLAGS= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
MAKE_ENV+= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
.include <bsd.port.pre.mk>
GETOPTDIR!= cd ${PORTSDIR}/devel/libgnugetopt; ${MAKE} -V WRKSRC
MAN1= xstroke.1
post-patch:
@${REINPLACE_CMD} -e "s,%%PREFIX%%,${PREFIX},g" ${WRKSRC}/etc/Imakefile
@${REINPLACE_CMD} -e "s,etc/,${PREFIX}/etc/,g" ${WRKSRC}/args.h
${CP} ${GETOPTDIR}/getopt* ${WRKSRC}
.include <bsd.port.post.mk>
|