From owner-svn-src-head@FreeBSD.ORG Thu Jul 25 03:54:10 2013 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 825EC6CA; Thu, 25 Jul 2013 03:54:10 +0000 (UTC) (envelope-from rpaulo@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 5FB162ACB; Thu, 25 Jul 2013 03:54:10 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r6P3s90Y051964; Thu, 25 Jul 2013 03:54:09 GMT (envelope-from rpaulo@svn.freebsd.org) Received: (from rpaulo@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r6P3s83c051956; Thu, 25 Jul 2013 03:54:08 GMT (envelope-from rpaulo@svn.freebsd.org) Message-Id: <201307250354.r6P3s83c051956@svn.freebsd.org> From: Rui Paulo Date: Thu, 25 Jul 2013 03:54:08 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r253637 - in head: etc/mtree lib/libusb X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Jul 2013 03:54:10 -0000 Author: rpaulo Date: Thu Jul 25 03:54:08 2013 New Revision: 253637 URL: http://svnweb.freebsd.org/changeset/base/253637 Log: Add pkgconf files for libusb. Reviewed by: hselasky Added: head/lib/libusb/libusb-0.1.pc (contents, props changed) head/lib/libusb/libusb-1.0.pc (contents, props changed) head/lib/libusb/libusb-2.0.pc (contents, props changed) Modified: head/etc/mtree/BSD.usr.dist head/lib/libusb/Makefile Modified: head/etc/mtree/BSD.usr.dist ============================================================================== --- head/etc/mtree/BSD.usr.dist Thu Jul 25 03:48:37 2013 (r253636) +++ head/etc/mtree/BSD.usr.dist Thu Jul 25 03:54:08 2013 (r253637) @@ -38,6 +38,8 @@ .. lint .. + pkgconfig + .. .. libexec bsdinstall Modified: head/lib/libusb/Makefile ============================================================================== --- head/lib/libusb/Makefile Thu Jul 25 03:48:37 2013 (r253636) +++ head/lib/libusb/Makefile Thu Jul 25 03:54:08 2013 (r253637) @@ -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 # Added: head/lib/libusb/libusb-0.1.pc ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/lib/libusb/libusb-0.1.pc Thu Jul 25 03:54:08 2013 (r253637) @@ -0,0 +1,11 @@ +# $FreeBSD$ +prefix=/usr +exec_prefix=${prefix} +libdir=${exec_prefix}/lib +includedir=${prefix}/include + +Name: libusb-0.1 +Description: Library that abstracts ways to access USB devices (v0.1) +Version: 0.1.0 +Libs: -L${libdir} -lusb +Cflags: -I${includedir} Added: head/lib/libusb/libusb-1.0.pc ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/lib/libusb/libusb-1.0.pc Thu Jul 25 03:54:08 2013 (r253637) @@ -0,0 +1,11 @@ +# $FreeBSD$ +prefix=/usr +exec_prefix=${prefix} +libdir=${exec_prefix}/lib +includedir=${prefix}/include + +Name: libusb-1.0 +Description: Library that abstracts ways to access USB devices (v1.0) +Version: 1.0.9 +Libs: -L${libdir} -lusb +Cflags: -I${includedir} Added: head/lib/libusb/libusb-2.0.pc ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/lib/libusb/libusb-2.0.pc Thu Jul 25 03:54:08 2013 (r253637) @@ -0,0 +1,11 @@ +# $FreeBSD$ +prefix=/usr +exec_prefix=${prefix} +libdir=${exec_prefix}/lib +includedir=${prefix}/include + +Name: libusb-2.0 +Description: Library that abstracts ways to access USB devices (v2.0) +Version: 2.0.0 +Libs: -L${libdir} -lusb +Cflags: -I${includedir}