diff options
Diffstat (limited to 'devel/libevdev')
-rw-r--r-- | devel/libevdev/Makefile | 32 | ||||
-rw-r--r-- | devel/libevdev/distinfo | 2 | ||||
-rw-r--r-- | devel/libevdev/pkg-descr | 8 | ||||
-rw-r--r-- | devel/libevdev/pkg-plist | 8 |
4 files changed, 50 insertions, 0 deletions
diff --git a/devel/libevdev/Makefile b/devel/libevdev/Makefile new file mode 100644 index 000000000000..b1558744f857 --- /dev/null +++ b/devel/libevdev/Makefile @@ -0,0 +1,32 @@ +# $FreeBSD$ + +PORTNAME= libevdev +PORTVERSION= 1.4.4 +CATEGORIES= devel +MASTER_SITES= http://freedesktop.org/software/${PORTNAME}/ + +MAINTAINER= hselasky@FreeBSD.org +COMMENT= Linux Event Device library + +LICENSE= MIT # without linux/*.h +LICENSE_FILE= ${WRKSRC}/COPYING + +BUILD_DEPENDS= v4l_compat>=1.0.20110603:${PORTSDIR}/multimedia/v4l_compat +RUN_DEPENDS= v4l_compat>=1.0.20110603:${PORTSDIR}/multimedia/v4l_compat + +USES= gmake libtool pathfix pkgconfig python:build tar:xz +EXTRACT_AFTER_ARGS= --exclude include # v4l_compat +GNU_CONFIGURE= yes +CONFIGURE_ENV= ac_cv_path_DOXYGEN="" +CPPFLAGS+= -I${LOCALBASE}/include # v4l_compat +INSTALL_TARGET= install-strip +USE_LDCONFIG= yes + +post-patch: + @${REINPLACE_CMD} -e '/input\.h/s,top_srcdir,LOCALBASE,' \ + ${WRKSRC}/libevdev/Makefile.in +# XXX tools require signalfd(2), test require /dev/uinput + @${REINPLACE_CMD} -e '/^SUBDIRS/s,tools test,,' \ + ${WRKSRC}/Makefile.in + +.include <bsd.port.mk> diff --git a/devel/libevdev/distinfo b/devel/libevdev/distinfo new file mode 100644 index 000000000000..606b4098fc0a --- /dev/null +++ b/devel/libevdev/distinfo @@ -0,0 +1,2 @@ +SHA256 (libevdev-1.4.4.tar.xz) = ed9979369b6a6e28f5897d099538549ecffb2b7c00c1b717eb77c31d85bc45a9 +SIZE (libevdev-1.4.4.tar.xz) = 409856 diff --git a/devel/libevdev/pkg-descr b/devel/libevdev/pkg-descr new file mode 100644 index 000000000000..9d12b9639a78 --- /dev/null +++ b/devel/libevdev/pkg-descr @@ -0,0 +1,8 @@ +libevdev is a wrapper library for evdev devices. It moves the common +tasks when dealing with evdev devices into a library and provides a +library interface to the callers, thus avoiding erroneous ioctls, etc. + +The eventual goal is that libevdev wraps all ioctls available to evdev +devices, thus making direct access unnecessary. + +WWW: http://www.freedesktop.org/wiki/Software/libevdev/ diff --git a/devel/libevdev/pkg-plist b/devel/libevdev/pkg-plist new file mode 100644 index 000000000000..0f5d673093fa --- /dev/null +++ b/devel/libevdev/pkg-plist @@ -0,0 +1,8 @@ +include/libevdev-1.0/libevdev/libevdev-uinput.h +include/libevdev-1.0/libevdev/libevdev.h +lib/libevdev.a +lib/libevdev.so +lib/libevdev.so.2 +lib/libevdev.so.2.1.10 +libdata/pkgconfig/libevdev.pc +man/man3/libevdev.3.gz |