2001-02-26 21:45:05 +00:00
|
|
|
# New ports collection makefile for: libusb
|
|
|
|
# Date created: 27 January 2001
|
2002-01-04 22:44:13 +00:00
|
|
|
# Whom: John Reynolds <johnjen@reynoldsnet.org>
|
2001-02-26 21:45:05 +00:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= libusb
|
2006-03-29 06:53:06 +00:00
|
|
|
PORTVERSION= 0.1.12
|
2001-02-26 21:45:05 +00:00
|
|
|
CATEGORIES= devel
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
2002-02-23 14:33:04 +00:00
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
2001-02-26 21:45:05 +00:00
|
|
|
|
2006-03-29 06:53:49 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-21 11:23:04 +00:00
|
|
|
COMMENT= Library giving userland programs access to USB devices
|
2001-02-26 21:45:05 +00:00
|
|
|
|
2002-02-23 14:33:04 +00:00
|
|
|
CONFIGURE_ARGS= --disable-build-docs
|
2001-02-26 21:45:05 +00:00
|
|
|
INSTALLS_SHLIB= yes
|
2006-02-23 10:40:44 +00:00
|
|
|
GNU_CONFIGURE= yes
|
2001-02-26 21:45:05 +00:00
|
|
|
|
2006-03-29 06:53:06 +00:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|{libdir}/pkgconfig|{prefix}/libdata/pkgconfig|g' ${WRKSRC}/configure
|
2006-03-31 14:34:21 +00:00
|
|
|
@${REINPLACE_CMD} -e 's|<stdint.h>|<inttypes.h>|' ${WRKSRC}/descriptors.c
|
2006-03-29 06:53:06 +00:00
|
|
|
|
2001-02-26 21:45:05 +00:00
|
|
|
.include <bsd.port.mk>
|