blob: bdafe1f184e9e4cd2ea5f1dca84e7d1da67c1e6f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-doc/zsh-lovers/zsh-lovers-0.8.3.ebuild,v 1.3 2011/12/15 09:56:23 ago Exp $
EAPI=4
DESCRIPTION="Tips, tricks and examples for the Z shell"
HOMEPAGE="http://grml.org/zsh/zsh-lovers.html"
SRC_URI="http://deb.grml.org/pool/main/z/${PN}/${PN}_${PV}.tar.gz"
LICENSE="GPL-2 as-is"
SLOT="0"
KEYWORDS="~alpha amd64 ~arm hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE=""
RDEPEND="
!<app-shells/zsh-4.3.12
"
DEPEND="${RDEPEND}
app-text/asciidoc
"
S=${WORKDIR}/${PN}
src_prepare() {
asciidoc zsh-lovers.1.txt || die
mv zsh-lovers.1.html zsh-lovers.html || die
a2x -f manpage zsh-lovers.1.txt || die
#a2x -f pdf zsh-lovers.1.txt || die
#mv zsh-lovers.1.pdf zsh-lovers.pdf || die
}
src_install() {
doman zsh-lovers.1
dohtml zsh-lovers.html
docinto zsh-lovers
dodoc zsh.vim README
insinto /usr/share/doc/${PF}/zsh-lovers
doins refcard.pdf
# doins zsh-lovers.{ps,pdf} refcard.{dvi,ps,pdf}
doins -r zsh_people
}
|