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
|
# 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
LIB_DEPENDS= gnugetopt:${PORTSDIR}/devel/libgnugetopt
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:
@${PERL} -pi -e "s,-lpthread,${PTHREAD_LIBS},g ; \
s,%%CFLAGS%%,${CFLAGS},g ; \
s,%%LDFLAGS%%,${LDFLAGS},g" ${WRKSRC}/Imakefile
@${PERL} -pi -e "s,%%PREFIX%%,${PREFIX},g" ${WRKSRC}/etc/Imakefile
@${PERL} -pi -e "s,etc/,${PREFIX}/etc/,g" ${WRKSRC}/args.h
.include <bsd.port.mk>
|