mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-09 06:51:44 +00:00
42db45aa18
PR: ports/95147 Submitted by: Sven Berkvens-Matthijsse <sven@ilse.net>
26 lines
654 B
Makefile
26 lines
654 B
Makefile
# 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>
|