mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-25 00:51:21 +00:00
9a993f8491
- Remove obsolete ${OSVERSION} < 803000 check.
28 lines
682 B
Makefile
28 lines
682 B
Makefile
# Created by: Juergen Lock <nox@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= usbredir
|
|
PORTVERSION= 0.6
|
|
CATEGORIES= net devel
|
|
MASTER_SITES= http://spice-space.org/download/usbredir/
|
|
|
|
MAINTAINER= nox@FreeBSD.org
|
|
COMMENT= protocol for redirection of USB traffic
|
|
|
|
USE_BZIP2= yes
|
|
USES= gmake pkgconfig
|
|
PATCH_STRIP= -p1
|
|
GNU_CONFIGURE= yes
|
|
MAKE_ARGS+= PREFIX=${PREFIX}
|
|
CONFIGURE_ENV+= LIBUSB_CFLAGS=-I/usr/include\ -DLIBUSB_CALL=
|
|
CONFIGURE_ENV+= LIBUSB_LIBS=-lusb
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
MAKE_ENV+= PKG_CONFIG_PATH=${FILESDIR}
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} "s|\\\$$(libdir)/pkgconfig|${PREFIX}/libdata/pkgconfig|" ${WRKSRC}/*/Makefile.in ${WRKSRC}/*/Makefile.am
|
|
|
|
.include <bsd.port.mk>
|