git: 94a922108814 - main - x11-toolkits/p5-Gtk2: Strip shared library

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Mon, 31 Jul 2023 16:54:56 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=94a922108814e6724536fb77543dce284b0f4457

commit 94a922108814e6724536fb77543dce284b0f4457
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-07-31 16:38:31 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-07-31 16:42:03 +0000

    x11-toolkits/p5-Gtk2: Strip shared library
    
    - Bump PORTREVISION for package change
---
 x11-toolkits/p5-Gtk2/Makefile | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/x11-toolkits/p5-Gtk2/Makefile b/x11-toolkits/p5-Gtk2/Makefile
index 5f287311f98a..b3ead6148182 100644
--- a/x11-toolkits/p5-Gtk2/Makefile
+++ b/x11-toolkits/p5-Gtk2/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	Gtk2
 PORTVERSION=	1.24993
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	x11-toolkits lang perl5
 MASTER_SITES=	CPAN \
 		SF/${PORTNAME:tl}-perl/${PORTNAME}/${PORTVERSION}
@@ -27,4 +27,7 @@ USE_GNOME=	gtk20 pango
 
 CONFIGURE_ENV=	FORCE_MAKE_CMD=yes
 
+post-install:
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Gtk2/Gtk2.so
+
 .include <bsd.port.mk>