aboutsummaryrefslogtreecommitdiffstats
path: root/devel/libhid/Makefile
blob: e9b915dca0efe253a26041a1f1f93b1f67997b43 (plain) (blame)
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
35
36
37
38
# New ports collection makefile for:   libhid
# Date created:        16 July 2007
# Whom:                ntarmos@ceid.upatras.gr
#
# $FreeBSD$
#

PORTNAME=   libhid
PORTVERSION=    0.2.16
PORTREVISION=   1
CATEGORIES= devel
MASTER_SITES=   http://alioth.debian.org/frs/download.php/1958/

MAINTAINER= ntarmos@ceid.upatras.gr
COMMENT=    A user-space HID access library written in C

MAN1=       libhid-detach-device.1
MANCOMPRESSED=  no
USE_LDCONFIG=   yes
USE_GMAKE=  yes
USE_PYTHON= yes

BUILD_DEPENDS+= ${LOCALBASE}/bin/xsltproc:${PORTSDIR}/textproc/libxslt \
        ${LOCALBASE}/share/xsl/docbook/html:${PORTSDIR}/textproc/docbook-xsl \
        ${LOCALBASE}/bin/swig1.3:${PORTSDIR}/devel/swig13

HAS_CONFIGURE=  yes
CONFIGURE_ARGS+=    --mandir=${MANPREFIX}/man --without-doxygen

.include <bsd.port.pre.mk>

.if ${OSVERSION} < 800069
LIB_DEPENDS+=   usb-0.1.8:${PORTSDIR}/devel/libusb
.else
EXTRA_PATCHES=  ${FILESDIR}/extra-patch-usb
.endif

.include <bsd.port.post.mk>