mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-20 04:02:27 +00:00
32 lines
822 B
Makefile
32 lines
822 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= libinput
|
|
PORTVERSION= 1.6.0
|
|
PORTREVISION= 1
|
|
CATEGORIES= x11
|
|
MASTER_SITES= http://freedesktop.org/software/${PORTNAME}/
|
|
|
|
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
|
|
|
|
USES= autoreconf gmake libtool pathfix pkgconfig tar:xz
|
|
USE_LDCONFIG= yes
|
|
GNU_CONFIGURE= yes
|
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include/libepoll-shim
|
|
INSTALL_TARGET= install-strip
|
|
|
|
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
|
|
|
|
.include <bsd.port.mk>
|