summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonnie Berkholz <dberkholz@gentoo.org>2008-02-15 08:53:27 +0000
committerDonnie Berkholz <dberkholz@gentoo.org>2008-02-15 08:53:27 +0000
commitbeb9c5f9cf04fb2bad50682cc09fa7e068390d8a (patch)
treed270a19a535bc7b4831ef5f1f8925091d6d72f96 /sci-chemistry/webmo/files
parentAdd X USE flag, based on http://home.att.net/~Tom.Horsley/tah-tc-5.0.tar.gz, ... (diff)
downloadhistorical-beb9c5f9cf04fb2bad50682cc09fa7e068390d8a.tar.gz
historical-beb9c5f9cf04fb2bad50682cc09fa7e068390d8a.tar.bz2
historical-beb9c5f9cf04fb2bad50682cc09fa7e068390d8a.zip
Bump.
Package-Manager: portage-2.1.4
Diffstat (limited to 'sci-chemistry/webmo/files')
-rw-r--r--sci-chemistry/webmo/files/8.0.010-add-gamess-data-directory.patch42
-rw-r--r--sci-chemistry/webmo/files/8.0.010-gentoo-locations.patch40
2 files changed, 82 insertions, 0 deletions
diff --git a/sci-chemistry/webmo/files/8.0.010-add-gamess-data-directory.patch b/sci-chemistry/webmo/files/8.0.010-add-gamess-data-directory.patch
new file mode 100644
index 000000000000..67447d6059ba
--- /dev/null
+++ b/sci-chemistry/webmo/files/8.0.010-add-gamess-data-directory.patch
@@ -0,0 +1,42 @@
+diff -ur WebMO.install.orig/cgi-bin/interfaces/gamess.int.disabled WebMO.install/cgi-bin/interfaces/gamess.int.disabled
+--- WebMO.install.orig/cgi-bin/interfaces/gamess.int.disabled 2008-02-15 00:37:31.000000000 -0800
++++ WebMO.install/cgi-bin/interfaces/gamess.int.disabled 2008-02-15 00:37:56.000000000 -0800
+@@ -3,6 +3,7 @@
+ interfaceDescription{'gamess_name'}="Gamess"
+ gamessVersion="2007"
+ gamessGMSPATH="/usr/bin"
++gamessDATAPATH="/usr/share/gamess/ericfmt"
+ gamessBinary="gamess.00.x"
+ gamessDdikick="ddikick.x"
+ cpuMin="0"
+diff -ur WebMO.install.orig/cgi-bin/run_gamess.cgi WebMO.install/cgi-bin/run_gamess.cgi
+--- WebMO.install.orig/cgi-bin/run_gamess.cgi 2008-02-15 00:37:31.000000000 -0800
++++ WebMO.install/cgi-bin/run_gamess.cgi 2008-02-15 00:38:12.000000000 -0800
+@@ -30,7 +30,7 @@
+ $ENV{'IRCDATA'} = $output_file.".irc";
+ $ENV{'PUNCH'} = $output_file.".dat";
+ $ENV{'INPUT'} = "$input_file.inp";
+-$ENV{'ERICFMT'} = "$gamessGMSPATH/ericfmt.dat";
++$ENV{'ERICFMT'} = "$gamessDATAPATH/ericfmt.dat";
+ $ENV{'PATH'} = $ENV{'PATH'}.":".$gamessGMSPATH;
+ $ENV{'DDI_RSH'}=$serverShell;
+
+diff -ur WebMO.install.orig/source/gamessmgr_admin.html WebMO.install/source/gamessmgr_admin.html
+--- WebMO.install.orig/source/gamessmgr_admin.html 2008-02-15 00:37:31.000000000 -0800
++++ WebMO.install/source/gamessmgr_admin.html 2008-02-15 00:38:57.000000000 -0800
+@@ -30,10 +30,14 @@
+ <TD><INPUT TYPE="text" NAME="gamessVersion" VALUE="<PERL>$gamessVersion</PERL>" SIZE=50></TD>
+ </TR>
+ <TR>
+- <TD><B>GAMESS directory</B></TD>
++ <TD><B>GAMESS binary directory</B></TD>
+ <TD><INPUT TYPE="text" NAME="gamessGMSPATH" VALUE="<PERL>$gamessGMSPATH</PERL>" SIZE=50></TD>
+ </TR>
+ <TR>
++ <TD><B>GAMESS data directory</B></TD>
++ <TD><INPUT TYPE="text" NAME="gamessDATAPATH" VALUE="<PERL>$gamessDATAPATH</PERL>" SIZE=50></TD>
++ </TR>
++ <TR>
+ <TD><B>GAMESS binary (name, not path)</B></TD>
+ <TD><INPUT TYPE="text" NAME="gamessBinary" VALUE="<PERL>$gamessBinary</PERL>" SIZE=50></TD>
+ </TR>
diff --git a/sci-chemistry/webmo/files/8.0.010-gentoo-locations.patch b/sci-chemistry/webmo/files/8.0.010-gentoo-locations.patch
new file mode 100644
index 000000000000..5c13919b8e1f
--- /dev/null
+++ b/sci-chemistry/webmo/files/8.0.010-gentoo-locations.patch
@@ -0,0 +1,40 @@
+diff -ur WebMO.install.orig/cgi-bin/interfaces/gamess.int.disabled WebMO.install/cgi-bin/interfaces/gamess.int.disabled
+--- WebMO.install.orig/cgi-bin/interfaces/gamess.int.disabled 2008-02-15 00:35:02.000000000 -0800
++++ WebMO.install/cgi-bin/interfaces/gamess.int.disabled 2008-02-15 00:35:28.000000000 -0800
+@@ -2,7 +2,7 @@
+ interfaceDescription{'gamess_admin'}="Edit preferences specific to Gamess"
+ interfaceDescription{'gamess_name'}="Gamess"
+ gamessVersion="2007"
+-gamessGMSPATH="/usr/local/gamess"
++gamessGMSPATH="/usr/bin"
+ gamessBinary="gamess.00.x"
+ gamessDdikick="ddikick.x"
+ cpuMin="0"
+diff -ur WebMO.install.orig/cgi-bin/interfaces/mopac.int.disabled WebMO.install/cgi-bin/interfaces/mopac.int.disabled
+--- WebMO.install.orig/cgi-bin/interfaces/mopac.int.disabled 2008-02-15 00:35:02.000000000 -0800
++++ WebMO.install/cgi-bin/interfaces/mopac.int.disabled 2008-02-15 00:35:42.000000000 -0800
+@@ -2,7 +2,7 @@
+ interfaceDescription{'mopac_admin'}="Edit preferences specific to Mopac"
+ interfaceDescription{'mopac_name'}="Mopac"
+ mopacVersion="7"
+-mopacPath="/usr/local/mopac7/mopac.exe"
++mopacPath="/usr/bin/mopac7"
+ mopacExternal="/usr/local/mopac7"
+ cpuMin="0"
+ cpuMax="100"
+diff -ur WebMO.install.orig/cgi-bin/interfaces/tinker.int.disabled WebMO.install/cgi-bin/interfaces/tinker.int.disabled
+--- WebMO.install.orig/cgi-bin/interfaces/tinker.int.disabled 2008-02-15 00:35:02.000000000 -0800
++++ WebMO.install/cgi-bin/interfaces/tinker.int.disabled 2008-02-15 00:36:02.000000000 -0800
+@@ -2,9 +2,9 @@
+ interfaceDescription{'tinker_admin'}="Edit preferences specific to Tinker"
+ interfaceDescription{'tinker_name'}="Tinker"
+ tinkerVersion="4.2"
+-tinkerBinDir="/usr/local/tinker/bin"
+-tinkerBinExt="x"
+-tinkerParamDir="/usr/local/tinker/params"
++tinkerBinDir="/usr/bin"
++tinkerBinExt=""
++tinkerParamDir="/usr/share/tinker/params"
+ cpuMin="0"
+ cpuMax="100"
+ cpuDefault="100"