aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2019-08-13 03:39:53 +0800
committersunpoet <sunpoet@FreeBSD.org>2019-08-13 03:39:53 +0800
commit05662c96a6f06dd10c1467c8bc6a0962e1537123 (patch)
tree1d5a70e1bbce0402c8d7f647e13b7de5aa1ad2af
parent844420ff1cf7bedd5d2e1810cb3bb8d4e2f291a1 (diff)
downloadfreebsd-ports-gnome-05662c96a6f06dd10c1467c8bc6a0962e1537123.tar.gz
freebsd-ports-gnome-05662c96a6f06dd10c1467c8bc6a0962e1537123.tar.zst
freebsd-ports-gnome-05662c96a6f06dd10c1467c8bc6a0962e1537123.zip
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
-rw-r--r--www/Makefile1
-rw-r--r--www/rubygem-chromedriver-helper/Makefile26
-rw-r--r--www/rubygem-chromedriver-helper/distinfo3
-rw-r--r--www/rubygem-chromedriver-helper/pkg-descr10
4 files changed, 40 insertions, 0 deletions
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 <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>
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