aboutsummaryrefslogtreecommitdiffstats
path: root/devel/libusb/Makefile
blob: c0ca5d152fa0c1495c7c30bdeac42c9861dd6137 (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
# New ports collection makefile for:    libusb
# Date created:             27 January 2001
# Whom:                 John Reynolds <johnjen@reynoldsnet.org>
#
# $FreeBSD$
#

PORTNAME=   libusb
PORTVERSION=    0.1.12
CATEGORIES= devel
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}

MAINTAINER= ports@FreeBSD.org
COMMENT=    Library giving userland programs access to USB devices

CONFIGURE_ARGS= --disable-build-docs
INSTALLS_SHLIB= yes
GNU_CONFIGURE=  yes

post-patch:
    @${REINPLACE_CMD} -e 's|{libdir}/pkgconfig|{prefix}/libdata/pkgconfig|g' ${WRKSRC}/configure
    @${REINPLACE_CMD} -e 's|<stdint.h>|<inttypes.h>|' ${WRKSRC}/descriptors.c

.include <bsd.port.mk>