summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Ullmann <jokey@gentoo.org>2010-04-11 15:48:27 +0000
committerMarkus Ullmann <jokey@gentoo.org>2010-04-11 15:48:27 +0000
commita69d32f8c671ffa681028a9bd3e12709a7501b93 (patch)
treeff9c4314c8e439e2e50b1728bcd6c7cce2d57559 /app-misc
parentVersion bump (diff)
downloadgentoo-2-a69d32f8c671ffa681028a9bd3e12709a7501b93.tar.gz
gentoo-2-a69d32f8c671ffa681028a9bd3e12709a7501b93.tar.bz2
gentoo-2-a69d32f8c671ffa681028a9bd3e12709a7501b93.zip
Version bump, fix #306543
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'app-misc')
-rw-r--r--app-misc/ytree/ChangeLog8
-rw-r--r--app-misc/ytree/files/ytree-1.94-bindir.patch11
-rw-r--r--app-misc/ytree/ytree-1.94.ebuild33
3 files changed, 51 insertions, 1 deletions
diff --git a/app-misc/ytree/ChangeLog b/app-misc/ytree/ChangeLog
index 9e7107ef75d8..2ddd01b9663f 100644
--- a/app-misc/ytree/ChangeLog
+++ b/app-misc/ytree/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-misc/ytree
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/ytree/ChangeLog,v 1.9 2010/02/23 16:29:15 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/ytree/ChangeLog,v 1.10 2010/04/11 15:48:22 jokey Exp $
+
+*ytree-1.94 (11 Apr 2010)
+
+ 11 Apr 2010; Markus Ullmann <jokey@gentoo.org> +ytree-1.94.ebuild,
+ +files/ytree-1.94-bindir.patch:
+ Version bump, fix #306543
*ytree-1.92-r2 (23 Feb 2010)
diff --git a/app-misc/ytree/files/ytree-1.94-bindir.patch b/app-misc/ytree/files/ytree-1.94-bindir.patch
new file mode 100644
index 000000000000..a79904e923b3
--- /dev/null
+++ b/app-misc/ytree/files/ytree-1.94-bindir.patch
@@ -0,0 +1,11 @@
+--- ./Makefile.orig 2010-04-11 17:44:57.511131862 +0200
++++ ./Makefile 2010-04-11 17:44:14.143178887 +0200
+@@ -225,6 +225,8 @@
+ $(CC) $(LFLAGS) -o $@ $(OBJS) $(LDFLAGS)
+
+ install: $(MAIN)
++ if [ ! -d $(BINDIR) ]; then mkdir -p $(BINDIR); fi
++ if [ ! -d $(MANDIR) ]; then mkdir -p $(MANDIR); fi
+ install $(MAIN) $(BINDIR)
+ gzip -9c ytree.1 > ytree.1.gz
+ if [ -d $(MANDIR) ]; then install -m 0644 ytree.1.gz $(MANDIR)/; fi
diff --git a/app-misc/ytree/ytree-1.94.ebuild b/app-misc/ytree/ytree-1.94.ebuild
new file mode 100644
index 000000000000..832d13870be7
--- /dev/null
+++ b/app-misc/ytree/ytree-1.94.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/ytree/ytree-1.94.ebuild,v 1.1 2010/04/11 15:48:22 jokey Exp $
+
+EAPI=2
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="A (curses-based) file manager"
+HOMEPAGE="http://www.han.de/~werner/ytree.html"
+SRC_URI="http://www.han.de/~werner/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+
+DEPEND="sys-libs/readline
+ sys-libs/ncurses"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-bindir.patch
+}
+
+pkg_setup() {
+ tc-export CC
+}
+
+src_install() {
+ emake DESTDIR=${D}usr install || die "emake install failed"
+ dodoc ytree.conf
+}