git: 3660770f0198 - main - graphics/p5-PGPLOT: Strip shared library

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

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

commit 3660770f019844cf0bae6408646f1534df7eb91c
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-07-31 16:38:09 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-07-31 16:42:01 +0000

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

diff --git a/graphics/p5-PGPLOT/Makefile b/graphics/p5-PGPLOT/Makefile
index 71a59c94107c..b114985b42e1 100644
--- a/graphics/p5-PGPLOT/Makefile
+++ b/graphics/p5-PGPLOT/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	PGPLOT
 PORTVERSION=	2.21
-PORTREVISION=	16
+PORTREVISION=	17
 CATEGORIES=	graphics perl5
 MASTER_SITES=	CPAN
 MASTER_SITE_SUBDIR=	CPAN:KGB
@@ -20,12 +20,16 @@ LIB_DEPENDS=	libpgplot.so:graphics/pgplot \
 
 USES=		fortran perl5 xorg
 USE_XORG=	x11
+
 INSTALL_TARGET=	pure_install
 TEST_TARGET=	test
 SCRIPTS_ENV=	PERL=${PERL}
 
 OPTIONS_DEFINE=	EXAMPLES
 
+post-install:
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/PGPLOT/PGPLOT.so
+
 post-install-EXAMPLES-on:
 	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
 	(cd ${WRKSRC} && ${INSTALL_DATA} test* ${STAGEDIR}${EXAMPLESDIR})