diff options
author | Alain Penders <alain@gentoo.org> | 2003-03-08 01:03:58 +0000 |
---|---|---|
committer | Alain Penders <alain@gentoo.org> | 2003-03-08 01:03:58 +0000 |
commit | a6519ea8fe484095959fa914a4c4689974d59e03 (patch) | |
tree | 62107c731d556bb18999b060201bcd485ce038e9 /app-shells/tcsh | |
parent | Added lincvs-1.1.2 ebuild, bumped copyright date in 1.1.1 ebuild. (diff) | |
download | historical-a6519ea8fe484095959fa914a4c4689974d59e03.tar.gz historical-a6519ea8fe484095959fa914a4c4689974d59e03.tar.bz2 historical-a6519ea8fe484095959fa914a4c4689974d59e03.zip |
New tcsh-6.12-r2 adds kanji support.
Diffstat (limited to 'app-shells/tcsh')
-rw-r--r-- | app-shells/tcsh/ChangeLog | 7 | ||||
-rw-r--r-- | app-shells/tcsh/files/digest-tcsh-6.12-r2 | 1 | ||||
-rw-r--r-- | app-shells/tcsh/files/tcsh_enable_kanji.diff | 19 | ||||
-rw-r--r-- | app-shells/tcsh/tcsh-6.12-r2.ebuild | 56 |
4 files changed, 82 insertions, 1 deletions
diff --git a/app-shells/tcsh/ChangeLog b/app-shells/tcsh/ChangeLog index 4fe973668b88..5e1397918e8e 100644 --- a/app-shells/tcsh/ChangeLog +++ b/app-shells/tcsh/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-shells/tcsh # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-shells/tcsh/ChangeLog,v 1.11 2003/02/12 05:21:30 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-shells/tcsh/ChangeLog,v 1.12 2003/03/08 01:03:58 alain Exp $ + +*tcsh-6.12-r2 (7 Mar 2003) + + 7 Mar 2003; Alain Penders <alain@gentoo.org> : Added minor patch to enable + kanji support when cjk flag is set. *tcsh-6.12-r1 (25 Jan 2003) diff --git a/app-shells/tcsh/files/digest-tcsh-6.12-r2 b/app-shells/tcsh/files/digest-tcsh-6.12-r2 new file mode 100644 index 000000000000..7733a6633626 --- /dev/null +++ b/app-shells/tcsh/files/digest-tcsh-6.12-r2 @@ -0,0 +1 @@ +MD5 dccf1e673103594546fe74c313932428 tcsh-6.12.00.tar.gz 824297 diff --git a/app-shells/tcsh/files/tcsh_enable_kanji.diff b/app-shells/tcsh/files/tcsh_enable_kanji.diff new file mode 100644 index 000000000000..e1432eb3079b --- /dev/null +++ b/app-shells/tcsh/files/tcsh_enable_kanji.diff @@ -0,0 +1,19 @@ +--- config_f.h.orig 2003-03-04 16:38:33.000000000 -0800 ++++ config_f.h 2003-03-04 16:38:51.000000000 -0800 +@@ -113,14 +113,14 @@ + * be used with SHORT_STRINGS + * + */ +-#undef KANJI ++#define KANJI + + /* + * DSPMBYTE add variable "dspmbyte" and display multi-byte string at + * only output, when "dspmbyte" is set. Should be used with + * KANJI + */ +-#undef DSPMBYTE ++#define DSPMBYTE + + /* + * MBYTEDEBUG when "dspmbyte" is changed, set multi-byte checktable to diff --git a/app-shells/tcsh/tcsh-6.12-r2.ebuild b/app-shells/tcsh/tcsh-6.12-r2.ebuild new file mode 100644 index 000000000000..d854abb1bf13 --- /dev/null +++ b/app-shells/tcsh/tcsh-6.12-r2.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-shells/tcsh/tcsh-6.12-r2.ebuild,v 1.1 2003/03/08 01:03:58 alain Exp $ + +MY_P="${PN}-${PV}.00" +DESCRIPTION="Enhanced version of the Berkeley C shell (csh)" +SRC_URI="ftp://ftp.astron.com/pub/tcsh/${MY_P}.tar.gz" +HOMEPAGE="http://www.tcsh.org/" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="x86 ~ppc sparc " +IUSE="cjk perl" + +RDEPEND="virtual/glibc + >=sys-libs/ncurses-5.1 + perl? ( sys-devel/perl )" + +S="${WORKDIR}/${MY_P}" + +src_unpack() { + unpack ${A} + cd ${S} + patch -p0 < ${FILESDIR}/${P}-tc.os.h-gentoo.diff || die + if [ "`use cjk`" ] + then + patch -p0 < ${FILESDIR}/tcsh_enable_kanji.diff || die + fi +} + +src_compile() { + econf --prefix=/ + emake || die "compile problem" +} + +src_install() { + make DESTDIR=${D} install install.man || die + + if [ "`use perl`" ] ; then + perl tcsh.man2html || die + dohtml tcsh.html/*.html + fi + + dosym /bin/tcsh /bin/csh + dodoc FAQ Fixes NewThings Ported README WishList Y2K + + insinto /etc + newins ${FILESDIR}/csh.cshrc_new csh.cshrc + newins ${FILESDIR}/csh.login_new csh.login + + insinto /etc/skel + newins ${FILESDIR}/tcsh.config .tcsh.config + + insinto /etc/profile.d + doins ${FILESDIR}/tcsh-settings ${FILESDIR}/tcsh-aliases ${FILESDIR}/tcsh-bindkey ${FILESDIR}/tcsh-complete +} |