summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2020-10-27 22:40:10 +0100
committerDavid Seifert <soap@gentoo.org>2020-10-27 22:40:10 +0100
commit0a8ba900d4d39a8f4d762fd9c04e470e3272b1d4 (patch)
treea97a6722f7b46d30c7fef94f3a5155d3f095cab5 /sci-biology/profphd/files
parentsci-biology/profphd: Remove old 1.0.39 (diff)
downloadgentoo-0a8ba900d4d39a8f4d762fd9c04e470e3272b1d4.tar.gz
gentoo-0a8ba900d4d39a8f4d762fd9c04e470e3272b1d4.tar.bz2
gentoo-0a8ba900d4d39a8f4d762fd9c04e470e3272b1d4.zip
sci-biology/profphd: Port to EAPI 7
Package-Manager: Portage-3.0.8, Repoman-3.0.2 Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'sci-biology/profphd/files')
-rw-r--r--sci-biology/profphd/files/profphd-1.0.40-symlink.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/sci-biology/profphd/files/profphd-1.0.40-symlink.patch b/sci-biology/profphd/files/profphd-1.0.40-symlink.patch
new file mode 100644
index 000000000000..7733d55af4a6
--- /dev/null
+++ b/sci-biology/profphd/files/profphd-1.0.40-symlink.patch
@@ -0,0 +1,11 @@
+--- a/src/prof/Makefile
++++ b/src/prof/Makefile
+@@ -40,7 +40,7 @@
+ ./. $(DESTDIR)$(prefix)/share/profphd/prof/.
+ find $(DESTDIR)$(prefix)/share/profphd/prof/embl/phd.pl $(DESTDIR)$(prefix)/share/profphd/prof/scr/CONFprof.pl $(DESTDIR)$(prefix)/share/profphd/prof/prof $(DESTDIR)$(prefix)/share/profphd/prof/scr/lib/prof.pm \
+ -type f -exec sed -i -e 's|__PREFIX__|$(prefix)|g;s|__VERSION__|$(VERSION)|;' {} \;
+- rm -rf $(DESTDIR)$(prefix)/bin/prof && mkdir -p $(DESTDIR)$(prefix)/bin && ln -s ../share/profphd/prof/prof $(DESTDIR)$(prefix)/bin/prof
++ rm -rf $(DESTDIR)$(prefix)/bin/prof && mkdir -p $(DESTDIR)$(prefix)/bin && ln -s ../share/profphd/prof/prof $(DESTDIR)$(prefix)/bin/profphd
+
+ install-neuralnet:
+ mkdir -p $(DESTDIR)$(prefix)/share/profphd/prof/embl/para && rsync -aC \