summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2013-03-21 09:02:15 +0000
committerJustin Lecher <jlec@gentoo.org>2013-03-21 09:02:15 +0000
commit138203f2e50cbdc6067bc5ea3d167a3220b2291b (patch)
tree6bd29239e6ee03e9d769c587f4ead7a2a44eb7f3 /sci-biology/profphd/profphd-1.0.39.ebuild
parentsys-fs/aufs3: Fix kernel patching, thanks likewhoa for the patch (diff)
downloadgentoo-2-138203f2e50cbdc6067bc5ea3d167a3220b2291b.tar.gz
gentoo-2-138203f2e50cbdc6067bc5ea3d167a3220b2291b.tar.bz2
gentoo-2-138203f2e50cbdc6067bc5ea3d167a3220b2291b.zip
sci-biology/profphd: Add some more PREFIX love
(Portage version: 2.2.0_alpha166/cvs/Linux x86_64, signed Manifest commit with key 8009D6F070EB7916)
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
+}