diff options
Diffstat (limited to 'www/linux-chrome/Makefile')
| -rw-r--r-- | www/linux-chrome/Makefile | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/www/linux-chrome/Makefile b/www/linux-chrome/Makefile index 674681c5d2c8..47062d0e4c9f 100644 --- a/www/linux-chrome/Makefile +++ b/www/linux-chrome/Makefile @@ -1,15 +1,20 @@ PORTNAME= chrome PORTVERSION= ${CHROME_VER} -PORTREVISION= 2 CATEGORIES= www linux MASTER_SITES= https://dl.google.com/linux/chrome/rpm/stable/x86_64/ -DISTNAME= google-${PORTNAME}-stable-${CHROME_VER}-${CHROME_BUILD}.x86_64 PKGNAMEPREFIX= linux- +DISTNAME= google-${PORTNAME}-stable-${CHROME_VER}-${CHROME_BUILD} +DISTFILES_aarch64?= ${DISTNAME:S/$/${EXTRACT_SUFX_aarch64}/} +DISTFILES_amd64?= ${DISTNAME:S/$/${EXTRACT_SUFX_amd64}/} +EXTRACT_ONLY?= ${DISTFILES_${ARCH}:C/:[^:]+$//} MAINTAINER= emulation@FreeBSD.org COMMENT= Google web browser based on WebKit WWW= https://www.chromium.org/Home +LICENSE= BSD3CLAUSE LGPL21 MPL11 +LICENSE_COMB= multi + RUN_DEPENDS= linux-rl9-wget>0:ftp/linux-rl9-wget \ linux-rl9-gnupg2>0:security/linux-rl9-gnupg \ update-mime-database:misc/shared-mime-info @@ -26,14 +31,12 @@ SHEBANG_FILES= opt/google/chrome/google-chrome NO_BUILD= yes NO_WRKSUBDIR= yes -EXTRACT_SUFX?= .rpm -EXTRACT_SUFX_aarch64?= .aarch64${EXTRACT_SUFX} -EXTRACT_SUFX_amd64?= .x86_64${EXTRACT_SUFX} -SRC_SUFX?= .src${EXTRACT_SUFX} +EXTRACT_SUFX_aarch64?= .aarch64.rpm +EXTRACT_SUFX_amd64?= .x86_64.rpm REINPLACE_ARGS= -i "" -CHROME_VER?= 133.0.6943.126 +CHROME_VER?= 142.0.7444.175 CHROME_BUILD?= 1 DATADIR= ${PREFIX}/share/${PORTNAME} @@ -45,7 +48,8 @@ SUB_FILES= google-chrome post-extract: @${REINPLACE_CMD} -e 's|/usr/bin/google-chrome-stable|${LOCALBASE}/bin/google-chrome|' \ - ${WRKSRC}/usr/share/applications/google-chrome.desktop + ${WRKSRC}/usr/share/applications/google-chrome.desktop \ + ${WRKSRC}/usr/share/applications/com.google.Chrome.desktop do-install: ${INSTALL_SCRIPT} ${WRKDIR}/google-chrome ${STAGEDIR}${PREFIX}/bin |
