/[gentoo-x86]/app-shells/fish/fish-1.23.1.ebuild
Gentoo

Contents of /app-shells/fish/fish-1.23.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Thu Jul 7 10:41:38 2011 UTC (3 years, 3 months ago) by polynomial-c
Branch: MAIN
Changes since 1.5: +4 -4 lines
Homepage/download URL has changed. Removed old version

(Portage version: 2.2.0_alpha43/cvs/Linux x86_64)

1 # Copyright 1999-2011 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-shells/fish/fish-1.23.1.ebuild,v 1.5 2010/06/21 17:19:29 fauli Exp $
4
5 EAPI="3"
6
7 inherit base autotools
8
9 DESCRIPTION="fish is the Friendly Interactive SHell"
10 HOMEPAGE="http://fishshell.com/"
11 SRC_URI="http://fishshell.com/files/${PV}/${P}.tar.bz2"
12
13 LICENSE="GPL-2"
14 SLOT="0"
15 KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
16 IUSE="X"
17
18 DEPEND="sys-libs/ncurses
19 sys-devel/bc
20 sys-devel/gettext
21 www-client/htmlview
22 X? ( x11-misc/xsel )"
23 RDEPEND="${DEPEND}"
24
25 PATCHES=(
26 "${FILESDIR}/${PN}-1.23.0-glibc-2.8.patch"
27 "${FILESDIR}/${PN}-1.22.3-gettext.patch"
28 "${FILESDIR}/${P}-gentoo-alt.patch"
29 )
30
31 src_prepare() {
32 base_src_prepare
33
34 eautoreconf
35 }
36
37 src_configure() {
38 # Set things up for fish to be a default shell.
39 # It has to be in /bin in case /usr is unavailable.
40 # Also, all of its utilities have to be in /bin.
41 econf \
42 docdir="${EPREFIX}"/usr/share/doc/${PF} \
43 --without-xsel \
44 --bindir="${EPREFIX}"/bin
45 }
46
47 src_install() {
48 emake DESTDIR="${D}" install || die "make install failed"
49 }
50
51 pkg_postinst() {
52 elog
53 elog "To use ${PN} as your default shell, you need to add ${EPREFIX}/bin/${PN}"
54 elog "to ${EPREFIX}/etc/shells."
55 elog
56 ewarn "Many files moved to ${EROOT}usr/share/fish/completions from ${EROOT}etc/fish.d/."
57 ewarn "Delete everything in ${EROOT}etc/fish.d/ except fish_interactive.fish."
58 ewarn "Otherwise, fish won't notice updates to the installed files,"
59 ewarn "because the ones in /etc will override the new ones in /usr."
60 echo
61 }

  ViewVC Help
Powered by ViewVC 1.1.20