1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-14 03:10:47 +00:00
freebsd-ports/x11/xstroke/Makefile

40 lines
989 B
Makefile
Raw Normal View History

# 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
2003-02-20 19:21:36 +00:00
COMMENT= Fullscreen gesture recognition
2004-03-16 22:54:05 +00:00
LIB_DEPENDS= Xft.2:${PORTSDIR}/x11-fonts/libXft
2003-07-14 02:37:55 +00:00
PATCH_DEPENDS= ${NONEXISTENT}:${PORTSDIR}/devel/libgnugetopt:extract
USE_REINPLACE= yes
USE_BISON= yes
USE_IMAKE= yes
CFLAGS+= ${PTHREAD_CFLAGS}
2003-07-14 02:37:55 +00:00
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
2003-07-14 02:37:55 +00:00
${CP} ${GETOPTDIR}/getopt* ${WRKSRC}
.include <bsd.port.post.mk>