summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Pielmeier <billie@gentoo.org>2009-12-19 16:57:36 +0000
committerDaniel Pielmeier <billie@gentoo.org>2009-12-19 16:57:36 +0000
commit735d48e53414c5efcdc49e97eac2d76ca707e90e (patch)
tree1264b45e023643a1edd87a40a195a534e22233e7 /app-text/wgetpaste
parentFix bug #294279, put --docdir unconditionnally in my_conf (due to example cod... (diff)
downloadgentoo-2-735d48e53414c5efcdc49e97eac2d76ca707e90e.tar.gz
gentoo-2-735d48e53414c5efcdc49e97eac2d76ca707e90e.tar.bz2
gentoo-2-735d48e53414c5efcdc49e97eac2d76ca707e90e.zip
Version bump. Remove old.
(Portage version: 2.1.6.13/cvs/Linux i686)
Diffstat (limited to 'app-text/wgetpaste')
-rw-r--r--app-text/wgetpaste/ChangeLog8
-rw-r--r--app-text/wgetpaste/wgetpaste-2.12.ebuild39
-rw-r--r--app-text/wgetpaste/wgetpaste-2.16.ebuild24
3 files changed, 31 insertions, 40 deletions
diff --git a/app-text/wgetpaste/ChangeLog b/app-text/wgetpaste/ChangeLog
index a3c4504b7da3..84bd1e43b825 100644
--- a/app-text/wgetpaste/ChangeLog
+++ b/app-text/wgetpaste/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-text/wgetpaste
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/wgetpaste/ChangeLog,v 1.96 2009/09/29 23:51:37 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/wgetpaste/ChangeLog,v 1.97 2009/12/19 16:57:36 billie Exp $
+
+*wgetpaste-2.16 (19 Dec 2009)
+
+ 19 Dec 2009; Daniel Pielmeier <billie@gentoo.org> -wgetpaste-2.12.ebuild,
+ +wgetpaste-2.16.ebuild:
+ Version bump. Remove old.
*wgetpaste-2.14 (29 Sep 2009)
diff --git a/app-text/wgetpaste/wgetpaste-2.12.ebuild b/app-text/wgetpaste/wgetpaste-2.12.ebuild
deleted file mode 100644
index 8021280fa9f5..000000000000
--- a/app-text/wgetpaste/wgetpaste-2.12.ebuild
+++ /dev/null
@@ -1,39 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/wgetpaste/wgetpaste-2.12.ebuild,v 1.8 2009/03/17 13:57:06 armin76 Exp $
-
-DESCRIPTION="Command-line interface to various pastebins"
-HOMEPAGE="http://wgetpaste.zlin.dk/"
-SRC_URI="http://wgetpaste.zlin.dk/${P}.bz2"
-
-LICENSE="as-is"
-SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd"
-IUSE=""
-
-DEPEND=""
-RDEPEND=""
-
-S=${WORKDIR}
-
-src_install() {
- newbin ${P} ${PN}
-}
-
-pkg_postinst() {
- local f oldfiles=()
- for f in "${ROOT}"etc/wgetpaste{,.d/*.bash}; do
- oldfiles+=("${f}")
- done
-
- if [[ -n ${oldfiles[@]} ]]; then
- ewarn "The config files for wgetpaste have changed to *.conf."
- ewarn
- for f in "${oldfiles[@]}"; do
- ewarn "Please move ${f} to ${f%.bash}.conf"
- done
- ewarn
- ewarn "Users with personal config files will need to do the same for"
- ewarn "~/.wgetpaste and ~/.wgetpaste.d/*.bash."
- fi
-}
diff --git a/app-text/wgetpaste/wgetpaste-2.16.ebuild b/app-text/wgetpaste/wgetpaste-2.16.ebuild
new file mode 100644
index 000000000000..5a9188bb193f
--- /dev/null
+++ b/app-text/wgetpaste/wgetpaste-2.16.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/wgetpaste/wgetpaste-2.16.ebuild,v 1.1 2009/12/19 16:57:36 billie Exp $
+
+DESCRIPTION="Command-line interface to various pastebins"
+HOMEPAGE="http://wgetpaste.zlin.dk/"
+SRC_URI="http://wgetpaste.zlin.dk/${P}.tar.bz2"
+
+LICENSE="public-domain"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
+IUSE="zsh-completion"
+
+DEPEND=""
+RDEPEND="net-misc/wget
+ zsh-completion? ( app-shells/zsh )"
+
+src_install() {
+ dobin ${PN} || die "Failed to install wgetpaste"
+ if use zsh-completion ; then
+ insinto /usr/share/zsh/site-functions
+ doins _wgetpaste || die "Failed to install zsh-completions"
+ fi
+}