summaryrefslogtreecommitdiff
path: root/devel/libhid/Makefile
blob: 5a03b90aa2214ce2de2e93235770d200181470e0 (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
29
30
31
# $NetBSD: Makefile,v 1.20 2022/06/30 11:18:16 nia Exp $

DISTNAME=	libhid-0.2.16
PKGREVISION=	10
CATEGORIES=	devel
MASTER_SITES=	http://sourceforge.net/projects/salix-sbo/files/13.37/libhid/
MASTER_SITES+=	https://alioth.debian.org/frs/download.php/file/1958/
LICENSE=	gnu-gpl-v2

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://libhid.alioth.debian.org/
COMMENT=	Abstraction layer for HID-class devices over USB/serial

BUILD_DEPENDS+=	docbook-[0-9]*:../../textproc/docbook

USE_LIBTOOL=	yes
USE_TOOLS+=	gmake
GNU_CONFIGURE=	yes
CONFIGURE_ENV+=	PYTHON_LDFLAGS="-L${PREFIX}/lib -lpython${PYVERSSUFFIX}"

PY_PATCHPLIST=	yes

PYTHON_VERSIONS_ACCEPTED=	27 # not yet ported as of 0.2.16

BUILDLINK_TRANSFORM+=	rm:-Werror

.include "../../lang/python/extension.mk"
.include "../../mk/libusb.buildlink3.mk"
.include "../../devel/swig/buildlink3.mk"
.include "../../textproc/libxslt/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"