From nobody Mon Aug 12 06:21:27 2024 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Wj4Cr210sz5TFVX; Mon, 12 Aug 2024 06:21:28 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Wj4Cr10sQz4nr5; Mon, 12 Aug 2024 06:21:28 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1723443688; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=O5cQ1nnCtJo98Q3Ew7+MifZnGg4rXBmKsel3UzpBHSU=; b=Z7FKJap32Sx+Dlf6ieun61kb0kzVrhbT6szRbfGoKGbedueU1NHKN1fy59iy0nmQrB0egv wVIS9HTYPivy+fkkDinFP/zNLJBp5MHotY5vhKrDoBWMsILFzF0br/bcyOTAHPci7382TG wcJnmoIS77mUUykDQ8qbeIgrtrrmnfPFdVgphjs1oPVlTcgstD3ueABv2Kxh/2Gs66hJl5 ontJlqRR1qCzjeiuA0hoIN57A2kFvQU5ADCSKA5HnRCleez1xgcqJmYXs6FigAiMhtm9PG HIK7Hw7erimEAcUzZS0diGD4x3NcNokmpsHvmARaW840MBUiy02XsWFzALCcdQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1723443688; a=rsa-sha256; cv=none; b=JuuWZA74com/FjJQxVJs3Mi/obHjAHFmKS5F4V4y1iTIIQdhvqXPu5qxfKCugqtj1fnuuS qxaaoEX8ADP2vSSZt4PafX06g/gS0RUlCeChjWMMLLShgylShd9XbDja4OJ7gXanR0L4as t/iNyerc0k8GHllQNszA0EDACQ3DpHzLNcANO7oDk/huWeZltMKiyFAeFR1qy2K9LdN0YA nkEzf8RfLanSRaZy0EVdu4vL0jA8fwJWbaplFef/8tUqyZOykfwOhOQYnnTMSxwJPbE02Q bibYcrHGRPJvtdbGcB9f3QQRxxKj6yuXNBziM1WbIPlSvcngkaGKoMcV/eb9XA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1723443688; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=O5cQ1nnCtJo98Q3Ew7+MifZnGg4rXBmKsel3UzpBHSU=; b=LZ2a6bJk+8OdZvYqRMekIluAsIrDSvekhvdWn9t1AtSZDFHvWENkWItgpxqk8TN/6q/vAI YmfF7IG37+XVfsNpPcIT+xU5DLE2p8cUWwraTvu39VsHgFEQOhCkFLk4wNdXncvV3TA78a FStnNSiZkKgoY3qpwoWdrz5Mb1pyi9l0iLzkWVMcpwLDhQAigFK2pUbpreRHUwzojWl/UZ 0BxAw7ybBPfN8kReUbAacYHN1uecYY9+OqgCglTURv+uEDZhgRaNFrVUQygmxJpvyQWPsM DCNcBmV8AJAFsjpUd8SrCe3R1kw+HDIfc2WGFqMeMI4xQ8ectwQI4rkisLpgpQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Wj4Cr0cl3zGx8; Mon, 12 Aug 2024 06:21:28 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 47C6LRmB073497; Mon, 12 Aug 2024 06:21:27 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 47C6LRJI073494; Mon, 12 Aug 2024 06:21:27 GMT (envelope-from git) Date: Mon, 12 Aug 2024 06:21:27 GMT Message-Id: <202408120621.47C6LRJI073494@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: caf574aa4e5d - main - devel/linenoise: Add .pc file List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-dev-commits-ports-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: caf574aa4e5db9f2fff8fbd48c42b8b82d0258ea Auto-Submitted: auto-generated The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=caf574aa4e5db9f2fff8fbd48c42b8b82d0258ea commit caf574aa4e5db9f2fff8fbd48c42b8b82d0258ea Author: Yuri Victorovich AuthorDate: 2024-08-12 02:45:49 +0000 Commit: Yuri Victorovich CommitDate: 2024-08-12 06:21:25 +0000 devel/linenoise: Add .pc file PR: 280602 --- devel/linenoise/Makefile | 9 +++++++-- devel/linenoise/files/linenoise.pc.in | 10 ++++++++++ 2 files changed, 17 insertions(+), 2 deletions(-) diff --git a/devel/linenoise/Makefile b/devel/linenoise/Makefile index c6a15d42462c..9fab250abb1c 100644 --- a/devel/linenoise/Makefile +++ b/devel/linenoise/Makefile @@ -1,7 +1,7 @@ PORTNAME= linenoise DISTVERSION= 1.0-34 -PORTREVISION= 1 DISTVERSIONSUFFIX= -g93b2db9 +PORTREVISION= 2 CATEGORIES= devel MAINTAINER= yuri@FreeBSD.org @@ -17,7 +17,8 @@ USE_GITHUB= yes GH_ACCOUNT= antirez PLIST_FILES= include/linenoise.h \ - lib/liblinenoise.so + lib/liblinenoise.so \ + libdata/pkgconfig/linenoise.pc do-build: @cd ${WRKSRC} && \ @@ -32,6 +33,10 @@ do-build: do-install: ${INSTALL_DATA} ${WRKSRC}/linenoise.h ${STAGEDIR}${PREFIX}/include ${INSTALL_LIB} ${WRKSRC}/liblinenoise.so ${STAGEDIR}${PREFIX}/lib + ${SED} \ + -e 's|@prefix@|${PREFIX}|; s|@version@|${PORTVERSION}|' \ + < ${FILESDIR}/linenoise.pc.in \ + > ${STAGEDIR}${PREFIX}/libdata/pkgconfig/linenoise.pc do-test: @cd ${WRKSRC} && \ diff --git a/devel/linenoise/files/linenoise.pc.in b/devel/linenoise/files/linenoise.pc.in new file mode 100644 index 000000000000..5b25867ba491 --- /dev/null +++ b/devel/linenoise/files/linenoise.pc.in @@ -0,0 +1,10 @@ +prefix=@prefix@ +exec_prefix=${prefix} +libdir=${exec_prefix}/lib +includedir=${prefix}/include + +Name: linenoise +Description: A minimal, zero-config, BSD licensed, readline replacement. +Version: @version@ +Libs: -L${libdir} -llinenoise +Cflags: -I${includedir}