mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-13 03:03:15 +00:00
d4f0d0048a
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}. - Bump PORTREVISION for ports intalling files in ${X11BASE}.
35 lines
839 B
Makefile
35 lines
839 B
Makefile
# Ports collection makefile for: xstroke
|
|
# Date created: May 14, 2002
|
|
# Whom: ijliao
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= xstroke
|
|
PORTVERSION= 0.5.12
|
|
PORTREVISION= 5
|
|
CATEGORIES= x11
|
|
MASTER_SITES= ftp://ftp.handhelds.org/projects/xstroke/release-0.5/ \
|
|
http://www.handhelds.org/download/projects/xstroke/release-0.5/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Fullscreen gesture recognition
|
|
|
|
LIB_DEPENDS= Xft.2:${PORTSDIR}/x11-fonts/libXft
|
|
|
|
USE_GETOPT_LONG=yes
|
|
USE_BISON= yes
|
|
USE_IMAKE= yes
|
|
CFLAGS+= ${PTHREAD_CFLAGS}
|
|
CPPFLAGS= -I${LOCALBASE}/include -I.
|
|
LDFLAGS= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
|
|
MAKE_ENV+= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
|
|
|
|
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
|
|
|
|
.include <bsd.port.mk>
|