git: 812bbbd644d3 - main - graphics/p5-Cairo: Strip shared library

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Mon, 31 Jul 2023 16:54:43 UTC
The branch main has been updated by sunpoet:

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

commit 812bbbd644d3b838babd432368edf9454d6d4b67
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-07-31 16:38:05 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-07-31 16:42:00 +0000

    graphics/p5-Cairo: Strip shared library
    
    - Bump PORTREVISION for package change
---
 graphics/p5-Cairo/Makefile | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/graphics/p5-Cairo/Makefile b/graphics/p5-Cairo/Makefile
index c71fb60723b7..74a4c2048929 100644
--- a/graphics/p5-Cairo/Makefile
+++ b/graphics/p5-Cairo/Makefile
@@ -1,8 +1,9 @@
 PORTNAME=	Cairo
 PORTVERSION=	1.109
+PORTREVISION=	1
 CATEGORIES=	graphics perl5
 MASTER_SITES=	CPAN \
-		SF/gtk2-perl/${PORTNAME}/${PORTVERSION}
+		SF/gtk2-perl/Cairo/${PORTVERSION}
 MASTER_SITE_SUBDIR=	CPAN:XAOC
 PKGNAMEPREFIX=	p5-
 
@@ -21,4 +22,7 @@ TEST_DEPENDS=	p5-Font-FreeType>=0:print/p5-Font-FreeType \
 USES=		perl5
 USE_PERL5=	configure
 
+post-install:
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Cairo/Cairo.so
+
 .include <bsd.port.mk>