aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTijl Coosemans <tijl@FreeBSD.org>2014-07-09 16:21:13 +0000
committerTijl Coosemans <tijl@FreeBSD.org>2014-07-09 16:21:13 +0000
commit07f4ac866c63f109c993cb54c398d66eb9a28ae2 (patch)
treeffad37d1d3f0c3bfeb3d5fef9286aa99e2fcbbf7
parent023eda5851049d00cb0e82b6f5c5b3c592171c56 (diff)
downloadports-07f4ac866c63f109c993cb54c398d66eb9a28ae2.tar.gz
ports-07f4ac866c63f109c993cb54c398d66eb9a28ae2.zip
Notes
-rw-r--r--net/usbredir/Makefile15
-rw-r--r--net/usbredir/files/libusb-1.0.pc10
-rw-r--r--net/usbredir/pkg-plist4
3 files changed, 6 insertions, 23 deletions
diff --git a/net/usbredir/Makefile b/net/usbredir/Makefile
index c59dba3a03ef..8cf774027852 100644
--- a/net/usbredir/Makefile
+++ b/net/usbredir/Makefile
@@ -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>
diff --git a/net/usbredir/files/libusb-1.0.pc b/net/usbredir/files/libusb-1.0.pc
deleted file mode 100644
index 52d26e32078b..000000000000
--- a/net/usbredir/files/libusb-1.0.pc
+++ /dev/null
@@ -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}
diff --git a/net/usbredir/pkg-plist b/net/usbredir/pkg-plist
index b7b60f0af7af..f644346688bd 100644
--- a/net/usbredir/pkg-plist
+++ b/net/usbredir/pkg-plist
@@ -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