git: 2d7cf85642ab - main - devel/p5-Sort-Key: Strip shared library

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Thu, 21 Nov 2024 13:48:26 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=2d7cf85642ab4df16c569e5ab242bca05a4c388a

commit 2d7cf85642ab4df16c569e5ab242bca05a4c388a
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-11-21 13:32:49 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-11-21 13:39:44 +0000

    devel/p5-Sort-Key: Strip shared library
    
    - Sort PLIST
    - Bump PORTREVISION for package change
---
 devel/p5-Sort-Key/Makefile  |  5 ++++-
 devel/p5-Sort-Key/pkg-plist | 12 ++++++------
 2 files changed, 10 insertions(+), 7 deletions(-)

diff --git a/devel/p5-Sort-Key/Makefile b/devel/p5-Sort-Key/Makefile
index b9e24fe29052..b7e8f9a1cf38 100644
--- a/devel/p5-Sort-Key/Makefile
+++ b/devel/p5-Sort-Key/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	Sort-Key
 PORTVERSION=	1.33
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	devel perl5
 MASTER_SITES=	CPAN
 PKGNAMEPREFIX=	p5-
@@ -15,4 +15,7 @@ LICENSE_COMB=	dual
 USES=		perl5
 USE_PERL5=	configure
 
+post-install:
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Sort/Key/Key.so
+
 .include <bsd.port.mk>
diff --git a/devel/p5-Sort-Key/pkg-plist b/devel/p5-Sort-Key/pkg-plist
index fb7788bad302..b4a2e16f53a9 100644
--- a/devel/p5-Sort-Key/pkg-plist
+++ b/devel/p5-Sort-Key/pkg-plist
@@ -1,9 +1,3 @@
-%%PERL5_MAN3%%/Sort::Key.3.gz
-%%PERL5_MAN3%%/Sort::Key::Maker.3.gz
-%%PERL5_MAN3%%/Sort::Key::Multi.3.gz
-%%PERL5_MAN3%%/Sort::Key::Natural.3.gz
-%%PERL5_MAN3%%/Sort::Key::Register.3.gz
-%%PERL5_MAN3%%/Sort::Key::Types.3.gz
 %%SITE_ARCH%%/Sort/Key.pm
 %%SITE_ARCH%%/Sort/Key/Maker.pm
 %%SITE_ARCH%%/Sort/Key/Multi.pm
@@ -11,3 +5,9 @@
 %%SITE_ARCH%%/Sort/Key/Register.pm
 %%SITE_ARCH%%/Sort/Key/Types.pm
 %%SITE_ARCH%%/auto/Sort/Key/Key.so
+%%PERL5_MAN3%%/Sort::Key.3.gz
+%%PERL5_MAN3%%/Sort::Key::Maker.3.gz
+%%PERL5_MAN3%%/Sort::Key::Multi.3.gz
+%%PERL5_MAN3%%/Sort::Key::Natural.3.gz
+%%PERL5_MAN3%%/Sort::Key::Register.3.gz
+%%PERL5_MAN3%%/Sort::Key::Types.3.gz