- USES=libtool pathfix
- Add INSTALL_TARGET=install-strip - Remove MAKE_ARGS and MAKE_ENV - Remove files/libusb-1.0.pc, not needed with LIBUSB_CFLAGS and LIBUSB_LIBS set in CONFIGURE_ENV
This commit is contained in:
parent
023eda5851
commit
07f4ac866c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=361392
@ -3,24 +3,17 @@
|
||||
|
||||
PORTNAME= usbredir
|
||||
PORTVERSION= 0.6
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= net devel
|
||||
MASTER_SITES= http://spice-space.org/download/usbredir/
|
||||
|
||||
MAINTAINER= nox@FreeBSD.org
|
||||
COMMENT= protocol for redirection of USB traffic
|
||||
|
||||
USES= gmake pkgconfig tar:bzip2
|
||||
USES= gmake libtool pathfix pkgconfig tar:bzip2
|
||||
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
|
||||
INSTALL_TARGET= install-strip
|
||||
CONFIGURE_ENV= LIBUSB_CFLAGS=-DLIBUSB_CALL= LIBUSB_LIBS=-lusb
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,10 +0,0 @@
|
||||
prefix=/usr
|
||||
exec_prefix=${prefix}
|
||||
libdir=${exec_prefix}/lib
|
||||
includedir=${prefix}/include
|
||||
|
||||
Name: libusb
|
||||
Description: USB access library
|
||||
Version: 1.0.1
|
||||
Libs: -L${libdir} -lusb
|
||||
Cflags: -I${includedir}
|
@ -3,13 +3,13 @@ include/usbredirhost.h
|
||||
include/usbredirproto.h
|
||||
include/usbredirparser.h
|
||||
lib/libusbredirparser.a
|
||||
lib/libusbredirparser.la
|
||||
lib/libusbredirparser.so
|
||||
lib/libusbredirparser.so.1
|
||||
lib/libusbredirparser.so.1.0.0
|
||||
lib/libusbredirhost.a
|
||||
lib/libusbredirhost.la
|
||||
lib/libusbredirhost.so
|
||||
lib/libusbredirhost.so.1
|
||||
lib/libusbredirhost.so.1.0.0
|
||||
libdata/pkgconfig/libusbredirparser-0.5.pc
|
||||
libdata/pkgconfig/libusbredirhost.pc
|
||||
man/man1/usbredirserver.1.gz
|
||||
|
Loading…
Reference in New Issue
Block a user