From 3625a6bec176cdda69b7a0855d4820a08fd91d7a Mon Sep 17 00:00:00 2001 From: Sunpoet Po-Chuan Hsieh Date: Mon, 12 Aug 2019 19:39:53 +0000 Subject: Add rubygem-chromedriver-helper 2.1.1 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 --- www/Makefile | 1 + www/rubygem-chromedriver-helper/Makefile | 26 ++++++++++++++++++++++++++ www/rubygem-chromedriver-helper/distinfo | 3 +++ www/rubygem-chromedriver-helper/pkg-descr | 10 ++++++++++ 4 files changed, 40 insertions(+) create mode 100644 www/rubygem-chromedriver-helper/Makefile create mode 100644 www/rubygem-chromedriver-helper/distinfo create mode 100644 www/rubygem-chromedriver-helper/pkg-descr diff --git a/www/Makefile b/www/Makefile index 1cf7da0e8ebe..c09a46b13d42 100644 --- a/www/Makefile +++ b/www/Makefile @@ -1973,6 +1973,7 @@ SUBDIR += rubygem-carrierwave SUBDIR += rubygem-cgi_multipart_eof_fix SUBDIR += rubygem-chosen-rails + SUBDIR += rubygem-chromedriver-helper SUBDIR += rubygem-cookiejar SUBDIR += rubygem-crass SUBDIR += rubygem-cuba diff --git a/www/rubygem-chromedriver-helper/Makefile b/www/rubygem-chromedriver-helper/Makefile new file mode 100644 index 000000000000..93c58d90c63a --- /dev/null +++ b/www/rubygem-chromedriver-helper/Makefile @@ -0,0 +1,26 @@ +# Created by: Po-Chuan Hsieh +# $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 diff --git a/www/rubygem-chromedriver-helper/distinfo b/www/rubygem-chromedriver-helper/distinfo new file mode 100644 index 000000000000..d0c374442d25 --- /dev/null +++ b/www/rubygem-chromedriver-helper/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1565622489 +SHA256 (rubygem/chromedriver-helper-2.1.1.gem) = 3a3a424f9ffa69f5281b723449a8618b6a9b8e49b9aa2141c819f38b75a7476f +SIZE (rubygem/chromedriver-helper-2.1.1.gem) = 20480 diff --git a/www/rubygem-chromedriver-helper/pkg-descr b/www/rubygem-chromedriver-helper/pkg-descr new file mode 100644 index 000000000000..1692ac170454 --- /dev/null +++ b/www/rubygem-chromedriver-helper/pkg-descr @@ -0,0 +1,10 @@ +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 -- cgit v1.2.3