2013-08-31 02:26:08 +02:00
|
|
|
# Created by: Juergen Lock <nox@FreeBSD.org>
|
2011-08-21 17:43:02 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= usbredir
|
2013-03-29 18:40:38 +01:00
|
|
|
PORTVERSION= 0.6
|
2011-08-21 17:43:02 +02:00
|
|
|
CATEGORIES= net devel
|
2012-06-09 18:19:05 +02:00
|
|
|
MASTER_SITES= http://spice-space.org/download/usbredir/
|
2011-08-21 17:43:02 +02:00
|
|
|
|
|
|
|
MAINTAINER= nox@FreeBSD.org
|
2013-03-29 18:40:38 +01:00
|
|
|
COMMENT= protocol for redirection of USB traffic
|
2011-08-21 17:43:02 +02:00
|
|
|
|
2014-03-15 16:35:59 +01:00
|
|
|
USES= gmake pkgconfig tar:bzip2
|
2011-08-21 17:43:02 +02:00
|
|
|
PATCH_STRIP= -p1
|
2012-06-09 18:19:05 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2011-08-21 17:43:02 +02:00
|
|
|
MAKE_ARGS+= PREFIX=${PREFIX}
|
2013-03-29 18:40:38 +01:00
|
|
|
CONFIGURE_ENV+= LIBUSB_CFLAGS=-I/usr/include\ -DLIBUSB_CALL=
|
2012-06-09 18:19:05 +02:00
|
|
|
CONFIGURE_ENV+= LIBUSB_LIBS=-lusb
|
2011-08-21 17:43:02 +02:00
|
|
|
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
|
|
|
MAKE_ENV+= PKG_CONFIG_PATH=${FILESDIR}
|
|
|
|
|
|
|
|
post-patch:
|
2012-06-09 18:19:05 +02:00
|
|
|
@${REINPLACE_CMD} "s|\\\$$(libdir)/pkgconfig|${PREFIX}/libdata/pkgconfig|" ${WRKSRC}/*/Makefile.in ${WRKSRC}/*/Makefile.am
|
2011-08-21 17:43:02 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|