mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
cb0a269a9c
- Convert to staging
31 lines
727 B
Makefile
31 lines
727 B
Makefile
# Created by: 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
|
|
|
|
USES= bison imake
|
|
USE_XORG= xft x11 xext xi xtst
|
|
|
|
PLIST_FILES= bin/xstroke %%ETCDIR%%/alphabet man/man1/xstroke.1.gz
|
|
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>
|