git: 6719728e6dce - main - devel/libffi33: Fix pkg-plist

From: Gleb Popov <arrowd_at_FreeBSD.org>
Date: Tue, 13 May 2025 07:35:10 UTC
The branch main has been updated by arrowd:

URL: https://cgit.FreeBSD.org/ports/commit/?id=6719728e6dce058e4de79afdac57f60fb222ad5b

commit 6719728e6dce058e4de79afdac57f60fb222ad5b
Author:     Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2025-05-12 10:24:09 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2025-05-13 07:34:33 +0000

    devel/libffi33: Fix pkg-plist
---
 devel/libffi33/Makefile  | 4 ++++
 devel/libffi33/pkg-plist | 6 ------
 2 files changed, 4 insertions(+), 6 deletions(-)

diff --git a/devel/libffi33/Makefile b/devel/libffi33/Makefile
index bb4004cb210e..d939880928f1 100644
--- a/devel/libffi33/Makefile
+++ b/devel/libffi33/Makefile
@@ -35,4 +35,8 @@ post-patch:
 	@${REINPLACE_CMD} -e 's| -Wno-psabi||g' \
 		${WRKSRC}/testsuite/lib/libffi.exp
 
+post-install:
+	${RM} -r ${STAGEDIR}${PREFIX}/include
+	${RM} -r ${STAGEDIR}${PREFIX}/share/man
+
 .include <bsd.port.mk>
diff --git a/devel/libffi33/pkg-plist b/devel/libffi33/pkg-plist
index db2c3d3721d1..e92392edda14 100644
--- a/devel/libffi33/pkg-plist
+++ b/devel/libffi33/pkg-plist
@@ -1,10 +1,4 @@
 lib/compat/libffi.so
 lib/compat/libffi.so.7
 lib/compat/libffi.so.7.1.0
-@comment include/ffi.h
-@comment include/ffitarget.h
 @comment libdata/pkgconfig/libffi.pc
-@comment man/man3/ffi.3.gz
-@comment man/man3/ffi_call.3.gz
-@comment man/man3/ffi_prep_cif.3.gz
-@comment man/man3/ffi_prep_cif_var.3.gz