aboutsummaryrefslogtreecommitdiff
path: root/www/selenium
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>2014-07-02 13:55:20 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>2014-07-02 13:55:20 +0000
commit6c495cac7923b42393e28815a0fe5273c878c625 (patch)
tree164006618be1ee2740c95d0a243ab0ec6ba4d839 /www/selenium
parent7bf848892a98db297983e49889f028fd6cc12acf (diff)
downloadports-6c495cac7923b42393e28815a0fe5273c878c625.tar.gz
ports-6c495cac7923b42393e28815a0fe5273c878c625.zip
Notes
Diffstat (limited to 'www/selenium')
-rw-r--r--www/selenium/Makefile5
-rw-r--r--www/selenium/files/patch-Makefile11
-rw-r--r--www/selenium/files/patch-configure11
-rw-r--r--www/selenium/pkg-plist1
4 files changed, 23 insertions, 5 deletions
diff --git a/www/selenium/Makefile b/www/selenium/Makefile
index f897efdc498f..18d03fd19a48 100644
--- a/www/selenium/Makefile
+++ b/www/selenium/Makefile
@@ -10,13 +10,8 @@ MASTER_SITE_SUBDIR= ${PORTNAME}/17210
MAINTAINER= kaworu@users.sourceforge.jp
COMMENT= Selenium is web application test tool!
-MAN1= selenium.1
HAS_CONFIGURE= yes
SUB_FILES= pkg-message
-NO_STAGE= yes
-post-install:
- @${CAT} ${PKGMESSAGE}
-
.include <bsd.port.mk>
diff --git a/www/selenium/files/patch-Makefile b/www/selenium/files/patch-Makefile
new file mode 100644
index 000000000000..c32e75de719f
--- /dev/null
+++ b/www/selenium/files/patch-Makefile
@@ -0,0 +1,11 @@
+--- Makefile.orig 2014-07-02 21:36:48.517027340 +0800
++++ Makefile 2014-07-02 21:38:23.869021431 +0800
+@@ -9,7 +9,7 @@
+
+ PREFIX?=/usr/local
+
+-DST=$(PREFIX)/www/selenium
++DST=$(DESTDIR)$(PREFIX)/www/selenium
+
+ all:
+ # @echo all
diff --git a/www/selenium/files/patch-configure b/www/selenium/files/patch-configure
new file mode 100644
index 000000000000..574b3d2703a9
--- /dev/null
+++ b/www/selenium/files/patch-configure
@@ -0,0 +1,11 @@
+--- configure.orig 2014-07-02 21:37:06.899023988 +0800
++++ configure 2014-07-02 21:49:07.936973370 +0800
+@@ -22,7 +22,7 @@ EOF
+ |/usr/bin/sed -e 's:^selenium/::' \
+ |/usr/bin/sed -e 's:\(.*\): ${INSTALL} -c -o root -g wheel -m 0644 selenium/\1 ${DST}/\1:'
+
+-echo " \${INSTALL} -c -o root -g wheel -m 0644 man/selenium.1 \${PREFIX}/man/man1/selenium.1"
++echo " \${INSTALL} -c -o root -g wheel -m 0644 man/selenium.1 \$(DESTDIR)\${PREFIX}/man/man1/selenium.1"
+
+ /usr/bin/find doc -type d\
+ | /usr/bin/sed -e 's:\(.*\): ${INSTALL} -d -o root -g wheel ${DST}/\1:'
diff --git a/www/selenium/pkg-plist b/www/selenium/pkg-plist
index 06f6db3869f7..de0207110f99 100644
--- a/www/selenium/pkg-plist
+++ b/www/selenium/pkg-plist
@@ -1,3 +1,4 @@
+man/man1/selenium.1.gz
www/selenium/devtests/meta/page.html
www/selenium/devtests/TestClickInFrame.html
www/selenium/devtests/TestOpenInFrame.html