diff options
author | 2014-03-26 16:01:56 +0000 | |
---|---|---|
committer | 2014-03-26 16:01:56 +0000 | |
commit | e8afcbf141bf58aebd5c432edfef24df0d02e939 (patch) | |
tree | 3a8dc62c62d52d77bbe59877e70f505ad11d887b /app-admin/xstow | |
parent | Stable for HPPA (bug #502608). (diff) | |
download | gentoo-2-e8afcbf141bf58aebd5c432edfef24df0d02e939.tar.gz gentoo-2-e8afcbf141bf58aebd5c432edfef24df0d02e939.tar.bz2 gentoo-2-e8afcbf141bf58aebd5c432edfef24df0d02e939.zip |
Add MANPATH to /etc/env.d/99xstow, bug #505322. Thanks to Erik Falor.
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key F8DBDADE)
Diffstat (limited to 'app-admin/xstow')
-rw-r--r-- | app-admin/xstow/ChangeLog | 10 | ||||
-rw-r--r-- | app-admin/xstow/files/99xstow | 1 | ||||
-rw-r--r-- | app-admin/xstow/xstow-1.0.1.ebuild | 48 |
3 files changed, 57 insertions, 2 deletions
diff --git a/app-admin/xstow/ChangeLog b/app-admin/xstow/ChangeLog index 3824f8dc90a9..73040d5e65f8 100644 --- a/app-admin/xstow/ChangeLog +++ b/app-admin/xstow/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-admin/xstow -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/xstow/ChangeLog,v 1.16 2013/05/10 06:11:33 patrick Exp $ +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-admin/xstow/ChangeLog,v 1.17 2014/03/26 16:01:56 maksbotan Exp $ + +*xstow-1.0.1 (26 Mar 2014) + + 26 Mar 2014; Maxim Koltsov <maksbotan@gentoo.org> +xstow-1.0.1.ebuild, + files/99xstow: + Add MANPATH to /etc/env.d/99xstow, bug #505322. Thanks to Erik Falor. 10 May 2013; Patrick Lauer <patrick@gentoo.org> xstow-0.5.1.ebuild, xstow-1.0.0-r1.ebuild, xstow-1.0.0.ebuild: diff --git a/app-admin/xstow/files/99xstow b/app-admin/xstow/files/99xstow index 2edcda2d8519..07625f392537 100644 --- a/app-admin/xstow/files/99xstow +++ b/app-admin/xstow/files/99xstow @@ -1,2 +1,3 @@ LDPATH=/var/lib/lib PATH=/var/lib/bin +MANPATH=/var/lib/share/man diff --git a/app-admin/xstow/xstow-1.0.1.ebuild b/app-admin/xstow/xstow-1.0.1.ebuild new file mode 100644 index 000000000000..0355059f462e --- /dev/null +++ b/app-admin/xstow/xstow-1.0.1.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-admin/xstow/xstow-1.0.1.ebuild,v 1.1 2014/03/26 16:01:56 maksbotan Exp $ + +EAPI=5 + +inherit eutils + +DESCRIPTION="replacement for GNU stow with extensions" +HOMEPAGE="http://xstow.sourceforge.net/" +SRC_URI="mirror://sourceforge/xstow/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="ncurses static" + +DEPEND="ncurses? ( sys-libs/ncurses )" +RDEPEND="${DEPEND}" + +src_compile() { + econf --disable-dependency-tracking\ + $(use_with ncurses curses)\ + $(use_enable static) + emake || die "emake failed." +} + +src_install() { + emake DESTDIR="${D}" docdir="/usr/share/doc/${PF}/html" \ + install || die "emake install failed." + dodoc AUTHORS ChangeLog NEWS README TODO + + # create new STOWDIR + dodir /var/lib/xstow + + # install env.d file to add STOWDIR to PATH and LDPATH + doenvd "${FILESDIR}/99xstow" || die "doenvd failed" +} + +pkg_postinst() { + elog "We now recommend that you use /var/lib/xstow as your STOWDIR" + elog "instead of /usr/local in order to avoid conflicts with the" + elog "symlink from /usr/lib64 -> /usr/lib. See Bug 246264" + elog "(regarding app-admin/stow, equally applicable to XStow) for" + elog "more details on this change." + elog "For your convenience, PATH has been updated to include" + elog "/var/lib/bin." +} |