git: 93f2103ad4c2 - main - devel/linenoise: Rename .pc file

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Mon, 12 Aug 2024 18:46:46 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=93f2103ad4c2b157a047d5b6dd854e72767c82c9

commit 93f2103ad4c2b157a047d5b6dd854e72767c82c9
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-08-12 18:46:11 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-08-12 18:46:39 +0000

    devel/linenoise: Rename .pc file
    
    PR:             280602
---
 devel/linenoise/Makefile                                      | 6 +++---
 devel/linenoise/files/{linenoise.pc.in => liblinenoise.pc.in} | 0
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/devel/linenoise/Makefile b/devel/linenoise/Makefile
index 9fab250abb1c..c13e1756241e 100644
--- a/devel/linenoise/Makefile
+++ b/devel/linenoise/Makefile
@@ -18,7 +18,7 @@ GH_ACCOUNT=	antirez
 
 PLIST_FILES=	include/linenoise.h \
 		lib/liblinenoise.so \
-		libdata/pkgconfig/linenoise.pc
+		libdata/pkgconfig/liblinenoise.pc
 
 do-build:
 	@cd ${WRKSRC} && \
@@ -35,8 +35,8 @@ do-install:
 	${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
+		< ${FILESDIR}/liblinenoise.pc.in \
+		> ${STAGEDIR}${PREFIX}/libdata/pkgconfig/liblinenoise.pc
 
 do-test:
 	@cd ${WRKSRC} && \
diff --git a/devel/linenoise/files/linenoise.pc.in b/devel/linenoise/files/liblinenoise.pc.in
similarity index 100%
rename from devel/linenoise/files/linenoise.pc.in
rename to devel/linenoise/files/liblinenoise.pc.in