git: ee14b5d31c8c - main - devel/juce: Fix duplicate post-install target

From: Li-Wen Hsu <lwhsu_at_FreeBSD.org>
Date: Fri, 24 Jul 2026 17:46:29 UTC
The branch main has been updated by lwhsu:

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

commit ee14b5d31c8cb57b9d7b4c3c5f00bed2fbeb24e2
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2026-07-21 08:56:28 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2026-07-21 08:56:28 +0000

    devel/juce: Fix duplicate post-install target
    
    PR:             296948
    Reported by:    Einar Bjarni Halldórsson <einar@isnic.is>
---
 devel/juce/Makefile | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/devel/juce/Makefile b/devel/juce/Makefile
index 5fcfebded454..83b7abb241b0 100644
--- a/devel/juce/Makefile
+++ b/devel/juce/Makefile
@@ -91,13 +91,12 @@ post-install:
 	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/JUCE-${PORTVERSION}/juceaide
 	# workaround for https://github.com/juce-framework/JUCE/issues/1502
 	@${REINPLACE_CMD} -e 's|.*VST3_HELPER\.cmake.*||' ${STAGEDIR}${PREFIX}/lib/cmake/JUCE-8.0.6/JUCEConfig.cmake
+	# remove files with .orig suffix
+	@${FIND} ${STAGEDIR}${PREFIX} -name '*.orig' -delete
 
 do-install-DEMOS-on:
 .for e in ${DEMO_FILES}
 	${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>