git: 51bf0cd2cdbd - main - net/p5-POSIX-getpeername: Strip shared library

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

URL: https://cgit.FreeBSD.org/ports/commit/?id=51bf0cd2cdbde5e0d33b40caddb39e6298e8d013

commit 51bf0cd2cdbde5e0d33b40caddb39e6298e8d013
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-04-17 23:49:40 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-04-17 23:59:04 +0000

    net/p5-POSIX-getpeername: Strip shared library
    
    - Sort PLIST
    - Bump PORTREVISION for package change
---
 net/p5-POSIX-getpeername/Makefile  | 7 +++++--
 net/p5-POSIX-getpeername/pkg-plist | 2 +-
 2 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/net/p5-POSIX-getpeername/Makefile b/net/p5-POSIX-getpeername/Makefile
index af30ff81bb60..2ae19e51bbba 100644
--- a/net/p5-POSIX-getpeername/Makefile
+++ b/net/p5-POSIX-getpeername/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	POSIX-getpeername
 PORTVERSION=	0.01
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	net perl5
 MASTER_SITES=	CPAN
 PKGNAMEPREFIX=	p5-
@@ -8,7 +8,10 @@ PKGNAMEPREFIX=	p5-
 MAINTAINER=	perl@FreeBSD.org
 COMMENT=	Perl extension to provide getpeername(2)
 
-USES=	perl5
+USES=		perl5
 USE_PERL5=	modbuild
 
+post-install:
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/POSIX/getpeername/getpeername.so
+
 .include <bsd.port.mk>
diff --git a/net/p5-POSIX-getpeername/pkg-plist b/net/p5-POSIX-getpeername/pkg-plist
index 135bfb3e3c6a..106e746d0d46 100644
--- a/net/p5-POSIX-getpeername/pkg-plist
+++ b/net/p5-POSIX-getpeername/pkg-plist
@@ -1,3 +1,3 @@
-%%SITE_ARCH%%/auto/POSIX/getpeername/getpeername.so
 %%SITE_ARCH%%/POSIX/getpeername.pm
+%%SITE_ARCH%%/auto/POSIX/getpeername/getpeername.so
 %%PERL5_MAN3%%/POSIX::getpeername.3.gz