From owner-svn-ports-all@freebsd.org Tue Dec 11 17:13:56 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 96517130B0D3; Tue, 11 Dec 2018 17:13:56 +0000 (UTC) (envelope-from lwhsu@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3D16D81536; Tue, 11 Dec 2018 17:13:56 +0000 (UTC) (envelope-from lwhsu@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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 1E4F72B01; Tue, 11 Dec 2018 17:13:56 +0000 (UTC) (envelope-from lwhsu@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id wBBHDudK095752; Tue, 11 Dec 2018 17:13:56 GMT (envelope-from lwhsu@FreeBSD.org) Received: (from lwhsu@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id wBBHDt5B095750; Tue, 11 Dec 2018 17:13:55 GMT (envelope-from lwhsu@FreeBSD.org) Message-Id: <201812111713.wBBHDt5B095750@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: lwhsu set sender to lwhsu@FreeBSD.org using -f From: Li-Wen Hsu Date: Tue, 11 Dec 2018 17:13:55 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r487244 - in head/devel/libsysinfo: . files X-SVN-Group: ports-head X-SVN-Commit-Author: lwhsu X-SVN-Commit-Paths: in head/devel/libsysinfo: . files X-SVN-Commit-Revision: 487244 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 3D16D81536 X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-0.55 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_SHORT(-0.55)[-0.545,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US] X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 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: Tue, 11 Dec 2018 17:13:56 -0000 Author: lwhsu Date: Tue Dec 11 17:13:55 2018 New Revision: 487244 URL: https://svnweb.freebsd.org/changeset/ports/487244 Log: - Add pkg-config pc file [1] - Pet portlint while here PR: 233446 [1] Submitted by: Greg V Approved by: imp (maintainer) Added: head/devel/libsysinfo/files/ head/devel/libsysinfo/files/libsysinfo.pc.in (contents, props changed) Modified: head/devel/libsysinfo/Makefile Modified: head/devel/libsysinfo/Makefile ============================================================================== --- head/devel/libsysinfo/Makefile Tue Dec 11 17:03:52 2018 (r487243) +++ head/devel/libsysinfo/Makefile Tue Dec 11 17:13:55 2018 (r487244) @@ -3,7 +3,7 @@ PORTNAME= libsysinfo PORTVERSION= 0.0.3 DISTVERSIONPREFIX= v -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= devel MAINTAINER= imp@bsdimp.com @@ -11,10 +11,11 @@ COMMENT= GNU libc's sysinfo port for FreeBSD LICENSE= BSD3CLAUSE +USES= uidfix + USE_GITHUB= yes GH_ACCOUNT= bsdimp -USES= uidfix USE_LDCONFIG= yes LDFLAGS+= -lkvm @@ -23,6 +24,13 @@ PLIST_FILES= include/sys/sysinfo.h \ lib/libsysinfo.a \ lib/libsysinfo.so \ lib/libsysinfo.so.0 \ + libdata/pkgconfig/libsysinfo.pc \ man/man3/sysinfo.3.gz + +SUB_FILES= libsysinfo.pc +SUB_LIST= PREFIX="${PREFIX}" PORTVERSION="${PORTVERSION}" COMMENT="${COMMENT}" + +post-install: + ${INSTALL_DATA} ${WRKDIR}/libsysinfo.pc ${STAGEDIR}${PREFIX}/libdata/pkgconfig/ .include Added: head/devel/libsysinfo/files/libsysinfo.pc.in ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/libsysinfo/files/libsysinfo.pc.in Tue Dec 11 17:13:55 2018 (r487244) @@ -0,0 +1,11 @@ +prefix=%%PREFIX%% +exec_prefix=${prefix} +libdir=${exec_prefix}/lib +includedir=${prefix}/include + +Name: libsysinfo +Description: %%COMMENT%% +Version: %%PORTVERSION%% +Libs: -L${libdir} -lsysinfo +Libs.private: +Cflags: -I${includedir}