summaryrefslogtreecommitdiff
path: root/devel/libhid/Makefile
blob: f66dc959ef357e870adc6cc4d611f54ee2a18cfa (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
32
33
34
# $NetBSD: Makefile,v 1.6 2015/12/05 21:25:35 adam Exp $

DISTNAME=	libhid-0.2.16
PKGREVISION=	1
CATEGORIES=	devel
MASTER_SITES=	http://sourceforge.net/projects/salix-sbo/files/13.37/libhid/
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
#BUILD_DEPENDS+=	swig-[0-9]*:../../devel/swig

GNU_CONFIGURE=	yes
USE_TOOLS+=	gmake
USE_LIBTOOL=	yes

PLIST_SUBST+=	PYSITELIB=${PYSITELIB}
PYTHON_VERSIONS_INCOMPATIBLE=	33 34 35 # not yet ported as of 0.2.16

CONFIGURE_ENV+=	PYTHON_LDFLAGS="-L${PREFIX}/lib -lpython${PYVERSSUFFIX}"

.include "../../lang/python/application.mk"
# PLIST_SUBST+=	PYSITELIB=${PYSITELIB}
#.include "../../lang/python/extension.mk"
#.include "../../lang/python/distutils.mk"

.include "../../devel/libusb/buildlink3.mk"
.include "../../devel/swig/buildlink3.mk"
.include "../../textproc/libxslt/buildlink3.mk"

.include "../../mk/bsd.pkg.mk"