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