summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKacper Kowalik <xarthisius@gentoo.org>2012-05-08 20:38:29 +0000
committerKacper Kowalik <xarthisius@gentoo.org>2012-05-08 20:38:29 +0000
commit1d792fbd6341aa02164ac610e87c77f0a5be4d8e (patch)
tree775f5d14ccd81ec4fdd56d9f43400248b6fda290 /sci-astronomy
parentmanifest! (diff)
downloadgentoo-2-1d792fbd6341aa02164ac610e87c77f0a5be4d8e.tar.gz
gentoo-2-1d792fbd6341aa02164ac610e87c77f0a5be4d8e.tar.bz2
gentoo-2-1d792fbd6341aa02164ac610e87c77f0a5be4d8e.zip
Keep scripts in /usr/share rather than /usr/bin
(Portage version: 2.2.0_alpha100/cvs/Linux x86_64)
Diffstat (limited to 'sci-astronomy')
-rw-r--r--sci-astronomy/cdsclient/ChangeLog8
-rw-r--r--sci-astronomy/cdsclient/cdsclient-3.7-r1.ebuild (renamed from sci-astronomy/cdsclient/cdsclient-3.7.ebuild)15
2 files changed, 18 insertions, 5 deletions
diff --git a/sci-astronomy/cdsclient/ChangeLog b/sci-astronomy/cdsclient/ChangeLog
index b75e7f053b86..9c0cc257a53e 100644
--- a/sci-astronomy/cdsclient/ChangeLog
+++ b/sci-astronomy/cdsclient/ChangeLog
@@ -1,6 +1,12 @@
# 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.10 2012/05/06 09:39:30 xarthisius Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/cdsclient/ChangeLog,v 1.11 2012/05/08 20:38:29 xarthisius Exp $
+
+*cdsclient-3.7-r1 (08 May 2012)
+
+ 08 May 2012; Kacper Kowalik <xarthisius@gentoo.org> +cdsclient-3.7-r1.ebuild,
+ -cdsclient-3.7.ebuild:
+ Keep scripts in /usr/share rather than /usr/bin
*cdsclient-3.7 (06 May 2012)
diff --git a/sci-astronomy/cdsclient/cdsclient-3.7.ebuild b/sci-astronomy/cdsclient/cdsclient-3.7-r1.ebuild
index bcb7159923cc..d6f71e96110f 100644
--- a/sci-astronomy/cdsclient/cdsclient-3.7.ebuild
+++ b/sci-astronomy/cdsclient/cdsclient-3.7-r1.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.ebuild,v 1.1 2012/05/06 09:39:30 xarthisius Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/cdsclient/cdsclient-3.7-r1.ebuild,v 1.1 2012/05/08 20:38:29 xarthisius Exp $
EAPI=4
@@ -23,7 +23,14 @@ S=${WORKDIR}/${PN}-$(get_version_component_range 1-2)
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//' "${S}"/configure || die
+
+ cat <<-EOF > "${T}"/99${PN}
+ PATH=/usr/share/${PN}
+ EOF
+}
+
+src_install() {
+ emake DESTDIR="${D}" SHSDIR=/usr/share/${PN} install
+ doenvd "${T}"/99${PN}
}