From owner-svn-ports-all@freebsd.org Fri Oct 14 21:18:05 2016 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A21D5C12EBC; Fri, 14 Oct 2016 21:18:05 +0000 (UTC) (envelope-from martymac@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5FD35679; Fri, 14 Oct 2016 21:18:05 +0000 (UTC) (envelope-from martymac@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u9ELI4Vq083985; Fri, 14 Oct 2016 21:18:04 GMT (envelope-from martymac@FreeBSD.org) Received: (from martymac@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u9ELI4Vr083982; Fri, 14 Oct 2016 21:18:04 GMT (envelope-from martymac@FreeBSD.org) Message-Id: <201610142118.u9ELI4Vr083982@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: martymac set sender to martymac@FreeBSD.org using -f From: Ganael LAPLANCHE Date: Fri, 14 Oct 2016 21:18:04 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r423994 - in branches/2016Q4/devel/tbb: . files X-SVN-Group: ports-branches MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Oct 2016 21:18:05 -0000 Author: martymac Date: Fri Oct 14 21:18:03 2016 New Revision: 423994 URL: https://svnweb.freebsd.org/changeset/ports/423994 Log: MFH: r423934 - Add pkgconfig file [1] - Do not use absolute paths for shlibs links PR: 213373 [1] Submitted by: rozhuk.im@gmail.com [1] Approved by: ports-secteam Added: branches/2016Q4/devel/tbb/files/tbb.pc.in - copied unchanged from r423934, head/devel/tbb/files/tbb.pc.in Modified: branches/2016Q4/devel/tbb/Makefile branches/2016Q4/devel/tbb/pkg-plist Directory Properties: branches/2016Q4/ (props changed) Modified: branches/2016Q4/devel/tbb/Makefile ============================================================================== --- branches/2016Q4/devel/tbb/Makefile Fri Oct 14 21:07:02 2016 (r423993) +++ branches/2016Q4/devel/tbb/Makefile Fri Oct 14 21:18:03 2016 (r423994) @@ -3,6 +3,7 @@ PORTNAME= tbb PORTVERSION= 4.4.2 +PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= http://threadingbuildingblocks.org/sites/default/files/software_releases/source/ \ LOCAL/martymac @@ -13,6 +14,12 @@ COMMENT= Library that provides thread bu LICENSE= GPLv2 +SUB_FILES= tbb.pc +SUB_LIST= prefix="${PREFIX}" \ + name="${PORTNAME}" \ + description="${COMMENT}" \ + version="${PORTVERSION}" + OPTIONS_DEFINE= DOCS PORTDOCS= * @@ -45,15 +52,18 @@ do-install: cd ${WRKSRC}; \ ${INSTALL_LIB} build/FreeBSD*release/libtbb.so \ ${STAGEDIR}${PREFIX}/lib/libtbb.so.4; \ - ${LN} -sf ${PREFIX}/lib/libtbb.so.4 \ + ${LN} -sf libtbb.so.4 \ ${STAGEDIR}${PREFIX}/lib/libtbb.so; \ ${INSTALL_LIB} build/FreeBSD*release/libtbbmalloc.so \ ${STAGEDIR}${PREFIX}/lib/libtbbmalloc.so.4; \ - ${LN} -sf ${PREFIX}/lib/libtbbmalloc.so.4 \ + ${LN} -sf libtbbmalloc.so.4 \ ${STAGEDIR}${PREFIX}/lib/libtbbmalloc.so; \ ${MKDIR} ${STAGEDIR}${PREFIX}/include/tbb/; \ cd include/tbb/ && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/include/tbb/ ${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC}/doc/html && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} +post-install: + ${INSTALL_DATA} ${WRKDIR}/tbb.pc ${STAGEDIR}${PREFIX}/libdata/pkgconfig + .include Copied: branches/2016Q4/devel/tbb/files/tbb.pc.in (from r423934, head/devel/tbb/files/tbb.pc.in) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ branches/2016Q4/devel/tbb/files/tbb.pc.in Fri Oct 14 21:18:03 2016 (r423994, copy of r423934, head/devel/tbb/files/tbb.pc.in) @@ -0,0 +1,10 @@ +prefix=%%prefix%% +exec_prefix=${prefix} +libdir=${exec_prefix}/lib +includedir=${prefix}/include + +Name: %%name%% +Description: %%description%% +Version: %%version%% +Libs: -L${libdir} -ltbb +Cflags: -I${includedir} Modified: branches/2016Q4/devel/tbb/pkg-plist ============================================================================== --- branches/2016Q4/devel/tbb/pkg-plist Fri Oct 14 21:07:02 2016 (r423993) +++ branches/2016Q4/devel/tbb/pkg-plist Fri Oct 14 21:18:03 2016 (r423994) @@ -103,3 +103,4 @@ lib/libtbb.so lib/libtbb.so.4 lib/libtbbmalloc.so lib/libtbbmalloc.so.4 +libdata/pkgconfig/tbb.pc