Lines 2-7
Link Here
|
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/sgmltools-lite/sgmltools-lite-3.0.3-r10.ebuild,v 1.13 2008/09/02 22:42:56 opfer Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/app-text/sgmltools-lite/sgmltools-lite-3.0.3-r10.ebuild,v 1.13 2008/09/02 22:42:56 opfer Exp $ |
4 |
|
4 |
|
|
|
5 |
EAPI=3 |
6 |
|
7 |
PYTHON_DEPEND="2:2.4" |
5 |
inherit python sgml-catalog |
8 |
inherit python sgml-catalog |
6 |
|
9 |
|
7 |
DESCRIPTION="Python interface to SGML software in a DocBook/OpenJade env" |
10 |
DESCRIPTION="Python interface to SGML software in a DocBook/OpenJade env" |
Lines 14-21
SLOT="0"
Link Here
|
14 |
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86" |
17 |
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86" |
15 |
IUSE="jadetex" |
18 |
IUSE="jadetex" |
16 |
|
19 |
|
17 |
DEPEND=">=virtual/python-1.5 |
20 |
DEPEND="app-text/sgml-common |
18 |
app-text/sgml-common |
|
|
19 |
~app-text/docbook-sgml-dtd-3.1 |
21 |
~app-text/docbook-sgml-dtd-3.1 |
20 |
app-text/docbook-dsssl-stylesheets |
22 |
app-text/docbook-dsssl-stylesheets |
21 |
app-text/openjade |
23 |
app-text/openjade |
Lines 27-45
DEPEND=">=virtual/python-1.5
Link Here
|
27 |
sgml-catalog_cat_include "/etc/sgml/sgml-lite.cat" \ |
29 |
sgml-catalog_cat_include "/etc/sgml/sgml-lite.cat" \ |
28 |
"/usr/share/sgml/stylesheets/sgmltools/sgmltools.cat" |
30 |
"/usr/share/sgml/stylesheets/sgmltools/sgmltools.cat" |
29 |
|
31 |
|
30 |
src_unpack() { |
32 |
pkg_setup() { |
31 |
unpack ${A} |
33 |
python_set_active_version 2 |
32 |
cd "${S}" |
34 |
} |
33 |
|
35 |
|
|
|
36 |
src_prepare() { |
34 |
# Remove CVS directories from the tree |
37 |
# Remove CVS directories from the tree |
35 |
find . -name CVS | xargs rm -rf |
38 |
find . -name CVS | xargs rm -rf |
36 |
} |
39 |
} |
37 |
|
40 |
|
38 |
src_compile() { |
|
|
39 |
econf || die |
40 |
emake || die |
41 |
} |
42 |
|
43 |
src_install() { |
41 |
src_install() { |
44 |
einstall etcdir="${D}"/etc/sgml || die |
42 |
einstall etcdir="${D}"/etc/sgml || die |
45 |
|
43 |
|