aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrene <rene@FreeBSD.org>2015-08-21 02:11:56 +0800
committerrene <rene@FreeBSD.org>2015-08-21 02:11:56 +0800
commitbd19dd19b8b9cfb69caf9c0583dbd350f012ac0e (patch)
tree2e2bebb3503829ee2a903b5f7d80f754cea6fac2
parent784f68952112473481090f6d29deb35d0f43f97a (diff)
downloadfreebsd-ports-gnome-bd19dd19b8b9cfb69caf9c0583dbd350f012ac0e.tar.gz
freebsd-ports-gnome-bd19dd19b8b9cfb69caf9c0583dbd350f012ac0e.tar.zst
freebsd-ports-gnome-bd19dd19b8b9cfb69caf9c0583dbd350f012ac0e.zip
- Update to 44.0.2403.155 [1]
- Add a non-default option to install Chrome Driver [2][3] PR: 202368 [2] PR: 202370 [3] Submitted by: LeFroid via GitHub [1] Submitted by: stb@lassitu.de [2][3] MFH: 2015Q3
-rw-r--r--www/chromium/Makefile13
-rw-r--r--www/chromium/distinfo8
-rw-r--r--www/chromium/files/chrome.in2
-rw-r--r--www/chromium/pkg-plist1
4 files changed, 16 insertions, 8 deletions
diff --git a/www/chromium/Makefile b/www/chromium/Makefile
index 0244f4c5aebb..912b229bc5c9 100644
--- a/www/chromium/Makefile
+++ b/www/chromium/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= chromium
-PORTVERSION= 44.0.2403.130
+PORTVERSION= 44.0.2403.155
CATEGORIES= www
MASTER_SITES= http://commondatastorage.googleapis.com/chromium-browser-official/
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} # default, but needed to get distinfo correct if TEST is on
@@ -128,10 +128,12 @@ GYP_DEFINES+= google_api_key=AIzaSyBsp9n41JLW8jCokwn7vhoaMejDFRd1mp8 \
SUB_FILES= chromium-browser.desktop chrome
SUB_LIST+= COMMENT="${COMMENT}"
-OPTIONS_DEFINE= CODECS GCONF PULSEAUDIO TEST KERBEROS DEBUG
+OPTIONS_DEFINE= CODECS GCONF PULSEAUDIO TEST KERBEROS DEBUG DRIVER
CODECS_DESC= Compile and enable patented codecs like H.264
+DRIVER_DESC= Install chromedriver
OPTIONS_DEFAULT= CODECS GCONF KERBEROS
+OPTIONS_SUB= yes
GCONF_USE= GNOME=gconf2
PULSEAUDIO_LIB_DEPENDS= libpulse.so:${PORTSDIR}/audio/pulseaudio
@@ -193,6 +195,7 @@ CONFIGURE_ENV+= CC="${CC}" \
MAKE_ENV+= BUILDTYPE=${BUILDTYPE} \
GPERF="${LOCALBASE}/bin/gperf"
MAKE_ARGS= -C out/${BUILDTYPE}
+DRIVER_MAKE_ARGS=chromedriver
.include <bsd.port.pre.mk>
@@ -377,6 +380,10 @@ do-install:
${STAGEDIR}${DESKTOPDIR}
${INSTALL_SCRIPT} ${WRKDIR}/chrome ${STAGEDIR}${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/out/${BUILDTYPE}/mksnapshot \
- ${STAGEDIR}${DATADIR}/mksnapshot
+ ${STAGEDIR}${DATADIR}
+.if ${PORT_OPTIONS:MDRIVER}
+ ${INSTALL_PROGRAM} ${WRKSRC}/out/${BUILDTYPE}/chromedriver \
+ ${STAGEDIR}${PREFIX}/bin
+.endif
.include <bsd.port.post.mk>
diff --git a/www/chromium/distinfo b/www/chromium/distinfo
index d6801008cf60..2c632dc706a2 100644
--- a/www/chromium/distinfo
+++ b/www/chromium/distinfo
@@ -1,4 +1,4 @@
-SHA256 (chromium-44.0.2403.130.tar.xz) = 37779b2f4844e1a6ac75d69897031955541ad97f3dd1d4ad641c371c1d63b414
-SIZE (chromium-44.0.2403.130.tar.xz) = 293332128
-SHA256 (chromium-44.0.2403.130-testdata.tar.xz) = 47a0e7808f7c98ea02fb4aaaedf83fcbd78901da134de3cf1d53312a56710f49
-SIZE (chromium-44.0.2403.130-testdata.tar.xz) = 128611776
+SHA256 (chromium-44.0.2403.155.tar.xz) = eba271c210a020dd61b72c940abeecdafc562a1d15fb45615dda72bcb6219f3c
+SIZE (chromium-44.0.2403.155.tar.xz) = 293362744
+SHA256 (chromium-44.0.2403.155-testdata.tar.xz) = 1fbcfc5bb94db75970f04055163a82560814f3961dece961db4ed5c11014f3d4
+SIZE (chromium-44.0.2403.155-testdata.tar.xz) = 128600128
diff --git a/www/chromium/files/chrome.in b/www/chromium/files/chrome.in
index 347af992438e..8039b3dc3c39 100644
--- a/www/chromium/files/chrome.in
+++ b/www/chromium/files/chrome.in
@@ -15,4 +15,4 @@ $SYSCTL=1
EOMSG
exit 1
fi
-%%PREFIX%%/share/chromium/chrome $*
+exec %%PREFIX%%/share/chromium/chrome $*
diff --git a/www/chromium/pkg-plist b/www/chromium/pkg-plist
index 9ac3f24bd4d3..569847cd8fa7 100644
--- a/www/chromium/pkg-plist
+++ b/www/chromium/pkg-plist
@@ -1,5 +1,6 @@
bin/chrome
man/man1/chrome.1.gz
+%%DRIVER%%bin/chromedriver
share/applications/chromium-browser.desktop
%%DATADIR%%/chrome
%%DATADIR%%/chrome-wrapper