blob: cef09022319ab96d11f2e9ba03adc368d0e5a1dd (
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
|
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/asciidoc/asciidoc-6.0.3-r1.ebuild,v 1.5 2005/07/13 16:26:24 agriffis Exp $
inherit eutils
DESCRIPTION="AsciiDoc is a text document format for writing short documents,
articles, books and UNIX man pages."
HOMEPAGE="http://www.methods.co.nz/asciidoc/"
SRC_URI="http://www.methods.co.nz/asciidoc/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="alpha amd64 ia64 ~ppc x86"
IUSE=""
DEPEND="virtual/python"
src_unpack() {
unpack ${A}
cd ${S}
epatch ${FILESDIR}/${PN}-name.patch
}
src_install() {
newbin asciidoc.py asciidoc
insopts -m664
insinto /etc/${PN}
doins *.conf
doins -r filters
dodoc BUGS CHANGELOG COPYRIGHT README
dodir /usr/share/doc/${PF}/examples
cp -r ${S}/examples ${D}/usr/share/doc/${PF}
doman ${S}/doc/asciidoc.1
}
|