summaryrefslogtreecommitdiff
path: root/devel/libhid
diff options
context:
space:
mode:
Diffstat (limited to 'devel/libhid')
-rw-r--r--devel/libhid/Makefile31
-rw-r--r--devel/libhid/distinfo2
-rw-r--r--devel/libhid/files/extra-patch-usb12
-rw-r--r--devel/libhid/files/patch-Makefile.in11
-rw-r--r--devel/libhid/files/patch-configure31
-rw-r--r--devel/libhid/files/patch-hidparser-hidtypes.h11
-rw-r--r--devel/libhid/files/patch-src_hid_initialisation.c10
-rw-r--r--devel/libhid/files/patch-src_hid_opening.c9
-rw-r--r--devel/libhid/files/patch-src_hid_parsing.c9
-rw-r--r--devel/libhid/files/patch-test_lshid.c10
-rw-r--r--devel/libhid/files/patch-test_test_libhid.c9
-rw-r--r--devel/libhid/pkg-descr9
-rw-r--r--devel/libhid/pkg-plist23
13 files changed, 0 insertions, 177 deletions
diff --git a/devel/libhid/Makefile b/devel/libhid/Makefile
deleted file mode 100644
index f75e2e3b911a..000000000000
--- a/devel/libhid/Makefile
+++ /dev/null
@@ -1,31 +0,0 @@
-# Created by: ntarmos@ceid.upatras.gr
-# $FreeBSD$
-
-PORTNAME= libhid
-PORTVERSION= 0.2.16
-PORTREVISION= 4
-CATEGORIES= devel
-MASTER_SITES= https://alioth-archive.debian.org/releases/libhid/libhid/${PORTVERSION}/
-
-MAINTAINER= ntarmos@cs.uoi.gr
-COMMENT= User-space HID access library written in C
-
-LICENSE= GPLv2
-
-BUILD_DEPENDS= ${LOCALBASE}/bin/xsltproc:textproc/libxslt \
- docbook-xsl>0:textproc/docbook-xsl \
- ${LOCALBASE}/bin/swig:devel/swig
-
-GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --without-doxygen --disable-werror
-INSTALL_TARGET= install-strip
-USES= gmake libtool pathfix python:2.7
-USE_LDCONFIG= yes
-
-EXTRA_PATCHES= ${FILESDIR}/extra-patch-usb
-
-post-patch:
- @${REINPLACE_CMD} -e "s/required=1\.3/required=3.0/g" \
- ${WRKSRC}/configure
-
-.include <bsd.port.mk>
diff --git a/devel/libhid/distinfo b/devel/libhid/distinfo
deleted file mode 100644
index d12a9190ef02..000000000000
--- a/devel/libhid/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (libhid-0.2.16.tar.gz) = f6809ab3b9c907cbb05ceba9ee6ca23a705f85fd71588518e14b3a7d9f2550e5
-SIZE (libhid-0.2.16.tar.gz) = 435245
diff --git a/devel/libhid/files/extra-patch-usb b/devel/libhid/files/extra-patch-usb
deleted file mode 100644
index af78de7e0e45..000000000000
--- a/devel/libhid/files/extra-patch-usb
+++ /dev/null
@@ -1,12 +0,0 @@
---- configure.orig 2007-04-26 04:25:25.000000000 +0400
-+++ configure 2009-03-07 20:26:02.000000000 +0300
-@@ -4846,8 +4846,8 @@
- done
-
-
-- LIBUSB_CFLAGS="`libusb-config --cflags`"
-- LIBUSB_LIBS="`libusb-config --libs`"
-+ LIBUSB_CFLAGS=""
-+ LIBUSB_LIBS="-lusb"
-
-
diff --git a/devel/libhid/files/patch-Makefile.in b/devel/libhid/files/patch-Makefile.in
deleted file mode 100644
index 05066af6360a..000000000000
--- a/devel/libhid/files/patch-Makefile.in
+++ /dev/null
@@ -1,11 +0,0 @@
---- Makefile.in.orig 2007-07-16 13:40:13.000000000 +0300
-+++ Makefile.in 2007-07-16 13:41:37.000000000 +0300
-@@ -293,7 +293,7 @@
- README.licence
-
- DEBIAN_VERSION = ${shell head -1 debian/changelog 2>/dev/null | sed -e '1s,.*(\([^)]*\)).*,\1,'}
--DEBIAN_ARCH = $(shell test -x `which dpkg-architecture 2>/dev/null` && dpkg-architecture -qDEB_BUILD_ARCH 2>/dev/null || echo i386)
-+DEBIAN_ARCH = i386
- TARBALL = $(distdir).tar.gz
- DEBDIR = .debian
- STAMP = $(DEBDIR)/stamp
diff --git a/devel/libhid/files/patch-configure b/devel/libhid/files/patch-configure
deleted file mode 100644
index 894729023634..000000000000
--- a/devel/libhid/files/patch-configure
+++ /dev/null
@@ -1,31 +0,0 @@
---- configure.orig 2007-04-26 00:25:25 UTC
-+++ configure
-@@ -22433,19 +22433,6 @@ echo "${ECHO_T}$swig_version" >&6; }
- if test -z "$available_patch" ; then
- available_patch=0
- fi
-- if test $available_major -ne $required_major \
-- -o $available_minor -ne $required_minor \
-- -o $available_patch -lt $required_patch ; then
-- { echo "$as_me:$LINENO: WARNING: SWIG version >= 1.3 is required. You have $swig_version. You should look at http://www.swig.org" >&5
--echo "$as_me: WARNING: SWIG version >= 1.3 is required. You have $swig_version. You should look at http://www.swig.org" >&2;}
-- SWIG='echo "Error: SWIG version >= 1.3 is required. You have '"$swig_version"'. You should look at http://www.swig.org" ; false'
-- else
-- { echo "$as_me:$LINENO: SWIG executable is '$SWIG'" >&5
--echo "$as_me: SWIG executable is '$SWIG'" >&6;}
-- SWIG_LIB=`$SWIG -swiglib`
-- { echo "$as_me:$LINENO: SWIG library directory is '$SWIG_LIB'" >&5
--echo "$as_me: SWIG library directory is '$SWIG_LIB'" >&6;}
-- fi
- else
- { echo "$as_me:$LINENO: WARNING: cannot determine SWIG version" >&5
- echo "$as_me: WARNING: cannot determine SWIG version" >&2;}
-@@ -22785,7 +22772,7 @@ echo $ECHO_N "checking for Python library path... $ECH
-
- PYTHON_LDFLAGS=`$PYTHON -c "from distutils.sysconfig import *; \
- import os; \
-- print apply(os.path.join, get_config_vars('LIBPL', 'LDLIBRARY'))"`
-+ print apply(os.path.join, get_config_vars('LIBDIR', 'LDLIBRARY'))"`
- fi
- { echo "$as_me:$LINENO: result: $PYTHON_LDFLAGS" >&5
- echo "${ECHO_T}$PYTHON_LDFLAGS" >&6; }
diff --git a/devel/libhid/files/patch-hidparser-hidtypes.h b/devel/libhid/files/patch-hidparser-hidtypes.h
deleted file mode 100644
index 43086c0b8506..000000000000
--- a/devel/libhid/files/patch-hidparser-hidtypes.h
+++ /dev/null
@@ -1,11 +0,0 @@
---- 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
-
diff --git a/devel/libhid/files/patch-src_hid_initialisation.c b/devel/libhid/files/patch-src_hid_initialisation.c
deleted file mode 100644
index 014adf4987dd..000000000000
--- a/devel/libhid/files/patch-src_hid_initialisation.c
+++ /dev/null
@@ -1,10 +0,0 @@
---- src/hid_initialisation.c.orig 2009-03-07 20:27:43.000000000 +0300
-+++ src/hid_initialisation.c 2009-03-07 20:29:25.000000000 +0300
-@@ -4,6 +4,7 @@
- #define HID_INTERNAL
-
- #include "config.h"
-+#include <stdlib.h>
- #include <hid.h>
- #include <hid_helpers.h>
-
diff --git a/devel/libhid/files/patch-src_hid_opening.c b/devel/libhid/files/patch-src_hid_opening.c
deleted file mode 100644
index 19b080d901ee..000000000000
--- a/devel/libhid/files/patch-src_hid_opening.c
+++ /dev/null
@@ -1,9 +0,0 @@
---- src/hid_opening.c.orig 2009-03-07 20:28:09.000000000 +0300
-+++ src/hid_opening.c 2009-03-07 20:29:17.000000000 +0300
-@@ -1,5 +1,6 @@
- #define HID_INTERNAL
-
-+#include <stdlib.h>
- #include <hid.h>
- #include <hid_helpers.h>
- #include <os.h>
diff --git a/devel/libhid/files/patch-src_hid_parsing.c b/devel/libhid/files/patch-src_hid_parsing.c
deleted file mode 100644
index 3eccd4b712e1..000000000000
--- a/devel/libhid/files/patch-src_hid_parsing.c
+++ /dev/null
@@ -1,9 +0,0 @@
---- src/hid_parsing.c.orig 2009-03-07 20:29:35.000000000 +0300
-+++ src/hid_parsing.c 2009-03-07 20:29:43.000000000 +0300
-@@ -1,5 +1,6 @@
- #define HID_INTERNAL
-
-+#include <stdlib.h>
- #include <hid.h>
- #include <hid_helpers.h>
-
diff --git a/devel/libhid/files/patch-test_lshid.c b/devel/libhid/files/patch-test_lshid.c
deleted file mode 100644
index 2b107ca7b9a1..000000000000
--- a/devel/libhid/files/patch-test_lshid.c
+++ /dev/null
@@ -1,10 +0,0 @@
---- test/lshid.c.orig 2009-03-07 20:30:14.000000000 +0300
-+++ test/lshid.c 2009-03-07 20:30:20.000000000 +0300
-@@ -23,6 +23,7 @@
-
- #include <hid.h>
- #include <stdio.h>
-+#include <stdlib.h>
- #include <string.h>
-
- char *hid_id[32]; /* FIXME: 32 devices MAX */
diff --git a/devel/libhid/files/patch-test_test_libhid.c b/devel/libhid/files/patch-test_test_libhid.c
deleted file mode 100644
index dbb18830a719..000000000000
--- a/devel/libhid/files/patch-test_test_libhid.c
+++ /dev/null
@@ -1,9 +0,0 @@
---- test/test_libhid.c.orig 2009-03-07 20:29:59.000000000 +0300
-+++ test/test_libhid.c 2009-03-07 20:30:05.000000000 +0300
-@@ -1,5 +1,6 @@
- #include <hid.h>
- #include <stdio.h>
-+#include <stdlib.h>
- #include <string.h>
-
- bool match_serial_number(struct usb_dev_handle* usbdev, void* custom, unsigned int len)
diff --git a/devel/libhid/pkg-descr b/devel/libhid/pkg-descr
deleted file mode 100644
index 4ff19da6b2a4..000000000000
--- a/devel/libhid/pkg-descr
+++ /dev/null
@@ -1,9 +0,0 @@
-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/
diff --git a/devel/libhid/pkg-plist b/devel/libhid/pkg-plist
deleted file mode 100644
index 6712d2597a88..000000000000
--- a/devel/libhid/pkg-plist
+++ /dev/null
@@ -1,23 +0,0 @@
-bin/libhid-detach-device
-include/hid.h
-include/hidparser.h
-include/hidtypes.h
-lib/libhid.a
-lib/libhid.so
-lib/libhid.so.0
-lib/libhid.so.0.0.0
-libdata/pkgconfig/libhid.pc
-man/man1/libhid-detach-device.1.gz
-%%PYTHON_SITELIBDIR%%/libhid/_hid.a
-%%PYTHON_SITELIBDIR%%/libhid/_hid.so
-%%PYTHON_SITELIBDIR%%/libhid/_hid.so.0
-%%PYTHON_SITELIBDIR%%/libhid/_hid.so.0.0.0
-%%PYTHON_SITELIBDIR%%/libhid/__init__.py
-%%PYTHON_SITELIBDIR%%/libhid/__init__.pyc
-%%PYTHON_SITELIBDIR%%/libhid/__init__.pyo
-%%PYTHON_SITELIBDIR%%/libhid/hid.py
-%%PYTHON_SITELIBDIR%%/libhid/hid.pyc
-%%PYTHON_SITELIBDIR%%/libhid/hid.pyo
-%%PYTHON_SITELIBDIR%%/libhid/hidwrap.py
-%%PYTHON_SITELIBDIR%%/libhid/hidwrap.pyc
-%%PYTHON_SITELIBDIR%%/libhid/hidwrap.pyo