From 6c495cac7923b42393e28815a0fe5273c878c625 Mon Sep 17 00:00:00 2001 From: "Vanilla I. Shu" Date: Wed, 2 Jul 2014 13:55:20 +0000 Subject: [PATCH] Stagify. Approved by: portmgr@ (blanket approval) --- www/selenium/Makefile | 5 ----- www/selenium/files/patch-Makefile | 11 +++++++++++ www/selenium/files/patch-configure | 11 +++++++++++ www/selenium/pkg-plist | 1 + 4 files changed, 23 insertions(+), 5 deletions(-) create mode 100644 www/selenium/files/patch-Makefile create mode 100644 www/selenium/files/patch-configure 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 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