summaryrefslogtreecommitdiffstats
path: root/lib/libusb/Makefile
diff options
context:
space:
mode:
authorrpaulo <rpaulo@FreeBSD.org>2013-07-25 03:54:08 +0000
committerrpaulo <rpaulo@FreeBSD.org>2013-07-25 03:54:08 +0000
commit56a6c80c3f62e1f1330fac31e6547dd61f17143a (patch)
treee68f3db9840a30ae74b3efdd2720e72ee74a9089 /lib/libusb/Makefile
parent8ef3c0b12c3b89ce81e384e9511bc1347e58a845 (diff)
downloadFreeBSD-src-56a6c80c3f62e1f1330fac31e6547dd61f17143a.zip
FreeBSD-src-56a6c80c3f62e1f1330fac31e6547dd61f17143a.tar.gz
Add pkgconf files for libusb.
Reviewed by: hselasky
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 d0698e3..99bdfc2 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
#
OpenPOWER on IntegriCloud