mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-20 04:02:27 +00:00
6f6fbe4bdf
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead PR: 157936 Submitted by: myself Exp-runs by: pav Approved by: pav
37 lines
808 B
Makefile
37 lines
808 B
Makefile
# Ports collection makefile for: xstroke
|
|
# Date created: May 14, 2002
|
|
# Whom: 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
|
|
|
|
USE_BISON= build
|
|
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>
|