7277ec6a16
FreeBSD appears to use different pkg-config name for 0.1.x API but it doesn't matter much as 0.1, 1.0 and 2.0 share CFLAGS/LIBS.
25 lines
579 B
Makefile
25 lines
579 B
Makefile
# Created by: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= usbhid-dump
|
|
PORTVERSION= 1.4
|
|
CATEGORIES= sysutils
|
|
|
|
MAINTAINER= sunpoet@FreeBSD.org
|
|
COMMENT= USB HID device dumping utility
|
|
|
|
LICENSE= GPLv2 GPLv3
|
|
LICENSE_COMB= dual
|
|
|
|
GNU_CONFIGURE= yes
|
|
USES= autoreconf libtool pkgconfig
|
|
|
|
GH_ACCOUNT= DIGImend
|
|
USE_GITHUB= 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>
|