summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2012-07-04 21:24:49 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2012-07-04 21:24:49 +0000
commit2a9d2c8ecc12d49728138fbbac960cf7da1913d4 (patch)
tree2705fbbb6dfdd8f6ccb833dd664319c0815a7f6e /sci-astronomy
parentStable for amd64, wrt bug #424613 (diff)
downloadgentoo-2-2a9d2c8ecc12d49728138fbbac960cf7da1913d4.tar.gz
gentoo-2-2a9d2c8ecc12d49728138fbbac960cf7da1913d4.tar.bz2
gentoo-2-2a9d2c8ecc12d49728138fbbac960cf7da1913d4.zip
respect prefix bindir
(Portage version: 2.2.01.20430-prefix/cvs/Linux x86_64)
Diffstat (limited to 'sci-astronomy')
-rw-r--r--sci-astronomy/cdsclient/ChangeLog5
-rw-r--r--sci-astronomy/cdsclient/cdsclient-3.7.1.ebuild14
2 files changed, 11 insertions, 8 deletions
diff --git a/sci-astronomy/cdsclient/ChangeLog b/sci-astronomy/cdsclient/ChangeLog
index 99bd71a41333..d1e632d249d8 100644
--- a/sci-astronomy/cdsclient/ChangeLog
+++ b/sci-astronomy/cdsclient/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sci-astronomy/cdsclient
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/cdsclient/ChangeLog,v 1.12 2012/06/15 17:02:56 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/cdsclient/ChangeLog,v 1.13 2012/07/04 21:24:49 bicatali Exp $
+
+ 04 Jul 2012; Sébastien Fabbro <bicatali@gentoo.org> cdsclient-3.7.1.ebuild:
+ respect prefix bindir
*cdsclient-3.7.1 (15 Jun 2012)
diff --git a/sci-astronomy/cdsclient/cdsclient-3.7.1.ebuild b/sci-astronomy/cdsclient/cdsclient-3.7.1.ebuild
index f695b0b358d1..2db14157804b 100644
--- a/sci-astronomy/cdsclient/cdsclient-3.7.1.ebuild
+++ b/sci-astronomy/cdsclient/cdsclient-3.7.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/cdsclient/cdsclient-3.7.1.ebuild,v 1.1 2012/06/15 17:02:57 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/cdsclient/cdsclient-3.7.1.ebuild,v 1.2 2012/07/04 21:24:49 bicatali Exp $
EAPI=4
@@ -15,7 +15,7 @@ SRC_URI="ftp://cdsarc.u-strasbg.fr/pub/sw/${MYP}.tar.gz"
LICENSE="as-is"
SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE=""
DEPEND=""
@@ -26,15 +26,15 @@ S="${WORKDIR}/${MYP}"
src_prepare() {
epatch "${FILESDIR}"/${PN}-gentoo.diff
# remove non standard "mantex" page
- sed -i -e 's/aclient.tex//' "${S}"/configure || die
+ sed -i -e 's/aclient.tex//' configure || die
}
src_install() {
- local bindir=/usr/bin/${PN}
- emake DESTDIR="${D}" SHSDIR=${bindir} install
+ local bindir="${EPREFIX}/usr/bin/${PN}"
+ emake DESTDIR="${D}" SHSDIR="${bindir}" install
cat <<-EOF > 99${PN}
- PATH=${EPREFIX}${bindir}
- ROOTPATH=${EPREFIX}${bindir}
+ PATH=${bindir}
+ ROOTPATH=${bindir}
EOF
doenvd 99${PN}
}