summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTiziano Müller <dev-zero@gentoo.org>2014-09-10 06:05:40 +0000
committerTiziano Müller <dev-zero@gentoo.org>2014-09-10 06:05:40 +0000
commitbf1eb5256286ffd97ac3c91d6c266cf053563d62 (patch)
tree5d11ec16069be7d18cba87b95679ddf589db999a /dev-vcs/vcsh
parentSplit src_prepare out of src_unpack #473728 by Benda Xu. (diff)
downloadgentoo-2-bf1eb5256286ffd97ac3c91d6c266cf053563d62.tar.gz
gentoo-2-bf1eb5256286ffd97ac3c91d6c266cf053563d62.tar.bz2
gentoo-2-bf1eb5256286ffd97ac3c91d6c266cf053563d62.zip
Use tarball with prebuilt manpage instead.
(Portage version: 2.2.12/cvs/Linux x86_64, signed Manifest commit with key 0x1A5D023975B0583D!)
Diffstat (limited to 'dev-vcs/vcsh')
-rw-r--r--dev-vcs/vcsh/ChangeLog8
-rw-r--r--dev-vcs/vcsh/vcsh-1.20140508-r1.ebuild33
-rw-r--r--dev-vcs/vcsh/vcsh-1.20140508-r2.ebuild34
3 files changed, 41 insertions, 34 deletions
diff --git a/dev-vcs/vcsh/ChangeLog b/dev-vcs/vcsh/ChangeLog
index b8e01163b2cd..71b914ea08ae 100644
--- a/dev-vcs/vcsh/ChangeLog
+++ b/dev-vcs/vcsh/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-vcs/vcsh
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-vcs/vcsh/ChangeLog,v 1.9 2014/09/09 15:10:40 dev-zero Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-vcs/vcsh/ChangeLog,v 1.10 2014/09/10 06:05:40 dev-zero Exp $
+
+*vcsh-1.20140508-r2 (10 Sep 2014)
+
+ 10 Sep 2014; Tiziano Müller <dev-zero@gentoo.org> +vcsh-1.20140508-r2.ebuild,
+ -vcsh-1.20140508-r1.ebuild:
+ Use tarball with prebuilt manpage instead.
*vcsh-1.20140508-r1 (09 Sep 2014)
diff --git a/dev-vcs/vcsh/vcsh-1.20140508-r1.ebuild b/dev-vcs/vcsh/vcsh-1.20140508-r1.ebuild
deleted file mode 100644
index 3c630d003980..000000000000
--- a/dev-vcs/vcsh/vcsh-1.20140508-r1.ebuild
+++ /dev/null
@@ -1,33 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-vcs/vcsh/vcsh-1.20140508-r1.ebuild,v 1.1 2014/09/09 15:10:40 dev-zero Exp $
-
-EAPI=5
-
-DESCRIPTION='Manage config files in $HOME via fake bare git repositories'
-HOMEPAGE="https://github.com/RichiH/vcsh/"
-SRC_URI="http://github.com/RichiH/vcsh/archive/v${PV}-1.tar.gz -> ${P}.tar.gz"
-
-LICENSE="|| ( GPL-3 GPL-2 )"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="doc"
-
-RDEPEND="dev-vcs/git"
-DEPEND="doc? ( app-text/ronn )"
-
-S=${S}-1
-
-src_compile() {
- use doc && emake manpages
-}
-
-src_install() {
- dobin vcsh
-
- dodoc -r changelog CONTRIBUTORS README.md doc/{hooks,sample_hooks}
- insinto /usr/share/zsh/site-functions
- doins _vcsh
-
- use doc && doman vcsh.1
-}
diff --git a/dev-vcs/vcsh/vcsh-1.20140508-r2.ebuild b/dev-vcs/vcsh/vcsh-1.20140508-r2.ebuild
new file mode 100644
index 000000000000..db67b3e8ccc7
--- /dev/null
+++ b/dev-vcs/vcsh/vcsh-1.20140508-r2.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-vcs/vcsh/vcsh-1.20140508-r2.ebuild,v 1.1 2014/09/10 06:05:40 dev-zero Exp $
+
+EAPI=5
+
+DESCRIPTION='Manage config files in $HOME via fake bare git repositories'
+HOMEPAGE="https://github.com/RichiH/vcsh/"
+SRC_URI="http://github.com/RichiH/vcsh/archive/v${PV}-manpage-static.tar.gz -> ${P}-manpage-static.tar.gz"
+
+LICENSE="|| ( GPL-3 GPL-2 )"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="dev-vcs/git"
+DEPEND=""
+
+DOCS=( changelog README.md CONTRIBUTORS )
+
+S=${S}-manpage-static
+
+src_prepare() {
+ default
+ sed -i \
+ -e 's,vendor-completions,site-functions,' \
+ -e "s,\(\$(DOCDIR_PREFIX)\)/\$(self),\1/${PF}," \
+ Makefile || die
+}
+
+src_install() {
+ default
+ dodoc -r doc/sample_hooks
+}