summaryrefslogtreecommitdiff
path: root/comms/hidapi/Makefile
blob: 6efe151f4acad76b22fa07ec803713607264d824 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28

PORTNAME=	hidapi
DISTVERSIONPREFIX=	${PORTNAME}-
DISTVERSION=	0.10.1
CATEGORIES=	comms

MAINTAINER=	ehaupt@FreeBSD.org
COMMENT=	Library to access USB HID-class devices

LICENSE=	BSD3CLAUSE GPLv3
LICENSE_COMB=	dual

USES=		autoreconf gettext-tools iconv:wchar_t libtool localbase \
		pkgconfig

USE_GITHUB=	yes
GH_ACCOUNT=	libusb

GNU_CONFIGURE=	yes
INSTALL_TARGET=	install-strip
USE_LDCONFIG=	yes

OPTIONS_DEFINE=	DOCS

pre-configure:
	@${CP} ${LOCALBASE}/share/gettext/config.rpath ${WRKSRC}

.include <bsd.port.mk>