git: 290d7ac02c0a - main - gdal-grass: Strip shared library

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Fri, 29 Sep 2023 16:19:51 UTC
The branch main has been updated by sunpoet:

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

commit 290d7ac02c0a71917d48cccef6a366f658327d3d
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-09-29 16:13:34 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-09-29 16:13:34 +0000

    gdal-grass: Strip shared library
    
    - Bump PORTREVISION for package change
---
 graphics/gdal-grass/Makefile | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/graphics/gdal-grass/Makefile b/graphics/gdal-grass/Makefile
index 443395fac203..344a77768f8b 100644
--- a/graphics/gdal-grass/Makefile
+++ b/graphics/gdal-grass/Makefile
@@ -29,4 +29,7 @@ PLIST_FILES=	lib/gdalplugins/gdal_GRASS.so \
 USE_GITHUB=	yes
 GH_ACCOUNT=	OSGeo
 
+post-install:
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/gdalplugins/*.so
+
 .include <bsd.port.mk>