2014-01-03 20:42:35 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= hidapi
|
2015-05-30 21:25:06 +00:00
|
|
|
DISTVERSIONPREFIX= ${PORTNAME}-
|
2014-01-03 20:42:35 +00:00
|
|
|
DISTVERSION= 0.8.0-rc1
|
2014-12-18 11:21:53 +00:00
|
|
|
PORTREVISION= 3
|
2014-01-03 20:42:35 +00:00
|
|
|
CATEGORIES= comms
|
|
|
|
|
|
|
|
MAINTAINER= tijl@FreeBSD.org
|
|
|
|
COMMENT= Library to access USB HID-class devices
|
|
|
|
|
|
|
|
LICENSE= BSD3CLAUSE GPLv3
|
|
|
|
LICENSE_COMB= dual
|
|
|
|
|
|
|
|
USE_GITHUB= yes
|
|
|
|
GH_ACCOUNT= signal11
|
|
|
|
|
2015-10-10 14:03:00 +00:00
|
|
|
USES= autoreconf gettext-tools iconv:wchar_t libtool
|
2014-12-18 11:21:53 +00:00
|
|
|
GNU_CONFIGURE= yes
|
2014-01-03 20:42:35 +00:00
|
|
|
USE_LDCONFIG= yes
|
2014-12-18 11:21:53 +00:00
|
|
|
INSTALL_TARGET= install-strip
|
|
|
|
PORTDOCS= *
|
2014-01-03 20:42:35 +00:00
|
|
|
|
2015-10-10 14:03:00 +00:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
|
|
LIBS+= -L${LOCALBASE}/lib
|
|
|
|
|
2018-09-10 13:14:50 +00:00
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
|
2015-10-10 14:03:00 +00:00
|
|
|
pre-configure:
|
|
|
|
@${CP} ${LOCALBASE}/share/gettext/config.rpath ${WRKSRC}
|
|
|
|
|
2014-01-03 20:42:35 +00:00
|
|
|
.include <bsd.port.mk>
|