1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-19 08:13:21 +00:00
freebsd-ports/net/usbredir/Makefile
Juergen Lock b4d7f46da9 - Update net/usbredir to 0.4.3 .
- Update emulators/qemu-devel to 1.1.0 - announce posting is here:

	http://lists.nongnu.org/archive/html/qemu-devel/2012-06/msg00072.html
2012-06-09 16:19:05 +00:00

39 lines
901 B
Makefile

# Ports collection makefile for: usbredir
# Date created: Mon Aug 15 18:16:38 CEST 2011
# Whom: Juergen Lock <nox@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= usbredir
PORTVERSION= 0.4.3
CATEGORIES= net devel
MASTER_SITES= http://spice-space.org/download/usbredir/
MAINTAINER= nox@FreeBSD.org
COMMENT= A protocol for redirection of USB traffic
USE_BZIP2= yes
MAKE_JOBS_SAFE= yes
USE_GMAKE= yes
USE_GNOME= pkgconfig
PATCH_STRIP= -p1
GNU_CONFIGURE= yes
MAKE_ARGS+= PREFIX=${PREFIX}
CONFIGURE_ENV+= LIBUSB_CFLAGS=-I/usr/include
CONFIGURE_ENV+= LIBUSB_LIBS=-lusb
MAN1= usbredirserver.1
.include <bsd.port.options.mk>
.if ${OSVERSION} < 803000
IGNORE= needs libusb_get_device_speed()
.else
MAKE_ENV+= PKG_CONFIG_PATH=${FILESDIR}
.endif
post-patch:
@${REINPLACE_CMD} "s|\\\$$(libdir)/pkgconfig|${PREFIX}/libdata/pkgconfig|" ${WRKSRC}/*/Makefile.in ${WRKSRC}/*/Makefile.am
.include <bsd.port.mk>