git: 8e41f86e243c - main - devel/p5-Devel-Leak: Strip shared library

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Tue, 26 Apr 2022 15:06:51 UTC
The branch main has been updated by sunpoet:

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

commit 8e41f86e243c8d3477e63f87d5212cd69844ccaa
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-04-26 14:56:15 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-04-26 15:01:46 +0000

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

diff --git a/devel/p5-Devel-Leak/Makefile b/devel/p5-Devel-Leak/Makefile
index 650801a9a18f..eb4057d1f6e9 100644
--- a/devel/p5-Devel-Leak/Makefile
+++ b/devel/p5-Devel-Leak/Makefile
@@ -2,7 +2,7 @@
 
 PORTNAME=	Devel-Leak
 PORTVERSION=	0.03
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	devel perl5
 MASTER_SITES=	CPAN
 PKGNAMEPREFIX=	p5-
@@ -10,7 +10,13 @@ PKGNAMEPREFIX=	p5-
 MAINTAINER=	perl@FreeBSD.org
 COMMENT=	Utility for looking for perl objects that are not reclaimed
 
+LICENSE=	ART10 GPLv1+
+LICENSE_COMB=	dual
+
 USES=		perl5
 USE_PERL5=	configure
 
+post-install:
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Devel/Leak/Leak.so
+
 .include <bsd.port.mk>
diff --git a/devel/p5-Devel-Leak/pkg-plist b/devel/p5-Devel-Leak/pkg-plist
index a8385096fbc3..93c24d656e75 100644
--- a/devel/p5-Devel-Leak/pkg-plist
+++ b/devel/p5-Devel-Leak/pkg-plist
@@ -1,3 +1,3 @@
-%%PERL5_MAN3%%/Devel::Leak.3.gz
 %%SITE_ARCH%%/Devel/Leak.pm
 %%SITE_ARCH%%/auto/Devel/Leak/Leak.so
+%%PERL5_MAN3%%/Devel::Leak.3.gz