aboutsummaryrefslogtreecommitdiffstats
path: root/www/chromium/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/chromium/Makefile')
-rw-r--r--www/chromium/Makefile13
1 files changed, 10 insertions, 3 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>