git: 1dca1ee05d07 - 2022Q4 - graphics/poppler-qt6: install pkg-config support like qt5
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 04 Nov 2022 22:58:42 UTC
The branch 2022Q4 has been updated by jbeich:
URL: https://cgit.FreeBSD.org/ports/commit/?id=1dca1ee05d07c7f39b2270461349dc7c6699da6f
commit 1dca1ee05d07c7f39b2270461349dc7c6699da6f
Author: Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2022-11-04 21:47:32 +0000
Commit: Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2022-11-04 22:58:19 +0000
graphics/poppler-qt6: install pkg-config support like qt5
(cherry picked from commit a6e687526d642989ff6fad1f4fd50ed15afa5abf)
---
graphics/poppler-qt6/Makefile | 2 +-
graphics/poppler-qt6/pkg-plist | 1 +
graphics/poppler/Makefile | 3 +++
3 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/graphics/poppler-qt6/Makefile b/graphics/poppler-qt6/Makefile
index a22ce7f77181..523a6f6c6313 100644
--- a/graphics/poppler-qt6/Makefile
+++ b/graphics/poppler-qt6/Makefile
@@ -1,4 +1,4 @@
-PORTREVISION= 0
+PORTREVISION= 1
COMMENT= Qt 6 bindings to poppler
diff --git a/graphics/poppler-qt6/pkg-plist b/graphics/poppler-qt6/pkg-plist
index 60ec6ece62ad..2a034dd554e3 100644
--- a/graphics/poppler-qt6/pkg-plist
+++ b/graphics/poppler-qt6/pkg-plist
@@ -10,3 +10,4 @@ include/poppler/qt6/poppler-version.h
lib/libpoppler-qt6.so
lib/libpoppler-qt6.so.3
lib/libpoppler-qt6.so.3.2.0
+libdata/pkgconfig/poppler-qt6.pc
diff --git a/graphics/poppler/Makefile b/graphics/poppler/Makefile
index 0cc339caae21..7f451938b7b6 100644
--- a/graphics/poppler/Makefile
+++ b/graphics/poppler/Makefile
@@ -105,6 +105,9 @@ post-install:
.elif ${_SLAVE_PORT} == qt5
${INSTALL_DATA} ${WRKSRC}/poppler-qt5.pc \
${STAGEDIR}${PREFIX}/libdata/pkgconfig
+.elif ${_SLAVE_PORT} == qt6
+ ${INSTALL_DATA} ${WRKSRC}/poppler-qt6.pc \
+ ${STAGEDIR}${PREFIX}/libdata/pkgconfig
.endif
.include <bsd.port.mk>