Lines 1-7
Link Here
|
1 |
# Copyright 1999-2008 Gentoo Foundation |
1 |
# Copyright 1999-2010 Gentoo Foundation |
2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# $Header: /var/cvsroot/gentoo-x86/app-text/asciidoc/asciidoc-8.2.6.ebuild,v 1.8 2008/12/07 11:45:39 vapier Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/app-text/asciidoc/asciidoc-8.2.6.ebuild,v 1.8 2008/12/07 11:45:39 vapier Exp $ |
4 |
|
4 |
|
|
|
5 |
EAPI="3" |
6 |
|
7 |
PYTHON_DEPEND="2:2.4" |
8 |
inherit python |
9 |
|
5 |
DESCRIPTION="A text document format for writing short documents, articles, books and UNIX man pages" |
10 |
DESCRIPTION="A text document format for writing short documents, articles, books and UNIX man pages" |
6 |
HOMEPAGE="http://www.methods.co.nz/asciidoc/" |
11 |
HOMEPAGE="http://www.methods.co.nz/asciidoc/" |
7 |
SRC_URI="http://www.methods.co.nz/${PN}/${P}.tar.gz" |
12 |
SRC_URI="http://www.methods.co.nz/${PN}/${P}.tar.gz" |
Lines 11-22
SLOT="0"
Link Here
|
11 |
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd" |
16 |
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd" |
12 |
IUSE="examples vim-syntax" |
17 |
IUSE="examples vim-syntax" |
13 |
|
18 |
|
14 |
DEPEND=">=virtual/python-2.3 |
19 |
DEPEND="dev-libs/libxslt" |
15 |
dev-libs/libxslt" |
|
|
16 |
|
20 |
|
17 |
src_unpack() { |
21 |
pkg_setup() { |
18 |
unpack ${A} |
22 |
python_set_active_version 2 |
|
|
23 |
} |
19 |
|
24 |
|
|
|
25 |
src_prepare() { |
26 |
python_convert_shebangs -r 2 . |
20 |
sed -i \ |
27 |
sed -i \ |
21 |
-e "s:^BINDIR=.*:BINDIR=${D}usr/bin:" \ |
28 |
-e "s:^BINDIR=.*:BINDIR=${D}usr/bin:" \ |
22 |
-e "s:^MANDIR=.*:MANDIR=${D}usr/share/man:" \ |
29 |
-e "s:^MANDIR=.*:MANDIR=${D}usr/share/man:" \ |