Gentoo Archives: gentoo-commits

From: "Fabian Groffen (grobian)" <grobian@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-shells/tcsh: tcsh-6.17.06.ebuild ChangeLog tcsh-6.14-r5.ebuild tcsh-6.15-r2.ebuild
Date: Sat, 31 Dec 2011 16:38:43
Message-Id: 20111231163834.2109D2004B@flycatcher.gentoo.org
1 grobian 11/12/31 16:38:34
2
3 Modified: ChangeLog
4 Added: tcsh-6.17.06.ebuild
5 Removed: tcsh-6.14-r5.ebuild tcsh-6.15-r2.ebuild
6 Log:
7 Cleanup old, version bump to beta version with ebuild cleanup.
8
9 (Portage version: 2.2.01.20043-prefix/cvs/Darwin i386)
10
11 Revision Changes Path
12 1.108 app-shells/tcsh/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-shells/tcsh/ChangeLog?rev=1.108&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-shells/tcsh/ChangeLog?rev=1.108&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-shells/tcsh/ChangeLog?r1=1.107&r2=1.108
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/app-shells/tcsh/ChangeLog,v
21 retrieving revision 1.107
22 retrieving revision 1.108
23 diff -u -r1.107 -r1.108
24 --- ChangeLog 26 Nov 2011 19:01:27 -0000 1.107
25 +++ ChangeLog 31 Dec 2011 16:38:34 -0000 1.108
26 @@ -1,6 +1,13 @@
27 # ChangeLog for app-shells/tcsh
28 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/app-shells/tcsh/ChangeLog,v 1.107 2011/11/26 19:01:27 armin76 Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/app-shells/tcsh/ChangeLog,v 1.108 2011/12/31 16:38:34 grobian Exp $
31 +
32 +*tcsh-6.17.06 (31 Dec 2011)
33 +
34 + 31 Dec 2011; Fabian Groffen <grobian@g.o> +tcsh-6.17.06.ebuild,
35 + -files/tcsh-6.14-r2.patch, -files/tcsh-6.14-r4.patch, -tcsh-6.14-r5.ebuild,
36 + -tcsh-6.15-r2.ebuild:
37 + Cleanup old, version bump to beta version with ebuild cleanup.
38
39 26 Nov 2011; Raúl Porcel <armin76@g.o> tcsh-6.17-r1.ebuild:
40 alpha/ia64/m68k/s390/sh/sparc stable wrt #389013
41
42
43
44 1.1 app-shells/tcsh/tcsh-6.17.06.ebuild
45
46 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-shells/tcsh/tcsh-6.17.06.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-shells/tcsh/tcsh-6.17.06.ebuild?rev=1.1&content-type=text/plain
48
49 Index: tcsh-6.17.06.ebuild
50 ===================================================================
51 # Copyright 1999-2011 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/app-shells/tcsh/tcsh-6.17.06.ebuild,v 1.1 2011/12/31 16:38:34 grobian Exp $
54
55 EAPI="3"
56
57 inherit eutils flag-o-matic autotools prefix
58
59 CONFVER="1.9"
60
61 DESCRIPTION="Enhanced version of the Berkeley C shell (csh)"
62 HOMEPAGE="http://www.tcsh.org/"
63 SRC_URI="ftp://ftp.astron.com/pub/tcsh/beta/${P}.tar.gz
64 http://www.gentoo.org/~grobian/distfiles/tcsh-gentoo-patches-r${CONFVER}.tar.bz2"
65
66 LICENSE="BSD"
67 SLOT="0"
68 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x86-fbsd ~x64-freebsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
69 IUSE="nls doc"
70 RESTRICT="test"
71
72 # we need gettext because we run autoconf (AM_ICONV)
73 RDEPEND=">=sys-libs/ncurses-5.1
74 virtual/libiconv"
75 DEPEND="${RDEPEND}
76 sys-devel/gettext
77 doc? ( dev-lang/perl )"
78
79 CONFDIR=${WORKDIR}/tcsh-gentoo-patches-r${CONFVER}
80
81 src_prepare() {
82 epatch "${FILESDIR}"/${PN}-6.14.00-debian-dircolors.patch # bug #120792
83 epatch "${FILESDIR}"/${PN}-6.14-makefile.patch # bug #151951
84 epatch "${FILESDIR}"/${PN}-6.14-use-ncurses.patch
85 eautoreconf
86
87 # fix gencat usage
88 sed -i -e 's/cat \$\^ \$> | \$(GENCAT) \$@/rm -f $@; $(GENCAT) $@ $> $^/' \
89 nls/Makefile.in || die
90
91 # unify ECHO behaviour
92 echo "#undef ECHO_STYLE" >> config_f.h
93 echo "#define ECHO_STYLE BOTH_ECHO" >> config_f.h
94
95 eprefixify "${CONFDIR}"/*
96 # activate the right default PATH
97 if [[ -z ${EPREFIX} ]] ; then
98 sed -i \
99 -e 's/^#MAIN//' -e '/^#PREFIX/d' \
100 "${CONFDIR}"/csh.login || die
101 else
102 sed -i \
103 -e 's/^#PREFIX//' -e '/^#MAIN/d' \
104 "${CONFDIR}"/csh.login || die
105 fi
106 }
107
108 src_configure() {
109 # make tcsh look and live along the lines of the prefix
110 append-flags -D_PATH_DOTCSHRC="'"'"${EPREFIX}/etc/csh.cshrc"'"'"
111 append-flags -D_PATH_DOTLOGIN="'"'"${EPREFIX}/etc/csh.login"'"'"
112 append-flags -D_PATH_DOTLOGOUT="'"'"${EPREFIX}/etc/csh.logout"'"'"
113 append-flags -D_PATH_USRBIN="'"'"${EPREFIX}/usr/bin"'"'"
114 append-flags -D_PATH_BIN="'"'"${EPREFIX}/bin"'"'"
115
116 econf \
117 --prefix="${EPREFIX:-/}" \
118 --datarootdir='${prefix}/usr/share' \
119 $(use_enable nls) \
120 || die
121 }
122
123 src_install() {
124 emake DESTDIR="${D}" install install.man || die
125
126 if use doc ; then
127 perl tcsh.man2html tcsh.man || die
128 dohtml tcsh.html/*.html
129 fi
130
131 insinto /etc
132 doins \
133 "${CONFDIR}"/csh.cshrc \
134 "${CONFDIR}"/csh.login
135
136 dodoc FAQ Fixes NewThings Ported README WishList Y2K
137
138 # bug #119703: add csh -> tcsh symlink
139 dosym /bin/tcsh /bin/csh
140 }