Date: Wed, 22 Feb 2017 14:16:30 +0000 (UTC) From: Kirill Ponomarew <krion@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r434584 - in head/www: . geckodriver Message-ID: <201702221416.v1MEGUxh098243@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: krion Date: Wed Feb 22 14:16:30 2017 New Revision: 434584 URL: https://svnweb.freebsd.org/changeset/ports/434584 Log: 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 Added: head/www/geckodriver/ head/www/geckodriver/Makefile (contents, props changed) head/www/geckodriver/distinfo (contents, props changed) head/www/geckodriver/pkg-descr (contents, props changed) Modified: head/www/Makefile Modified: head/www/Makefile ============================================================================== --- head/www/Makefile Wed Feb 22 13:10:32 2017 (r434583) +++ head/www/Makefile Wed Feb 22 14:16:30 2017 (r434584) @@ -193,6 +193,7 @@ SUBDIR += gallery3 SUBDIR += gatling SUBDIR += gecko-mediaplayer + SUBDIR += geckodriver SUBDIR += geeklog SUBDIR += geeknote SUBDIR += geneweb Added: head/www/geckodriver/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/geckodriver/Makefile Wed Feb 22 14:16:30 2017 (r434584) @@ -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> Added: head/www/geckodriver/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/geckodriver/distinfo Wed Feb 22 14:16:30 2017 (r434584) @@ -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 Added: head/www/geckodriver/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/geckodriver/pkg-descr Wed Feb 22 14:16:30 2017 (r434584) @@ -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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201702221416.v1MEGUxh098243>