New port: www/geckodriver
This program provides the HTTP API described by the WebDriver protocol to communicate with Gecko browsers, such as Firefox. It translates calls into the Marionette automation protocol by acting as a proxy between the local- and remote ends. WWW: https://github.com/mozilla/geckodriver PR: 216696 Submitted by: Daniel Ylitalo <daniel@blodan.se> Approved by: mat (mentor) Differential Revision: https://reviews.freebsd.org/D9524
This commit is contained in:
parent
f29d4cec3c
commit
83cb6684b6
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=434584
@ -193,6 +193,7 @@
|
||||
SUBDIR += gallery3
|
||||
SUBDIR += gatling
|
||||
SUBDIR += gecko-mediaplayer
|
||||
SUBDIR += geckodriver
|
||||
SUBDIR += geeklog
|
||||
SUBDIR += geeknote
|
||||
SUBDIR += geneweb
|
||||
|
36
www/geckodriver/Makefile
Normal file
36
www/geckodriver/Makefile
Normal file
@ -0,0 +1,36 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= geckodriver
|
||||
PORTVERSION= 0.14.0
|
||||
CATEGORIES= www
|
||||
MASTER_SITES= http://freebsd-ports.mytaste.org/www/geckodriver/:crates
|
||||
DISTFILES= registry-${PORTVERSION}.tar.gz:crates
|
||||
|
||||
MAINTAINER= daniel@blodan.se
|
||||
COMMENT= Proxy for using WebDriver clients with Gecko-based browsers
|
||||
|
||||
LICENSE= MPL
|
||||
|
||||
BUILD_DEPENDS= cargo:devel/cargo
|
||||
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= mozilla
|
||||
GH_TAGNAME= a49be92
|
||||
|
||||
MAKE_ENV= CARGO_HOME=${BUILD_WRKSRC}
|
||||
|
||||
PLIST_FILES= bin/geckodriver
|
||||
|
||||
post-extract:
|
||||
cd ${WRKDIR} && ${COPYTREE_SHARE} registry ${WRKSRC}
|
||||
${MKDIR} ${BUILD_WRKSRC}/.cargo
|
||||
${ECHO} "[source.crates-io]" > ${BUILD_WRKSRC}/.cargo/config
|
||||
${ECHO} "local-registry = 'registry'" >> ${BUILD_WRKSRC}/.cargo/config
|
||||
|
||||
do-build:
|
||||
cd ${BUILD_WRKSRC} && ${SETENV} ${MAKE_ENV} cargo build --release --verbose
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${BUILD_WRKSRC}/target/release/geckodriver ${STAGEDIR}${PREFIX}/bin/geckodriver
|
||||
|
||||
.include <bsd.port.mk>
|
5
www/geckodriver/distinfo
Normal file
5
www/geckodriver/distinfo
Normal file
@ -0,0 +1,5 @@
|
||||
TIMESTAMP = 1485946886
|
||||
SHA256 (registry-0.14.0.tar.gz) = 836249d4f748de6ad46605d848f2070bb70a0ab26ae9527854a29a0ef0e367cf
|
||||
SIZE (registry-0.14.0.tar.gz) = 8320537
|
||||
SHA256 (mozilla-geckodriver-0.14.0-a49be92_GH0.tar.gz) = 4b97ab904101d243e17e5851389bec7d3989dd22c1750fcbd0e4aab392f68348
|
||||
SIZE (mozilla-geckodriver-0.14.0-a49be92_GH0.tar.gz) = 41558
|
6
www/geckodriver/pkg-descr
Normal file
6
www/geckodriver/pkg-descr
Normal file
@ -0,0 +1,6 @@
|
||||
This program provides the HTTP API described by the
|
||||
WebDriver protocol to communicate with Gecko browsers, such as Firefox.
|
||||
It translates calls into the Marionette automation protocol by acting
|
||||
as a proxy between the local- and remote ends.
|
||||
|
||||
WWW: https://github.com/mozilla/geckodriver
|
Loading…
Reference in New Issue
Block a user