summaryrefslogtreecommitdiff
path: root/sci-biology/psipred/files/3.1-path.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /sci-biology/psipred/files/3.1-path.patch
reinit the tree, so we can have metadata
Diffstat (limited to 'sci-biology/psipred/files/3.1-path.patch')
-rw-r--r--sci-biology/psipred/files/3.1-path.patch38
1 files changed, 38 insertions, 0 deletions
diff --git a/sci-biology/psipred/files/3.1-path.patch b/sci-biology/psipred/files/3.1-path.patch
new file mode 100644
index 000000000000..564e9c8a1ef9
--- /dev/null
+++ b/sci-biology/psipred/files/3.1-path.patch
@@ -0,0 +1,38 @@
+diff --git a/runpsipred b/runpsipred
+index 4ccf44e..34dee99 100755
+--- a/runpsipred
++++ b/runpsipred
+@@ -14,13 +14,13 @@
+ set dbname = uniref90filt
+
+ # Where the NCBI programs have been installed
+-set ncbidir = /usr/local/bin
++set ncbidir = @GENTOO_PORTAGE_EPREFIX@/usr/bin
+
+ # Where the PSIPRED V2 programs have been installed
+-set execdir = ./bin
++set execdir = @GENTOO_PORTAGE_EPREFIX@/usr/bin
+
+ # Where the PSIPRED V2 data files have been installed
+-set datadir = ./data
++set datadir = @GENTOO_PORTAGE_EPREFIX@/usr/share/psipred/data
+
+ set basename = $1:r
+ set rootname = $basename:t
+diff --git a/runpsipred_single b/runpsipred_single
+index 1f7680b..7bd5bc3 100755
+--- a/runpsipred_single
++++ b/runpsipred_single
+@@ -10,10 +10,10 @@
+ # NOTE: Script modified to be more cluster friendly (DTJ April 2008)
+
+ # Where the PSIPRED V3 programs have been installed
+-set execdir = ./bin
++set execdir = @GENTOO_PORTAGE_EPREFIX@/usr/bin
+
+ # Where the PSIPRED V3 data files have been installed
+-set datadir = ./data
++set datadir = @GENTOO_PORTAGE_EPREFIX@/usr/share/psipred/data
+
+ set basename = $1:r
+ set rootname = $basename:t