mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
Add libhid 0.2.16, a user-space HID access library written in C.
PR: ports/114627 Submitted by: ntarmos at ceid.upatras.gr
This commit is contained in:
parent
5eb74c627b
commit
258413e67c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=196451
@ -583,6 +583,7 @@
|
||||
SUBDIR += libgtop
|
||||
SUBDIR += libgutenfetch
|
||||
SUBDIR += libhash
|
||||
SUBDIR += libhid
|
||||
SUBDIR += libhoard
|
||||
SUBDIR += libical
|
||||
SUBDIR += libisc
|
||||
|
27
devel/libhid/Makefile
Normal file
27
devel/libhid/Makefile
Normal file
@ -0,0 +1,27 @@
|
||||
# New ports collection makefile for: libhid
|
||||
# Date created: 16 July 2007
|
||||
# Whom: ntarmos@ceid.upatras.gr
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= libhid
|
||||
PORTVERSION= 0.2.16
|
||||
CATEGORIES= devel
|
||||
MASTER_SITES= http://alioth.debian.org/frs/download.php/1958/
|
||||
|
||||
MAINTAINER= ntarmos@ceid.upatras.gr
|
||||
COMMENT= A user-space HID access library written in C
|
||||
|
||||
MAN1= libhid-detach-device.1
|
||||
MANCOMPRESSED= no
|
||||
USE_LDCONFIG= yes
|
||||
|
||||
LIB_DEPENDS+= usb-0.1.8:${PORTSDIR}/devel/libusb
|
||||
BUILD_DEPENDS+= ${LOCALBASE}/bin/xsltproc:${PORTSDIR}/textproc/libxslt \
|
||||
${LOCALBASE}/share/xsl/docbook/html:${PORTSDIR}/textproc/docbook-xsl
|
||||
|
||||
HAS_CONFIGURE= yes
|
||||
CONFIGURE_ARGS+= --mandir=${MANPREFIX}/man
|
||||
|
||||
.include <bsd.port.mk>
|
3
devel/libhid/distinfo
Normal file
3
devel/libhid/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (libhid-0.2.16.tar.gz) = f2a427a6d6b98a5db8d17e2777173af7
|
||||
SHA256 (libhid-0.2.16.tar.gz) = f6809ab3b9c907cbb05ceba9ee6ca23a705f85fd71588518e14b3a7d9f2550e5
|
||||
SIZE (libhid-0.2.16.tar.gz) = 435245
|
11
devel/libhid/files/patch-Makefile.in
Normal file
11
devel/libhid/files/patch-Makefile.in
Normal file
@ -0,0 +1,11 @@
|
||||
--- Makefile.in.orig 2007-07-16 13:40:13.000000000 +0300
|
||||
+++ Makefile.in 2007-07-16 13:41:37.000000000 +0300
|
||||
@@ -273,7 +273,7 @@
|
||||
include/compiler.h \
|
||||
include/os.h
|
||||
|
||||
-pkgconfigdir = $(libdir)/pkgconfig
|
||||
+pkgconfigdir = $(prefix)/libdata/pkgconfig
|
||||
pkgconfig_DATA = pkgconfig/libhid.pc
|
||||
dist_noinst_DATA = \
|
||||
debian/changelog \
|
11
devel/libhid/files/patch-hidparser-hidtypes.h
Normal file
11
devel/libhid/files/patch-hidparser-hidtypes.h
Normal file
@ -0,0 +1,11 @@
|
||||
--- hidparser/hidtypes.h.orig 2007-07-16 12:21:55.000000000 +0300
|
||||
+++ hidparser/hidtypes.h 2007-07-16 12:22:04.000000000 +0300
|
||||
@@ -21,7 +21,7 @@
|
||||
typedef unsigned char uchar;
|
||||
#endif
|
||||
|
||||
-#if HPUX || __APPLE__
|
||||
+#if HPUX || __APPLE__ || __FreeBSD__
|
||||
typedef unsigned long ulong;
|
||||
#endif
|
||||
|
9
devel/libhid/pkg-descr
Normal file
9
devel/libhid/pkg-descr
Normal file
@ -0,0 +1,9 @@
|
||||
LibHID is a user-space HID access library written in C. It provides a
|
||||
generic and flexible way to access and interact with USB HID devices,
|
||||
much like libusb does for plain USB devices. It is based on libusb, thus
|
||||
it requires no HID support in the kernel. Furthermore, it aims to
|
||||
support all operating system supported by libusb: Linux, BSD, OS X, and
|
||||
Windows.
|
||||
|
||||
|
||||
WWW: http://libhid.alioth.debian.org/
|
9
devel/libhid/pkg-plist
Normal file
9
devel/libhid/pkg-plist
Normal file
@ -0,0 +1,9 @@
|
||||
bin/libhid-detach-device
|
||||
include/hid.h
|
||||
include/hidparser.h
|
||||
include/hidtypes.h
|
||||
lib/libhid.a
|
||||
lib/libhid.la
|
||||
lib/libhid.so
|
||||
lib/libhid.so.0
|
||||
libdata/pkgconfig/libhid.pc
|
Loading…
Reference in New Issue
Block a user