summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-biology/profphd/profphd-1.0.39.ebuild')
-rw-r--r--sci-biology/profphd/profphd-1.0.39.ebuild16
1 files changed, 15 insertions, 1 deletions
diff --git a/sci-biology/profphd/profphd-1.0.39.ebuild b/sci-biology/profphd/profphd-1.0.39.ebuild
index 2d436a761a21..7803ab72437f 100644
--- a/sci-biology/profphd/profphd-1.0.39.ebuild
+++ b/sci-biology/profphd/profphd-1.0.39.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-biology/profphd/profphd-1.0.39.ebuild,v 1.1 2013/03/19 11:19:46 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-biology/profphd/profphd-1.0.39.ebuild,v 1.2 2013/03/21 09:02:15 jlec Exp $
EAPI=5
@@ -15,3 +15,17 @@ IUSE=""
DEPEND="dev-lang/perl"
RDEPEND="${DEPEND}"
+
+src_prepare() {
+ sed \
+ -e '/ln -s/s:prof$:profphd:g' \
+ -i src/prof/Makefile || die
+}
+
+src_compile() {
+ emake prefix="${EPREFIX}/usr"
+}
+
+src_install() {
+ emake prefix="${EPREFIX}/usr" DESTDIR="${D}" install
+}