2017-01-29 23:48:20 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= libinput
|
2017-02-11 17:51:19 +00:00
|
|
|
PORTVERSION= 1.6.0
|
2018-09-29 08:04:27 +00:00
|
|
|
PORTREVISION= 1
|
2017-01-29 23:48:20 +00:00
|
|
|
CATEGORIES= x11
|
2017-02-11 17:51:19 +00:00
|
|
|
MASTER_SITES= http://freedesktop.org/software/${PORTNAME}/
|
2017-01-29 23:48:20 +00:00
|
|
|
|
|
|
|
MAINTAINER= x11@FreeBSD.org
|
|
|
|
COMMENT= Generic input library
|
|
|
|
|
|
|
|
BUILD_DEPENDS= v4l_compat>=0:multimedia/v4l_compat
|
|
|
|
LIB_DEPENDS= libevdev.so:devel/libevdev \
|
|
|
|
libepoll-shim.so:devel/libepoll-shim \
|
|
|
|
libwacom.so:x11/libwacom \
|
|
|
|
libudev.so:devel/libudev-devd \
|
|
|
|
libmtdev.so:devel/libmtdev
|
|
|
|
|
2017-02-11 17:51:19 +00:00
|
|
|
USES= autoreconf gmake libtool pathfix pkgconfig tar:xz
|
2017-01-29 23:48:20 +00:00
|
|
|
USE_LDCONFIG= yes
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
|
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include/libepoll-shim
|
|
|
|
INSTALL_TARGET= install-strip
|
|
|
|
|
2017-02-11 17:51:19 +00:00
|
|
|
post-patch:
|
|
|
|
${REINPLACE_CMD} -e 's|program_invocation_short_name|getprogname()|' \
|
|
|
|
${WRKSRC}/tools/libinput-list-devices.c \
|
|
|
|
${WRKSRC}/tools/ptraccel-debug.c ${WRKSRC}/tools/shared.c
|
|
|
|
|
2017-01-29 23:48:20 +00:00
|
|
|
.include <bsd.port.mk>
|