summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2005-11-02 21:48:01 +0000
committerFabian Groffen <grobian@gentoo.org>2005-11-02 21:48:01 +0000
commit215d3611a01f2a50c235b525903b822c77899f23 (patch)
tree4d174b15da873ab67033529984a51902e289fac4 /app-shells
parentFixed dodoc not to install COPYING and/or INSTALL. (diff)
downloadhistorical-215d3611a01f2a50c235b525903b822c77899f23.tar.gz
historical-215d3611a01f2a50c235b525903b822c77899f23.tar.bz2
historical-215d3611a01f2a50c235b525903b822c77899f23.zip
Cleanup/correctness action suggested by Mr_Bones_
Package-Manager: portage-2.0.51.22-r3
Diffstat (limited to 'app-shells')
-rw-r--r--app-shells/tcsh/ChangeLog6
-rw-r--r--app-shells/tcsh/Manifest4
-rw-r--r--app-shells/tcsh/tcsh-6.14-r1.ebuild24
3 files changed, 21 insertions, 13 deletions
diff --git a/app-shells/tcsh/ChangeLog b/app-shells/tcsh/ChangeLog
index 0611ae109abf..a8d1678fad45 100644
--- a/app-shells/tcsh/ChangeLog
+++ b/app-shells/tcsh/ChangeLog
@@ -1,9 +1,13 @@
# ChangeLog for app-shells/tcsh
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-shells/tcsh/ChangeLog,v 1.42 2005/11/02 21:17:41 grobian Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-shells/tcsh/ChangeLog,v 1.43 2005/11/02 21:48:01 grobian Exp $
02 Nov 2005; Fabian Groffen <grobian@gentoo.org> tcsh-6.14-r1.ebuild:
Only add csh symlink if csh is not yet there for bug #26196
+ Cleanup/correctness action suggested by Mr_Bones_:
+ - check for/add symlink to csh in pkg_postinst
+ - make RDEPEND DEPEND as the dependencies are required during compilation
+ - feed doins a set of files instead of one at a time
*tcsh-6.14-r1 (30 Sep 2005)
diff --git a/app-shells/tcsh/Manifest b/app-shells/tcsh/Manifest
index d46c6d2d7c03..7ec3cbb472b2 100644
--- a/app-shells/tcsh/Manifest
+++ b/app-shells/tcsh/Manifest
@@ -2,8 +2,8 @@ MD5 1b865e9c0349146f352678370c667127 tcsh-6.13-r1.ebuild 1889
MD5 c250d0af9e636acf93f75180f66ed639 tcsh-6.14.ebuild 1234
MD5 89674d2fb5c06a3b4b5310a3212c81a2 tcsh-6.12-r3.ebuild 1382
MD5 40885229543eeb01a6a91b426c29e29d tcsh-6.13.ebuild 1249
-MD5 bd9aebb1bee8f08a875abde4917f6388 tcsh-6.14-r1.ebuild 2475
-MD5 675885e4fcc821386658153dbc7c78bc ChangeLog 6209
+MD5 b41e531ab230f3b1df03208221c8c3ae tcsh-6.14-r1.ebuild 2524
+MD5 d59d6555fb565176d2dadcb32a8e5d78 ChangeLog 6442
MD5 57ae68ef95b893d172203de06faf380d metadata.xml 655
MD5 4869b9da87c79854e2cc97241f125853 files/csh.login_new 1482
MD5 c6384002cda1bc11c1e31ca9513b9ad6 files/tcsh-6.12.00-setpgrp.patch 545
diff --git a/app-shells/tcsh/tcsh-6.14-r1.ebuild b/app-shells/tcsh/tcsh-6.14-r1.ebuild
index afe1670e0c3d..6552256c3d86 100644
--- a/app-shells/tcsh/tcsh-6.14-r1.ebuild
+++ b/app-shells/tcsh/tcsh-6.14-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-shells/tcsh/tcsh-6.14-r1.ebuild,v 1.2 2005/11/02 21:17:41 grobian Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-shells/tcsh/tcsh-6.14-r1.ebuild,v 1.3 2005/11/02 21:48:01 grobian Exp $
MY_P="${P}.00"
DESCRIPTION="Enhanced version of the Berkeley C shell (csh)"
@@ -15,7 +15,7 @@ SLOT="0"
KEYWORDS="~x86 ~ppc ~sparc ~alpha ~arm ~hppa ~amd64 ~ia64 ~ppc64 ~mips"
IUSE="perl"
-RDEPEND="virtual/libc
+DEPEND="virtual/libc
>=sys-libs/ncurses-5.1
perl? ( dev-lang/perl )"
@@ -35,25 +35,29 @@ src_install() {
dohtml tcsh.html/*.html
fi
- [ ! -e /bin/csh ] && dosym /bin/tcsh /bin/csh
dodoc FAQ Fixes NewThings Ported README WishList Y2K
insinto /etc
- doins ${WORKDIR}/gentoo/csh.cshrc
- doins ${WORKDIR}/gentoo/csh.login
+ doins \
+ ${WORKDIR}/gentoo/csh.cshrc \
+ ${WORKDIR}/gentoo/csh.login
insinto /etc/skel
newins ${WORKDIR}/gentoo/tcsh.config .tcsh.config
insinto /etc/profile.d
- doins ${WORKDIR}/gentoo/tcsh-bindkey.csh
- doins ${WORKDIR}/gentoo/tcsh-settings.csh
- doins ${WORKDIR}/gentoo/tcsh-aliases
- doins ${WORKDIR}/gentoo/tcsh-complete
- doins ${WORKDIR}/gentoo/tcsh-gentoo_legacy
+ doins \
+ ${WORKDIR}/gentoo/tcsh-bindkey.csh \
+ ${WORKDIR}/gentoo/tcsh-settings.csh \
+ ${WORKDIR}/gentoo/tcsh-aliases \
+ ${WORKDIR}/gentoo/tcsh-complete \
+ ${WORKDIR}/gentoo/tcsh-gentoo_legacy
}
pkg_postinst() {
+ # add csh -> tcsh symlink only if csh is not yet there
+ [ ! -e /bin/csh ] && dosym /bin/tcsh /bin/csh
+
while read line; do einfo "${line}"; done <<EOF
The default behaviour of tcsh has significantly changed starting from
this ebuild. In contrast to previous ebuilds, the amount of