diff options
Diffstat (limited to 'app-shells')
-rw-r--r-- | app-shells/tcsh/ChangeLog | 9 | ||||
-rw-r--r-- | app-shells/tcsh/Manifest | 4 | ||||
-rw-r--r-- | app-shells/tcsh/tcsh-6.17.ebuild | 91 |
3 files changed, 101 insertions, 3 deletions
diff --git a/app-shells/tcsh/ChangeLog b/app-shells/tcsh/ChangeLog index 5c485dd9bc5c..e9c993200d45 100644 --- a/app-shells/tcsh/ChangeLog +++ b/app-shells/tcsh/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-shells/tcsh -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-shells/tcsh/ChangeLog,v 1.95 2009/09/30 20:13:37 grobian Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-shells/tcsh/ChangeLog,v 1.96 2010/01/22 11:54:41 grobian Exp $ + +*tcsh-6.17 (22 Jan 2010) + + 22 Jan 2010; Fabian Groffen <grobian@gentoo.org> +tcsh-6.17.ebuild: + Version bump 30 Sep 2009; Fabian Groffen <grobian@gentoo.org> tcsh-6.16.ebuild: Merge Prefix changes, no differences in functionality or behaviour diff --git a/app-shells/tcsh/Manifest b/app-shells/tcsh/Manifest index a5d545bf3512..b7d78db10c13 100644 --- a/app-shells/tcsh/Manifest +++ b/app-shells/tcsh/Manifest @@ -8,10 +8,12 @@ DIST tcsh-6.14-conffiles.tar.bz2 20200 RMD160 96e5e43985fe1b6e53b4a2a53f1b7bed3c DIST tcsh-6.14.00.tar.gz 859780 RMD160 fa7635225ceb0225aedcfad5dd9d8e17d8d70849 SHA1 55a08b31a57cfd8631edd1fb7e42f18578d8198a SHA256 fd738ac0c003d283a214d15d46c1bc3fb80afad697110994dccb8d101f0d6f0e DIST tcsh-6.15.00.tar.gz 870886 RMD160 8065279e93bd3fddb2a95a3f74a680858d36508c SHA1 d24f7bf27e80222a6293b6629c14db547f0b7387 SHA256 dca83e59025f18a9811895cd7cf2a760ab1750240ea7c8c86ea21e24f783acdc DIST tcsh-6.16.00.tar.gz 886468 RMD160 ed23351273bb737c184658235f33869488e64696 SHA1 3d3536bbb9201abdf39b8b364b95e0a218970a5c SHA256 7603b8d67553e0a83159f0f463b642e3679a878a70743285bb7b288b314517d4 +DIST tcsh-6.17.00.tar.gz 890084 RMD160 2cc41a895799ade6d62640f877bb626f136dac35 SHA1 9bf67d5ce1b406178e9ba535ecd34553fe0d4d36 SHA256 575266122bc2bc351c84a7f858020c0e6b6f95a64ad4de3ce95e340f57e4a9a9 DIST tcsh-config-1.6.tar.bz2 2352 RMD160 28bc4d50211ee247f7202a4b49267d745142ef6e SHA1 5056d00da21cfad4550028821ebde49574244d87 SHA256 af86d79921c446b1ad4f8d665168ff6fd3fb24a875abde81e336ba91644c5160 DIST tcsh-gentoo-patches-r1.8.tar.bz2 2484 RMD160 d2ac41730bbbdfb8db77a67a0104edc08bb4570e SHA1 9059e209f433a023f264907d84d55824ec6854f0 SHA256 77fa4ae60090ad5a6ec50185eec9070757eedb798b1c29327d27fc582cb59f37 EBUILD tcsh-6.14-r5.ebuild 1850 RMD160 89490fdfd3ea32d7376c6bca456f0c2c52fdd890 SHA1 9193c2c73fe99eff2cf04c7a5f61156e8ae0c686 SHA256 f4cc6d5b8aa6878ac38ab090e945292871b2fbb6e9db06cf70623100326f453d EBUILD tcsh-6.15-r2.ebuild 2081 RMD160 7c3c62264463fb1a55bfa8ea0ef2795fdae92b35 SHA1 665b93c2dcdadc3ce73a986ac428122b66cd2636 SHA256 8bf3f8f3f884b115675b9338d35fe1a52f6b99095404bfc22e91e8ff89341e2c EBUILD tcsh-6.16.ebuild 2642 RMD160 de811469dd14ab91f817359bc00b84119fd71bab SHA1 aff1746557b90db2a09561f298682f7516424c83 SHA256 0e333f5b9685c4a501728991a36972d89df5c4f220ad81eac57cc40c44dfec3f -MISC ChangeLog 14163 RMD160 a5a2bb43df5da5764bd0d778c509935e20d44c7c SHA1 b93ff3733cef6c7aeb0d1ad2fcabe40462ddf8ff SHA256 1fd3bfb71c9987b85903fad7e295598be6a2277ba862f09d568032a3ca32669d +EBUILD tcsh-6.17.ebuild 2653 RMD160 ee357564d729f949bb923a09370f3f1184b6e0b1 SHA1 265467097eeb3bf990d9e21940990a131df8ef51 SHA256 9cc680e67697a6be6696930ee853e4c78c890544947bd52d95cf14cbd921b797 +MISC ChangeLog 14275 RMD160 371d51b8fe11db8f77ea7ffd0cf5f181bcf7af4d SHA1 38a45b0013cb407b63bcfeb5c2f1c5fb1411c60e SHA256 5d7616bf58eee223d9b6309f407199e546a6e85daadf64ba8a8989ca12d06c56 MISC metadata.xml 728 RMD160 c51803104a894333f5a72d04295b412759c22625 SHA1 0861e219b4c1aa25f4813e70fdc4b6f427ba4ba2 SHA256 2bed723ea437a754e4e189c2456afb40193190c5126bf88008a8b234a62f44f1 diff --git a/app-shells/tcsh/tcsh-6.17.ebuild b/app-shells/tcsh/tcsh-6.17.ebuild new file mode 100644 index 000000000000..82a6f6b71885 --- /dev/null +++ b/app-shells/tcsh/tcsh-6.17.ebuild @@ -0,0 +1,91 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-shells/tcsh/tcsh-6.17.ebuild,v 1.1 2010/01/22 11:54:41 grobian Exp $ + +inherit eutils flag-o-matic autotools prefix + +CONFVER="1.8" + +MY_P="${P}.00" +DESCRIPTION="Enhanced version of the Berkeley C shell (csh)" +HOMEPAGE="http://www.tcsh.org/" +SRC_URI="ftp://ftp.astron.com/pub/tcsh/${MY_P}.tar.gz + http://www.gentoo.org/~grobian/distfiles/tcsh-gentoo-patches-r${CONFVER}.tar.bz2" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x64-freebsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="perl catalogs" +RESTRICT="test" + +# we need gettext because we run autoconf +DEPEND=">=sys-libs/ncurses-5.1 + sys-devel/gettext + perl? ( dev-lang/perl )" +RDEPEND="${DEPEND}" + +S=${WORKDIR}/${MY_P} +CONFDIR=${WORKDIR}/tcsh-gentoo-patches-r${CONFVER} + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}/${MY_P/17/14}"-debian-dircolors.patch # bug #120792 + epatch "${FILESDIR}"/${PN}-6.14-makefile.patch # bug #151951 + epatch "${FILESDIR}"/${PN}-6.14-use-ncurses.patch + eautoreconf + + if use catalogs ; then + einfo "enabling NLS catalogs support..." + sed -i -e "s/#undef NLS_CATALOGS/#define NLS_CATALOGS/" \ + config_f.h || die + eend $? + fi + + # unify ECHO behaviour + echo "#undef ECHO_STYLE" >> config_f.h + echo "#define ECHO_STYLE BOTH_ECHO" >> config_f.h + + eprefixify "${CONFDIR}"/* + # activate the right default PATH + if [[ -z ${EPREFIX} ]] ; then + sed -i \ + -e 's/^#MAIN//' -e '/^#PREFIX/d' \ + "${CONFDIR}"/csh.login || die + else + sed -i \ + -e 's/^#PREFIX//' -e '/^#MAIN/d' \ + "${CONFDIR}"/csh.login || die + fi +} + +src_compile() { + # make tcsh look and live along the lines of the prefix + append-flags -D_PATH_DOTCSHRC="'"'"${EPREFIX}/etc/csh.cshrc"'"'" + append-flags -D_PATH_DOTLOGIN="'"'"${EPREFIX}/etc/csh.login"'"'" + append-flags -D_PATH_DOTLOGOUT="'"'"${EPREFIX}/etc/csh.logout"'"'" + append-flags -D_PATH_USRBIN="'"'"${EPREFIX}/usr/bin"'"'" + append-flags -D_PATH_BIN="'"'"${EPREFIX}/bin"'"'" + + econf --prefix="${EPREFIX:-/}" || die "econf failed" + emake || die "compile problem" +} + +src_install() { + emake DESTDIR="${D}" install install.man || die + + if use perl ; then + perl tcsh.man2html tcsh.man || die + dohtml tcsh.html/*.html + fi + + insinto /etc + doins \ + "${CONFDIR}"/csh.cshrc \ + "${CONFDIR}"/csh.login + + dodoc FAQ Fixes NewThings Ported README WishList Y2K + + # bug #119703: add csh -> tcsh symlink + dosym /bin/tcsh /bin/csh +} |