PORTNAME=	usbhid-dump
PORTVERSION=	1.4
CATEGORIES=	sysutils
MASTER_SITES=	https://github.com/DIGImend/usbhid-dump/releases/download/${PORTVERSION}/

MAINTAINER=	sunpoet@FreeBSD.org
COMMENT=	USB HID device dumping utility
WWW=		https://github.com/DIGImend/usbhid-dump

USES=		gmake libtool pkgconfig

GNU_CONFIGURE=	yes

post-install:
	${MKDIR} ${STAGEDIR}${PREFIX}/include/uhd/
	cd ${WRKSRC}/include/uhd/ && ${INSTALL_DATA} *.h ${STAGEDIR}${PREFIX}/include/uhd/
	${INSTALL_DATA} ${WRKSRC}/lib/.libs/libuhd.a ${STAGEDIR}${PREFIX}/lib/

.include <bsd.port.mk>
