# $MidnightBSD: trunk/x11-drivers/xf86-input-synaptics/Makefile 15734 2013-12-22 18:13:23Z laffer1 $

PORTNAME=	xf86-input-synaptics
PORTVERSION=	${SYNAPTICS_VERSION}
PORTREVISION=	${SYNAPTICS_REVISION}
CATEGORIES=	x11-drivers

MAINTAINER=	ports@MidnightBSD.org
COMMENT=	X.Org synaptics input driver
LICENSE=	mit

CONFLICTS=	synaptics-[0-9]*

USES=		pathfix
USE_XORG=	x11 xtst
XORG_CAT=	driver

.if defined(WITH_NEW_XORG)
SYNAPTICS_VERSION=	1.7.2
SYNAPTICS_REVISION=	0
PLIST_SUB+=	NEW="" OLD="@comment "
.else
SYNAPTICS_VERSION=	1.6.4
SYNAPTICS_REVISION=	0
PLIST_SUB+=	NEW="@comment " OLD=""
EXTRA_PATCHES+=	${PATCHDIR}/extra-Makefile.in
.endif

.include <bsd.port.mk>
