summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--www/mozilla-devel-gtk1/Makefile2
-rw-r--r--www/mozilla-devel-gtk2/Makefile2
-rw-r--r--www/mozilla-devel/Makefile2
-rw-r--r--www/mozilla-devel/files/mozilla.sh19
-rw-r--r--www/mozilla-gtk1/Makefile2
-rw-r--r--www/mozilla-gtk2/Makefile2
-rw-r--r--www/mozilla-vendor/Makefile2
-rw-r--r--www/mozilla-vendor/files/mozilla.sh19
-rw-r--r--www/mozilla/Makefile2
-rw-r--r--www/mozilla/files/mozilla.sh19
-rw-r--r--www/seamonkey/Makefile2
-rw-r--r--www/seamonkey/files/mozilla.sh19
-rw-r--r--www/seamonkey2/Makefile2
-rw-r--r--www/seamonkey2/files/mozilla.sh19
14 files changed, 69 insertions, 44 deletions
diff --git a/www/mozilla-devel-gtk1/Makefile b/www/mozilla-devel-gtk1/Makefile
index cf8dbe4..a4b3989 100644
--- a/www/mozilla-devel-gtk1/Makefile
+++ b/www/mozilla-devel-gtk1/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= mozilla
-PORTREVISION= 1
+PORTREVISION= 2
PORTEPOCH= 0
CATEGORIES= www
diff --git a/www/mozilla-devel-gtk2/Makefile b/www/mozilla-devel-gtk2/Makefile
index cf8dbe4..a4b3989 100644
--- a/www/mozilla-devel-gtk2/Makefile
+++ b/www/mozilla-devel-gtk2/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= mozilla
-PORTREVISION= 1
+PORTREVISION= 2
PORTEPOCH= 0
CATEGORIES= www
diff --git a/www/mozilla-devel/Makefile b/www/mozilla-devel/Makefile
index 7ef9a86..48cc223 100644
--- a/www/mozilla-devel/Makefile
+++ b/www/mozilla-devel/Makefile
@@ -7,7 +7,7 @@
PORTNAME?= mozilla
PORTVERSION= 1.2b
-PORTREVISION?= 2
+PORTREVISION?= 3
PORTEPOCH?= 1
CATEGORIES?= www
MASTER_SITES= ${MASTER_SITE_MOZILLA} \
diff --git a/www/mozilla-devel/files/mozilla.sh b/www/mozilla-devel/files/mozilla.sh
index 0e34950..bbc7d25 100644
--- a/www/mozilla-devel/files/mozilla.sh
+++ b/www/mozilla-devel/files/mozilla.sh
@@ -6,13 +6,18 @@ LOCATION='new-tab'
cd $MOZILLA_DIR || exit 1
-# catch calls for mozilla mail
-if [ "$1" = "-mail" ]; then
- REMOTE_COMMAND="xfeDoCommand (openInbox)"
-else
- REMOTE_COMMAND="openURL($@, $LOCATION)"
-fi
-
+case $1 in
+ -mail)
+ REMOTE_COMMAND="xfeDoCommand (openInbox)"
+ ;;
+ -*)
+ exec ./$MOZILLA_EXEC "$@"
+ ;;
+ *)
+ REMOTE_COMMAND="openURL($@, $LOCATION)"
+ ;;
+esac
+
# process found
./$MOZILLA_EXEC -remote "ping()" &&
./$MOZILLA_EXEC -remote "$REMOTE_COMMAND" && exit 0
diff --git a/www/mozilla-gtk1/Makefile b/www/mozilla-gtk1/Makefile
index cf8dbe4..a4b3989 100644
--- a/www/mozilla-gtk1/Makefile
+++ b/www/mozilla-gtk1/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= mozilla
-PORTREVISION= 1
+PORTREVISION= 2
PORTEPOCH= 0
CATEGORIES= www
diff --git a/www/mozilla-gtk2/Makefile b/www/mozilla-gtk2/Makefile
index cf8dbe4..a4b3989 100644
--- a/www/mozilla-gtk2/Makefile
+++ b/www/mozilla-gtk2/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= mozilla
-PORTREVISION= 1
+PORTREVISION= 2
PORTEPOCH= 0
CATEGORIES= www
diff --git a/www/mozilla-vendor/Makefile b/www/mozilla-vendor/Makefile
index 02db100..079f126 100644
--- a/www/mozilla-vendor/Makefile
+++ b/www/mozilla-vendor/Makefile
@@ -7,7 +7,7 @@
PORTNAME= mozilla
PORTVERSION= 1.0.1
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_MOZILLA} \
http://people.FreeBSD.org/~marcus/:local
diff --git a/www/mozilla-vendor/files/mozilla.sh b/www/mozilla-vendor/files/mozilla.sh
index 05783d5..7e441ab 100644
--- a/www/mozilla-vendor/files/mozilla.sh
+++ b/www/mozilla-vendor/files/mozilla.sh
@@ -6,13 +6,18 @@ LOCATION='new-tab'
cd $MOZILLA_DIR || exit 1
-# catch calls for mozilla mail
-if [ "$1" = "-mail" ]; then
- REMOTE_COMMAND="xfeDoCommand (openInbox)"
-else
- REMOTE_COMMAND="openURL($@, $LOCATION)"
-fi
-
+case $1 in
+ -mail)
+ REMOTE_COMMAND="xfeDoCommand (openInbox)"
+ ;;
+ -*)
+ exec ./$MOZILLA_EXEC "$@"
+ ;;
+ *)
+ REMOTE_COMMAND="openURL($@, $LOCATION)"
+ ;;
+esac
+
# process found
./$MOZILLA_EXEC -remote "ping()" &&
./$MOZILLA_EXEC -remote "$REMOTE_COMMAND" && exit 0
diff --git a/www/mozilla/Makefile b/www/mozilla/Makefile
index 6709dbf..408cede 100644
--- a/www/mozilla/Makefile
+++ b/www/mozilla/Makefile
@@ -7,7 +7,7 @@
PORTNAME= mozilla
PORTVERSION= 1.1
-PORTREVISION= 2
+PORTREVISION= 3
PORTEPOCH= 2
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_MOZILLA} \
diff --git a/www/mozilla/files/mozilla.sh b/www/mozilla/files/mozilla.sh
index cc1eff8..898fccb 100644
--- a/www/mozilla/files/mozilla.sh
+++ b/www/mozilla/files/mozilla.sh
@@ -6,13 +6,18 @@ LOCATION='new-tab'
cd $MOZILLA_DIR || exit 1
-# catch calls for mozilla mail
-if [ "$1" = "-mail" ]; then
- REMOTE_COMMAND="xfeDoCommand (openInbox)"
-else
- REMOTE_COMMAND="openURL($@, $LOCATION)"
-fi
-
+case $1 in
+ -mail)
+ REMOTE_COMMAND="xfeDoCommand (openInbox)"
+ ;;
+ -*)
+ exec ./$MOZILLA_EXEC "$@"
+ ;;
+ *)
+ REMOTE_COMMAND="openURL($@, $LOCATION)"
+ ;;
+esac
+
# process found
./$MOZILLA_EXEC -remote "ping()" &&
./$MOZILLA_EXEC -remote "$REMOTE_COMMAND" && exit 0
diff --git a/www/seamonkey/Makefile b/www/seamonkey/Makefile
index 7ef9a86..48cc223 100644
--- a/www/seamonkey/Makefile
+++ b/www/seamonkey/Makefile
@@ -7,7 +7,7 @@
PORTNAME?= mozilla
PORTVERSION= 1.2b
-PORTREVISION?= 2
+PORTREVISION?= 3
PORTEPOCH?= 1
CATEGORIES?= www
MASTER_SITES= ${MASTER_SITE_MOZILLA} \
diff --git a/www/seamonkey/files/mozilla.sh b/www/seamonkey/files/mozilla.sh
index 0e34950..bbc7d25 100644
--- a/www/seamonkey/files/mozilla.sh
+++ b/www/seamonkey/files/mozilla.sh
@@ -6,13 +6,18 @@ LOCATION='new-tab'
cd $MOZILLA_DIR || exit 1
-# catch calls for mozilla mail
-if [ "$1" = "-mail" ]; then
- REMOTE_COMMAND="xfeDoCommand (openInbox)"
-else
- REMOTE_COMMAND="openURL($@, $LOCATION)"
-fi
-
+case $1 in
+ -mail)
+ REMOTE_COMMAND="xfeDoCommand (openInbox)"
+ ;;
+ -*)
+ exec ./$MOZILLA_EXEC "$@"
+ ;;
+ *)
+ REMOTE_COMMAND="openURL($@, $LOCATION)"
+ ;;
+esac
+
# process found
./$MOZILLA_EXEC -remote "ping()" &&
./$MOZILLA_EXEC -remote "$REMOTE_COMMAND" && exit 0
diff --git a/www/seamonkey2/Makefile b/www/seamonkey2/Makefile
index 7ef9a86..48cc223 100644
--- a/www/seamonkey2/Makefile
+++ b/www/seamonkey2/Makefile
@@ -7,7 +7,7 @@
PORTNAME?= mozilla
PORTVERSION= 1.2b
-PORTREVISION?= 2
+PORTREVISION?= 3
PORTEPOCH?= 1
CATEGORIES?= www
MASTER_SITES= ${MASTER_SITE_MOZILLA} \
diff --git a/www/seamonkey2/files/mozilla.sh b/www/seamonkey2/files/mozilla.sh
index 0e34950..bbc7d25 100644
--- a/www/seamonkey2/files/mozilla.sh
+++ b/www/seamonkey2/files/mozilla.sh
@@ -6,13 +6,18 @@ LOCATION='new-tab'
cd $MOZILLA_DIR || exit 1
-# catch calls for mozilla mail
-if [ "$1" = "-mail" ]; then
- REMOTE_COMMAND="xfeDoCommand (openInbox)"
-else
- REMOTE_COMMAND="openURL($@, $LOCATION)"
-fi
-
+case $1 in
+ -mail)
+ REMOTE_COMMAND="xfeDoCommand (openInbox)"
+ ;;
+ -*)
+ exec ./$MOZILLA_EXEC "$@"
+ ;;
+ *)
+ REMOTE_COMMAND="openURL($@, $LOCATION)"
+ ;;
+esac
+
# process found
./$MOZILLA_EXEC -remote "ping()" &&
./$MOZILLA_EXEC -remote "$REMOTE_COMMAND" && exit 0
OpenPOWER on IntegriCloud