git: 944fea027c9f - main - net/p5-Net-SSH2: Strip shared library

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Mon, 18 Apr 2022 00:05:26 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=944fea027c9fddec3f03b57d617c2328fb7a0e31

commit 944fea027c9fddec3f03b57d617c2328fb7a0e31
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-04-17 23:49:06 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-04-17 23:59:03 +0000

    net/p5-Net-SSH2: Strip shared library
    
    - Bump PORTREVISION for package change
---
 net/p5-Net-SSH2/Makefile | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/net/p5-Net-SSH2/Makefile b/net/p5-Net-SSH2/Makefile
index 7d922c367c8a..226fa9aaa6e4 100644
--- a/net/p5-Net-SSH2/Makefile
+++ b/net/p5-Net-SSH2/Makefile
@@ -2,6 +2,7 @@
 
 PORTNAME=	Net-SSH2
 PORTVERSION=	0.72
+PORTREVISION=	1
 CATEGORIES=	net perl5
 MASTER_SITES=	CPAN
 PKGNAMEPREFIX=	p5-
@@ -26,4 +27,7 @@ post-install-EXAMPLES-on:
 	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
 	(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTEXAMPLES} ${STAGEDIR}${EXAMPLESDIR})
 
+post-install:
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Net/SSH2/SSH2.so
+
 .include <bsd.port.mk>