chromedriver-helper installs an executable, chromedriver-helper, in your gem path, and configures Selenium to invoke it as the web driver. This script will, if necessary, download the appropriate binary for your platform and install it into ~/.chromedriver-helper, then exec it. Easy peasy! Individual projects can even select which version of chromedriver they want to run. WWW: https://github.com/flavorjones/chromedriver-helper
27 lines
541 B
Makefile
27 lines
541 B
Makefile
# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= chromedriver-helper
|
|
PORTVERSION= 2.1.1
|
|
CATEGORIES= www rubygems
|
|
MASTER_SITES= RG
|
|
|
|
MAINTAINER= sunpoet@FreeBSD.org
|
|
COMMENT= Easy installation and use of chromedriver
|
|
|
|
LICENSE= MIT
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
|
|
|
|
RUN_DEPENDS= rubygem-archive-zip>=0.10:archivers/rubygem-archive-zip \
|
|
rubygem-nokogiri>=1.8:textproc/rubygem-nokogiri
|
|
|
|
USES= gem
|
|
USE_RUBY= yes
|
|
|
|
NO_ARCH= yes
|
|
|
|
PLIST_FILES= bin/chromedriver-helper \
|
|
bin/chromedriver-update
|
|
|
|
.include <bsd.port.mk>
|