git: 7c5b10ba20e9 - main - www/linux-brave: stage with ${CP} -R and INSTALL_DATA
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 21 Sep 2026 15:17:44 UTC
The branch main has been updated by dteske:
URL: https://cgit.FreeBSD.org/ports/commit/?id=7c5b10ba20e947fac3f4601ac4bcb853a5f59502
commit 7c5b10ba20e947fac3f4601ac4bcb853a5f59502
Author: Devin Teske <dteske@FreeBSD.org>
AuthorDate: 2026-09-21 15:14:46 +0000
Commit: Devin Teske <dteske@FreeBSD.org>
CommitDate: 2026-09-21 15:14:46 +0000
www/linux-brave: stage with ${CP} -R and INSTALL_DATA
Use ${CP} -R for program tree and INSTALL_DATA for the hicolor icons.
Approved by: fuz (mentor)
Reviewed by: fuz (mentor)
Differential Revision: https://reviews.freebsd.org/D59867
---
www/linux-brave/Makefile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/www/linux-brave/Makefile b/www/linux-brave/Makefile
index 5c786040a1f2..71c27e199f9a 100644
--- a/www/linux-brave/Makefile
+++ b/www/linux-brave/Makefile
@@ -59,11 +59,11 @@ post-extract:
do-install:
${INSTALL_SCRIPT} ${WRKDIR}/brave-browser ${STAGEDIR}${PREFIX}/bin
- cd ${WRKSRC}/opt/brave.com && ${CP} -r brave ${STAGEDIR}${PREFIX}/share
+ cd ${WRKSRC}/opt/brave.com && ${CP} -R brave ${STAGEDIR}${PREFIX}/share
cd ${WRKSRC}/usr/share && ${COPYTREE_SHARE} \* ${STAGEDIR}${PREFIX}/share
.for sz in 16 24 32 48 64 128 256
${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${sz}x${sz}/apps
- ${CP} ${STAGEDIR}${DATADIR}/product_logo_${sz}.png ${STAGEDIR}${PREFIX}/share/icons/hicolor/${sz}x${sz}/apps/brave-browser.png
+ ${INSTALL_DATA} ${STAGEDIR}${DATADIR}/product_logo_${sz}.png ${STAGEDIR}${PREFIX}/share/icons/hicolor/${sz}x${sz}/apps/brave-browser.png
.endfor
${MKDIR} ${STAGEDIR}/etc/brave/policies/managed
${INSTALL_DATA} ${FILESDIR}/brave.json ${STAGEDIR}/etc/brave/policies/managed