diff options
Diffstat (limited to 'app-shells')
-rw-r--r-- | app-shells/bash/ChangeLog | 5 | ||||
-rw-r--r-- | app-shells/bash/bash-3.2_p39.ebuild | 18 |
2 files changed, 20 insertions, 3 deletions
diff --git a/app-shells/bash/ChangeLog b/app-shells/bash/ChangeLog index c46c7a5be62f..2ed65c1f7e99 100644 --- a/app-shells/bash/ChangeLog +++ b/app-shells/bash/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for app-shells/bash # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-shells/bash/ChangeLog,v 1.176 2008/05/06 19:06:34 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-shells/bash/ChangeLog,v 1.177 2008/05/17 09:02:36 dberkholz Exp $ + + 17 May 2008; Donnie Berkholz <dberkholz@gentoo.org>; bash-3.2_p39.ebuild: + (222211) Install examples with USE=examples. Approved by vapier. 06 May 2008; Mike Frysinger <vapier@gentoo.org> +files/autoconf-mktime-2.59.patch, bash-3.2_p39.ebuild: diff --git a/app-shells/bash/bash-3.2_p39.ebuild b/app-shells/bash/bash-3.2_p39.ebuild index 4e80812d4a00..2f0fc9835d9a 100644 --- a/app-shells/bash/bash-3.2_p39.ebuild +++ b/app-shells/bash/bash-3.2_p39.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-shells/bash/bash-3.2_p39.ebuild,v 1.2 2008/05/06 19:06:34 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-shells/bash/bash-3.2_p39.ebuild,v 1.3 2008/05/17 09:02:36 dberkholz Exp $ inherit eutils flag-o-matic toolchain-funcs multilib @@ -32,7 +32,7 @@ SRC_URI="mirror://gnu/bash/${MY_P}.tar.gz LICENSE="GPL-2" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd" -IUSE="afs bashlogger nls plugins vanilla" +IUSE="afs bashlogger examples nls plugins vanilla" DEPEND=">=sys-libs/ncurses-5.2-r2" RDEPEND="${DEPEND} @@ -152,6 +152,20 @@ src_install() { doexe $(echo examples/loadables/*.o | sed 's:\.o::g') || die fi + if use examples ; then + for d in examples/{functions,misc,scripts,scripts.noah,scripts.v2} ; do + exeinto /usr/share/doc/${PF}/${d} + insinto /usr/share/doc/${PF}/${d} + for f in ${d}/* ; do + if [[ ${f##*/} != PERMISSION ]] && [[ ${f##*/} != *README ]] ; then + doexe ${f} + else + doins ${f} + fi + done + done + fi + doman doc/*.1 dodoc README NEWS AUTHORS CHANGES COMPAT Y2K doc/FAQ doc/INTRO dosym bash.info /usr/share/info/bashref.info |