summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2012-08-01 06:55:57 +0000
committerTim Harder <radhermit@gentoo.org>2012-08-01 06:55:57 +0000
commit800aa360b0c9cc4bca59acf44d7e501d1ef224be (patch)
tree2bc959b146bda183baa37fc6f6b0dd3d8dcdd489 /app-misc
parentmarked x86 per bug 428878 (diff)
downloadgentoo-2-800aa360b0c9cc4bca59acf44d7e501d1ef224be.tar.gz
gentoo-2-800aa360b0c9cc4bca59acf44d7e501d1ef224be.tar.bz2
gentoo-2-800aa360b0c9cc4bca59acf44d7e501d1ef224be.zip
Version bump.
(Portage version: 2.2.0_alpha120/cvs/Linux x86_64)
Diffstat (limited to 'app-misc')
-rw-r--r--app-misc/task/ChangeLog7
-rw-r--r--app-misc/task/task-2.1.1.ebuild66
2 files changed, 72 insertions, 1 deletions
diff --git a/app-misc/task/ChangeLog b/app-misc/task/ChangeLog
index acce1b47adc7..72948eeb1d7b 100644
--- a/app-misc/task/ChangeLog
+++ b/app-misc/task/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-misc/task
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/task/ChangeLog,v 1.32 2012/03/18 04:19:01 radhermit Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/task/ChangeLog,v 1.33 2012/08/01 06:55:57 radhermit Exp $
+
+*task-2.1.1 (01 Aug 2012)
+
+ 01 Aug 2012; Tim Harder <radhermit@gentoo.org> +task-2.1.1.ebuild:
+ Version bump.
*task-2.0.0-r1 (18 Mar 2012)
diff --git a/app-misc/task/task-2.1.1.ebuild b/app-misc/task/task-2.1.1.ebuild
new file mode 100644
index 000000000000..b69ad0cb77e4
--- /dev/null
+++ b/app-misc/task/task-2.1.1.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/task/task-2.1.1.ebuild,v 1.1 2012/08/01 06:55:57 radhermit Exp $
+
+EAPI=4
+
+inherit eutils cmake-utils bash-completion-r1
+
+DESCRIPTION="A task management tool with a command-line interface"
+HOMEPAGE="http://taskwarrior.org/projects/show/taskwarrior/"
+SRC_URI="http://taskwarrior.org/download/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="lua vim-syntax zsh-completion"
+
+DEPEND="lua? ( dev-lang/lua )"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ # Use the correct directory locations
+ sed -i -e "s:/usr/local/share/doc/task/rc:/usr/share/task/rc:" \
+ doc/man/taskrc.5.in doc/man/task-tutorial.5.in doc/man/task-color.5.in || die
+ sed -i -e "s:/usr/local/bin:/usr/bin:" doc/man/task-faq.5.in scripts/add-ons/* || die
+
+ # Don't automatically install scripts
+ sed -i -e '/scripts/d' CMakeLists.txt || die
+
+ epatch "${FILESDIR}"/${PN}-2.0.0_beta4-rcdir.patch
+ epatch "${FILESDIR}"/${PN}-1.9.4-lua-automagic.patch
+}
+
+src_configure() {
+ mycmakeargs=(
+ $(cmake-utils_use_enable lua LUA)
+ -DTASK_DOCDIR=/usr/share/doc/${PF}
+ )
+
+ cmake-utils_src_configure
+}
+
+src_install() {
+ cmake-utils_src_install
+
+ newbashcomp scripts/bash/task.sh task
+
+ if use lua ; then
+ insinto /usr/share/${PN}/extensions
+ doins scripts/extensions/*
+ fi
+
+ if use vim-syntax ; then
+ rm scripts/vim/README
+ insinto /usr/share/vim/vimfiles
+ doins -r scripts/vim/*
+ fi
+
+ if use zsh-completion ; then
+ insinto /usr/share/zsh/site-functions
+ doins scripts/zsh/*
+ fi
+
+ exeinto /usr/share/${PN}/scripts
+ doexe scripts/add-ons/*
+}