Date: Tue, 11 Dec 2018 17:13:55 +0000 (UTC) From: Li-Wen Hsu <lwhsu@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r487244 - in head/devel/libsysinfo: . files Message-ID: <201812111713.wBBHDt5B095750@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <greg@unrelenting.technology> 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 <bsd.port.mk> 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}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201812111713.wBBHDt5B095750>