diff --git a/www/linux-brave/Makefile b/www/linux-brave/Makefile index 1bc57b9df462..012d311ba8e5 100644 --- a/www/linux-brave/Makefile +++ b/www/linux-brave/Makefile @@ -1,59 +1,59 @@ PORTNAME= brave PORTVERSION= ${BRAVE_VER} CATEGORIES= www linux MASTER_SITES= https://github.com/${PORTNAME}/${PORTNAME}-browser/releases/download/v${PORTVERSION}/ DISTNAME= ${PORTNAME}-browser-${BRAVE_VER}-${BRAVE_BUILD}${EXTRACT_SUFX_${ARCH}} PKGNAMEPREFIX= linux- MAINTAINER= emulation@FreeBSD.org COMMENT= Brave web browser based on WebKit WWW= https://www.brave.com RUN_DEPENDS= update-mime-database:misc/shared-mime-info USES= cpe desktop-file-utils gnome linux:rl9 shared-mime-info shebangfix USE_LINUX= alsalib alsa-plugins-oss alsa-plugins-pulseaudio at-spi2-atk \ - ca-certificates cairo cups-libs curl dbuslibs dri ffmpeg-libs \ - gnupg gstreamer1-libav gtk3 libexpat libxkbcommon libunistring \ + ca-certificates cairo cups-libs curl dbuslibs dri expat \ + ffmpeg-libs gnupg gstreamer1-libav gtk3 libxkbcommon libunistring \ nspr nss p11-kit pango sqlite3 wget xorglibs ONLY_FOR_ARCHS= aarch64 amd64 SHEBANG_FILES= opt/brave.com/brave/brave-browser NO_BUILD= yes NO_WRKSUBDIR= yes EXTRACT_SUFX?= .rpm EXTRACT_SUFX_aarch64?= .aarch64 EXTRACT_SUFX_amd64?= .x86_64 SRC_SUFX?= .src${EXTRACT_SUFX} REINPLACE_ARGS= -i "" BRAVE_VER?= 1.73.91 BRAVE_BUILD?= 1 DATADIR= ${PREFIX}/share/${PORTNAME} DOCSDIR= ${PREFIX}/share/doc/${PORTNAME} OPTIONS_DEFINE= DOCS SUB_FILES= brave-browser post-extract: @${REINPLACE_CMD} -e 's|/usr/bin/brave-browser-stable|${LOCALBASE}/bin/brave-browser|' \ ${WRKSRC}/usr/share/applications/brave-browser.desktop do-install: ${INSTALL_SCRIPT} ${WRKDIR}/brave-browser ${STAGEDIR}${PREFIX}/bin 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 .endfor ${MKDIR} ${STAGEDIR}/etc/brave/policies/managed ${INSTALL_DATA} ${FILESDIR}/brave.json ${STAGEDIR}/etc/brave/policies/managed ${INSTALL_DATA} ${FILESDIR}/webrtc.json ${STAGEDIR}/etc/brave/policies/managed .include