# Created by: Kris Moore <kmoore@FreeBSD.org>
# $FreeBSD: tags/RELEASE_11_1_0/sysutils/lxinput/Makefile 429926 2016-12-29 15:49:56Z olivierd $

PORTNAME=	lxinput
PORTVERSION=	0.3.5
CATEGORIES=	sysutils
MASTER_SITES=	SF/lxde/LXInput%20%28Kbd%20and%20amp_%20mouse%20config%29/LXInput%20${PORTVERSION:R}.x/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Keyboard and mouse settings

LICENSE=	GPLv3

LIB_DEPENDS=	libfontconfig.so:x11-fonts/fontconfig \
	libfreetype.so:print/freetype2

USES=		gmake localbase pkgconfig tar:xz
USE_GNOME=	gtk20 cairo gdkpixbuf2 intltool
USE_XORG=	x11
GNU_CONFIGURE=	yes
USE_LDCONFIG=	yes

OPTIONS_DEFINE=	NLS
OPTIONS_SUB=	yes

NLS_USES=	gettext
NLS_USES_OFF=	gettext-tools

post-patch-NLS-off:
	@${REINPLACE_CMD} -e 's|po man|man|' ${WRKSRC}/Makefile.in

.include <bsd.port.mk>
