aboutsummaryrefslogtreecommitdiff
path: root/www/opera-devel/files
diff options
context:
space:
mode:
authorIon-Mihai Tetcu <itetcu@FreeBSD.org>2008-04-28 15:11:59 +0000
committerIon-Mihai Tetcu <itetcu@FreeBSD.org>2008-04-28 15:11:59 +0000
commitf2384891f645a3bc7e61fc5860f5af0feeea9683 (patch)
tree4f0beccc009def9bc365fe2d00c5b1a206047d8e /www/opera-devel/files
parent89fdfa18b7de0937a2a72e67bf127533bc6a98da (diff)
downloadports-f2384891f645a3bc7e61fc5860f5af0feeea9683.tar.gz
ports-f2384891f645a3bc7e61fc5860f5af0feeea9683.zip
Notes
Diffstat (limited to 'www/opera-devel/files')
-rw-r--r--www/opera-devel/files/patch-install.sh48
1 files changed, 48 insertions, 0 deletions
diff --git a/www/opera-devel/files/patch-install.sh b/www/opera-devel/files/patch-install.sh
new file mode 100644
index 000000000000..db8de6119f8a
--- /dev/null
+++ b/www/opera-devel/files/patch-install.sh
@@ -0,0 +1,48 @@
+--- install.sh.orig 2008-04-22 16:06:18.000000000 +0200
++++ install.sh 2008-04-24 13:49:24.470507835 +0200
+@@ -865,7 +865,7 @@
+ error 'os'
+ ;;
+ esac
+- wrapper_file="${wrapper_dir}/opera"
++ wrapper_file="${wrapper_dir}/opera-devel"
+
+ wrapper_contain="#!/bin/sh
+
+@@ -877,6 +877,10 @@
+ OPERA_BINARYDIR=${str_localdirexec}
+ export OPERA_BINARYDIR
+
++# Location of Opera personal dir
++OPERA_PERSONALDIR=\${HOME}/.opera-devel
++export OPERA_PERSONALDIR
++
+ # Parse commandline parameters
+ toset=
+ _QTSTYLE_FROM_CMDLINE_='NO'
+@@ -1259,7 +1263,6 @@
+ manifest_contains operapluginwrapper-native && part_install "`manifest_path operapluginwrapper-native`" "$exec_dir" Binaries
+ manifest_contains operapluginwrapper-ia32-linux && part_install "`manifest_path operapluginwrapper-ia32-linux`" "$exec_dir" Binaries
+ part_install "`manifest_path LICENSE`" "$doc_dir" Documentation
+- part_install "`manifest_path man1/opera.1`" "$man_dir" "Manual page"
+
+ share_src="`manifest_path 'html40_entities\.dtd'`"
+ part_install "$share_src" "$share_dir" "Shared resources"
+@@ -1268,15 +1271,14 @@
+ mkdir $mkdirv $mkdirp $plugin_dir/
+
+ # Wrapper
+- backup ${wrapper_dir}/opera opera
+ debug_msg 1 "Wrapper"
+ mkdir $mkdirv $mkdirp $wrapper_dir/
+
+ #cp $cpv $cpf wrapper.sh $wrapper_dir/opera
+ generate_wrapper
+- chmod $chmodv 755 $wrapper_dir/opera
++ chmod $chmodv 755 $wrapper_dir/opera-devel
+
+- if test -z "$OPERADESTDIR"
++ if false
+ then
+ # System wide configuration files
+ case $os in AnyBSD|OpenBSD) config_dir="/usr/local/etc";; *) config_dir="/etc";; esac