Lines 1-8
Link Here
|
1 |
# $FreeBSD$ |
1 |
# $FreeBSD$ |
2 |
|
2 |
|
3 |
PORTNAME= libevdev |
3 |
PORTNAME= libevdev |
4 |
PORTVERSION= 1.4.4 |
4 |
PORTVERSION= 1.6.0 |
5 |
PORTREVISION= 1 |
|
|
6 |
CATEGORIES= devel |
5 |
CATEGORIES= devel |
7 |
MASTER_SITES= http://freedesktop.org/software/${PORTNAME}/ |
6 |
MASTER_SITES= http://freedesktop.org/software/${PORTNAME}/ |
8 |
|
7 |
|
Lines 12-30
Link Here
|
12 |
LICENSE= MIT # without linux/*.h |
11 |
LICENSE= MIT # without linux/*.h |
13 |
LICENSE_FILE= ${WRKSRC}/COPYING |
12 |
LICENSE_FILE= ${WRKSRC}/COPYING |
14 |
|
13 |
|
15 |
BUILD_DEPENDS= v4l_compat>=1.0.20110603:multimedia/v4l_compat |
14 |
BUILD_DEPENDS= ${LOCALBASE}/include/linux/input.h:devel/evdev-proto |
16 |
RUN_DEPENDS= v4l_compat>=1.0.20110603:multimedia/v4l_compat |
|
|
17 |
|
15 |
|
18 |
USES= gmake libtool pathfix python:build tar:xz |
16 |
USES= gmake libtool pathfix python:build tar:xz |
19 |
EXTRACT_AFTER_ARGS= --exclude include # v4l_compat |
17 |
EXTRACT_AFTER_ARGS= --exclude include # evdev-proto |
20 |
GNU_CONFIGURE= yes |
18 |
GNU_CONFIGURE= yes |
21 |
CONFIGURE_ENV= ac_cv_path_DOXYGEN="" |
19 |
CONFIGURE_ENV= ac_cv_path_DOXYGEN="" |
22 |
CPPFLAGS+= -I${LOCALBASE}/include # v4l_compat |
20 |
CPPFLAGS+= -I${LOCALBASE}/include # evdev-proto |
23 |
INSTALL_TARGET= install-strip |
21 |
INSTALL_TARGET= install-strip |
24 |
USE_LDCONFIG= yes |
22 |
USE_LDCONFIG= yes |
25 |
|
23 |
|
26 |
post-patch: |
24 |
post-patch: |
27 |
@${REINPLACE_CMD} -e '/input\.h/s,top_srcdir,LOCALBASE,' \ |
25 |
@${REINPLACE_CMD} -e '/input\.h/s,top_srcdir,LOCALBASE,g' \ |
28 |
${WRKSRC}/libevdev/Makefile.in |
26 |
${WRKSRC}/libevdev/Makefile.in |
29 |
# XXX tools require signalfd(2), test require /dev/uinput |
27 |
# XXX tools require signalfd(2), test require /dev/uinput |
30 |
@${REINPLACE_CMD} -e '/^SUBDIRS/s,tools test,,' \ |
28 |
@${REINPLACE_CMD} -e '/^SUBDIRS/s,tools test,,' \ |