summaryrefslogtreecommitdiffstats
path: root/www/py-selenium/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/py-selenium/Makefile')
-rw-r--r--www/py-selenium/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/www/py-selenium/Makefile b/www/py-selenium/Makefile
index caef169..7e31f7e 100644
--- a/www/py-selenium/Makefile
+++ b/www/py-selenium/Makefile
@@ -3,6 +3,7 @@
PORTNAME= selenium
PORTVERSION= 3.0.2
+PORTREVISION= 1
CATEGORIES= www python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -11,6 +12,7 @@ MAINTAINER= douglas@douglasthrift.net
COMMENT= Python bindings for Selenium
LICENSE= APACHE20
+LICENSE_FILE= ${WRKSRC}/LICENSE
USES= python
USE_PYTHON= distutils autoplist
@@ -20,4 +22,9 @@ FIREFOX_DESC= Install Firefox
FIREFOX_USES= gecko:firefox
+# Don't install binary Firefox extension
+post-extract:
+ @${RM} ${WRKSRC}/py/selenium/webdriver/firefox/amd64/x_ignore_nofocus.so
+ @${RM} ${WRKSRC}/py/selenium/webdriver/firefox/x86/x_ignore_nofocus.so
+
.include <bsd.port.mk>
OpenPOWER on IntegriCloud