3e4ed01146
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG - Remove X11BASE support in favor of LOCALBASE or PREFIX - Use USE_LDCONFIG instead of INSTALLS_SHLIB - Remove unneeded USE_GCC 3.4+ Thanks to all Helpers: Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr, ehaupt, nox, itetcu, flz, pav PR: 116263 Tested on: pointyhat Approved by: portmgr (pav)
32 lines
790 B
Makefile
32 lines
790 B
Makefile
# Ports collection makefile for: xstroke
|
|
# Date created: May 14, 2002
|
|
# Whom: ijliao
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= xstroke
|
|
PORTVERSION= 0.5.12
|
|
PORTREVISION= 7
|
|
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
|
|
|
|
USE_BISON= build
|
|
USE_XORG= xft x11
|
|
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>
|