aboutsummaryrefslogtreecommitdiff
path: root/lib/libusb/Makefile
diff options
context:
space:
mode:
authorRui Paulo <rpaulo@FreeBSD.org>2013-07-25 03:54:08 +0000
committerRui Paulo <rpaulo@FreeBSD.org>2013-07-25 03:54:08 +0000
commit041d3f3f09b8cb01771ddbf2c2b9ed7bd95a519a (patch)
treee68f3db9840a30ae74b3efdd2720e72ee74a9089 /lib/libusb/Makefile
parent763d9566fe85c422787f87631dfe2a47d3278a4a (diff)
downloadsrc-041d3f3f09b8cb01771ddbf2c2b9ed7bd95a519a.tar.gz
src-041d3f3f09b8cb01771ddbf2c2b9ed7bd95a519a.zip
Notes
Diffstat (limited to 'lib/libusb/Makefile')
-rw-r--r--lib/libusb/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/libusb/Makefile b/lib/libusb/Makefile
index d0698e3c2ce5..99bdfc2b9fc9 100644
--- a/lib/libusb/Makefile
+++ b/lib/libusb/Makefile
@@ -38,6 +38,14 @@ SRCS+= libusb10_io.c
CFLAGS+= -DCOMPAT_32BIT
.endif
+beforeinstall:
+ ${INSTALL} -C -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \
+ ${.CURDIR}/libusb-0.1.pc ${DESTDIR}${LIBDATADIR}/pkgconfig
+ ${INSTALL} -C -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \
+ ${.CURDIR}/libusb-1.0.pc ${DESTDIR}${LIBDATADIR}/pkgconfig
+ ${INSTALL} -C -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \
+ ${.CURDIR}/libusb-2.0.pc ${DESTDIR}${LIBDATADIR}/pkgconfig
+
#
# Cross platform support
#