git: 67497e318603 - main - print/rubygem-rbpdf-font: Strip binary executable

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sun, 09 Jul 2023 10:44:31 UTC
The branch main has been updated by sunpoet:

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

commit 67497e318603b9a3a76a49a9b269d0dad19af4cb
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-07-09 10:26:22 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-07-09 10:26:22 +0000

    print/rubygem-rbpdf-font: Strip binary executable
    
    - Bump PORTREVISION for package change
---
 print/rubygem-rbpdf-font/Makefile | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/print/rubygem-rbpdf-font/Makefile b/print/rubygem-rbpdf-font/Makefile
index b32eeaf22d31..59d6c95cdad6 100644
--- a/print/rubygem-rbpdf-font/Makefile
+++ b/print/rubygem-rbpdf-font/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	rbpdf-font
 PORTVERSION=	1.19.1
+PORTREVISION=	1
 CATEGORIES=	print rubygems
 MASTER_SITES=	RG
 
@@ -14,4 +15,7 @@ USES=		gem
 
 NO_ARCH=	yes
 
+post-patch:
+	@${STRIP_CMD} ${WRKSRC}/lib/fonts/ttf2ufm/ttf2ufm
+
 .include <bsd.port.mk>