git: 5bf2aadf1154 - main - devel/juce: Remove .orig files from pkg-plist

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Tue, 21 Jul 2026 03:27:58 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=5bf2aadf11548c249d57687c2a62e6298cddea47

commit 5bf2aadf11548c249d57687c2a62e6298cddea47
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2026-07-21 03:17:59 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2026-07-21 03:17:59 +0000

    devel/juce: Remove .orig files from pkg-plist
    
    PR:             295258
    Requested by:   Roger Olofsson <raggen@raggens.net>
---
 devel/juce/Makefile  | 5 ++++-
 devel/juce/pkg-plist | 2 --
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/devel/juce/Makefile b/devel/juce/Makefile
index 77bc3ffdbe18..5fcfebded454 100644
--- a/devel/juce/Makefile
+++ b/devel/juce/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	juce
 DISTVERSION=	8.0.6
-PORTREVISION=	3
+PORTREVISION=	4
 CATEGORIES=	devel
 
 MAINTAINER=	yuri@FreeBSD.org
@@ -97,4 +97,7 @@ do-install-DEMOS-on:
 	${INSTALL_PROGRAM} `${FIND} ${BUILD_WRKSRC} -name ${e}` ${STAGEDIR}${PREFIX}/bin/${PORTNAME}-${e}
 .endfor
 
+post-install: # remove files with .orig suffix
+	@${FIND} ${STAGEDIR}${PREFIX} -name '*.orig' -delete
+
 .include <bsd.port.mk>
diff --git a/devel/juce/pkg-plist b/devel/juce/pkg-plist
index f5d5e98de7a3..b167eb642649 100644
--- a/devel/juce/pkg-plist
+++ b/devel/juce/pkg-plist
@@ -957,11 +957,9 @@ include/JUCE-%%VERSION%%/modules/juce_audio_processors/format_types/VST3_SDK/plu
 include/JUCE-%%VERSION%%/modules/juce_audio_processors/format_types/VST3_SDK/pluginterfaces/base/falignpop.h
 include/JUCE-%%VERSION%%/modules/juce_audio_processors/format_types/VST3_SDK/pluginterfaces/base/falignpush.h
 include/JUCE-%%VERSION%%/modules/juce_audio_processors/format_types/VST3_SDK/pluginterfaces/base/fplatform.h
-include/JUCE-%%VERSION%%/modules/juce_audio_processors/format_types/VST3_SDK/pluginterfaces/base/fplatform.h.orig
 include/JUCE-%%VERSION%%/modules/juce_audio_processors/format_types/VST3_SDK/pluginterfaces/base/fstrdefs.h
 include/JUCE-%%VERSION%%/modules/juce_audio_processors/format_types/VST3_SDK/pluginterfaces/base/ftypes.h
 include/JUCE-%%VERSION%%/modules/juce_audio_processors/format_types/VST3_SDK/pluginterfaces/base/funknown.cpp
-include/JUCE-%%VERSION%%/modules/juce_audio_processors/format_types/VST3_SDK/pluginterfaces/base/funknown.cpp.orig
 include/JUCE-%%VERSION%%/modules/juce_audio_processors/format_types/VST3_SDK/pluginterfaces/base/funknown.h
 include/JUCE-%%VERSION%%/modules/juce_audio_processors/format_types/VST3_SDK/pluginterfaces/base/funknownimpl.h
 include/JUCE-%%VERSION%%/modules/juce_audio_processors/format_types/VST3_SDK/pluginterfaces/base/futils.h