summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2010-10-03 21:31:13 +0000
committerTim Harder <radhermit@gentoo.org>2010-10-03 21:31:13 +0000
commita24a27d1141666a740e5fe57fede828d7aecaf12 (patch)
tree24fba96b8910162b9c3bb4246b9a4c6936e5e249 /app-misc/task
parentFix infinite recursion with ip invocation #339013 by Krzysztof Olędzki. (diff)
downloadgentoo-2-a24a27d1141666a740e5fe57fede828d7aecaf12.tar.gz
gentoo-2-a24a27d1141666a740e5fe57fede828d7aecaf12.tar.bz2
gentoo-2-a24a27d1141666a740e5fe57fede828d7aecaf12.zip
New package for bug #317867.
(Portage version: 2.2_rc88/cvs/Linux x86_64)
Diffstat (limited to 'app-misc/task')
-rw-r--r--app-misc/task/ChangeLog10
-rw-r--r--app-misc/task/metadata.xml9
-rw-r--r--app-misc/task/task-1.9.2.ebuild48
3 files changed, 67 insertions, 0 deletions
diff --git a/app-misc/task/ChangeLog b/app-misc/task/ChangeLog
new file mode 100644
index 000000000000..f95b14be51ce
--- /dev/null
+++ b/app-misc/task/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for app-misc/task
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/task/ChangeLog,v 1.1 2010/10/03 21:31:13 radhermit Exp $
+
+*task-1.9.2 (03 Oct 2010)
+
+ 03 Oct 2010; Tim Harder <radhermit@gentoo.org> +task-1.9.2.ebuild,
+ +metadata.xml:
+ New package for bug #317867.
+
diff --git a/app-misc/task/metadata.xml b/app-misc/task/metadata.xml
new file mode 100644
index 000000000000..2d36ae71f0de
--- /dev/null
+++ b/app-misc/task/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer>
+ <email>radhermit@gentoo.org</email>
+ <name>Tim Harder</name>
+</maintainer>
+</pkgmetadata>
diff --git a/app-misc/task/task-1.9.2.ebuild b/app-misc/task/task-1.9.2.ebuild
new file mode 100644
index 000000000000..05ab22dee0ec
--- /dev/null
+++ b/app-misc/task/task-1.9.2.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/task/task-1.9.2.ebuild,v 1.1 2010/10/03 21:31:13 radhermit Exp $
+
+EAPI=3
+
+DESCRIPTION="A task management tool with a command-line interface"
+HOMEPAGE="http://taskwarrior.org/projects/show/taskwarrior/"
+SRC_URI="http://www.taskwarrior.org/download/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="bash-completion debug lua +ncurses vim-syntax zsh-completion"
+
+DEPEND="lua? ( dev-lang/lua )
+ ncurses? ( sys-libs/ncurses )"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+ econf \
+ --docdir="/usr/share/doc/${PF}" \
+ $(use_enable debug ) \
+ $(use_with lua) \
+ $(use_with ncurses)
+}
+
+src_install() {
+ emake DESTDIR="${D}" \
+ bashscriptsdir="" vimscriptsdir="" zshscriptsdir="" \
+ install || die "emake install failed"
+
+ if use bash-completion ; then
+ insinto /usr/share/bash-completion
+ doins scripts/bash/*
+ 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
+}