git: a4de92059293 - main - devel/p5-Devel-Caller: Strip shared library

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sat, 10 Sep 2022 18:22:13 UTC
The branch main has been updated by sunpoet:

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

commit a4de920592936039106e7eb38d9a9b8369d80e70
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-09-10 18:22:10 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-09-10 18:22:10 +0000

    devel/p5-Devel-Caller: Strip shared library
    
    - Sort PLIST
    - Bump PORTREVISION for package change
---
 devel/p5-Devel-Caller/Makefile  | 11 +++++++----
 devel/p5-Devel-Caller/pkg-plist |  2 +-
 2 files changed, 8 insertions(+), 5 deletions(-)

diff --git a/devel/p5-Devel-Caller/Makefile b/devel/p5-Devel-Caller/Makefile
index 5c5139c975df..b0ccfb8f8fab 100644
--- a/devel/p5-Devel-Caller/Makefile
+++ b/devel/p5-Devel-Caller/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	Devel-Caller
 PORTVERSION=	2.06
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	devel perl5
 MASTER_SITES=	CPAN
 PKGNAMEPREFIX=	p5-
@@ -9,13 +9,16 @@ MAINTAINER=	perl@FreeBSD.org
 COMMENT=	Perl module which is meatier versions of caller
 WWW=		https://metacpan.org/release/Devel-Caller
 
-BUILD_DEPENDS=	${RUN_DEPENDS}
-RUN_DEPENDS=	p5-PadWalker>=0.08:devel/p5-PadWalker
-
 LICENSE=	ART10 GPLv1+
 LICENSE_COMB=	dual
 
+BUILD_DEPENDS=	${RUN_DEPENDS}
+RUN_DEPENDS=	p5-PadWalker>=0.08:devel/p5-PadWalker
+
 USES=		perl5
 USE_PERL5=	configure
 
+post-install:
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Devel/Caller/Caller.so
+
 .include <bsd.port.mk>
diff --git a/devel/p5-Devel-Caller/pkg-plist b/devel/p5-Devel-Caller/pkg-plist
index 7a724b86b448..217756fe8c4c 100644
--- a/devel/p5-Devel-Caller/pkg-plist
+++ b/devel/p5-Devel-Caller/pkg-plist
@@ -1,3 +1,3 @@
-%%PERL5_MAN3%%/Devel::Caller.3.gz
 %%SITE_ARCH%%/Devel/Caller.pm
 %%SITE_ARCH%%/auto/Devel/Caller/Caller.so
+%%PERL5_MAN3%%/Devel::Caller.3.gz