git: 16e786b6a758 - main - textproc/p5-YAML-Syck: Strip shared library

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

URL: https://cgit.FreeBSD.org/ports/commit/?id=16e786b6a758213696d4353a969a7a75e57fdf59

commit 16e786b6a758213696d4353a969a7a75e57fdf59
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-11-21 13:33:15 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-11-21 13:39:46 +0000

    textproc/p5-YAML-Syck: Strip shared library
    
    - Sort PLIST
    - Bump PORTREVISION for package change
---
 textproc/p5-YAML-Syck/Makefile  | 4 ++++
 textproc/p5-YAML-Syck/pkg-plist | 4 ++--
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/textproc/p5-YAML-Syck/Makefile b/textproc/p5-YAML-Syck/Makefile
index 14e820f679c5..dd065d02e2de 100644
--- a/textproc/p5-YAML-Syck/Makefile
+++ b/textproc/p5-YAML-Syck/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	YAML-Syck
 PORTVERSION=	1.34
+PORTREVISION=	1
 CATEGORIES=	textproc perl5
 MASTER_SITES=	CPAN
 PKGNAMEPREFIX=	p5-
@@ -14,4 +15,7 @@ LICENSE_FILE=	${WRKSRC}/COPYING
 USES=		perl5
 USE_PERL5=	configure
 
+post-install:
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/YAML/Syck/Syck.so
+
 .include <bsd.port.mk>
diff --git a/textproc/p5-YAML-Syck/pkg-plist b/textproc/p5-YAML-Syck/pkg-plist
index 3c78efed0553..5a8e30ab797d 100644
--- a/textproc/p5-YAML-Syck/pkg-plist
+++ b/textproc/p5-YAML-Syck/pkg-plist
@@ -1,7 +1,7 @@
-%%SITE_ARCH%%/auto/YAML/Syck/Syck.so
 %%SITE_ARCH%%/JSON/Syck.pm
-%%SITE_ARCH%%/YAML/Syck.pm
 %%SITE_ARCH%%/YAML/Dumper/Syck.pm
 %%SITE_ARCH%%/YAML/Loader/Syck.pm
+%%SITE_ARCH%%/YAML/Syck.pm
+%%SITE_ARCH%%/auto/YAML/Syck/Syck.so
 %%PERL5_MAN3%%/JSON::Syck.3.gz
 %%PERL5_MAN3%%/YAML::Syck.3.gz