Lines 2-8
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/opensp/opensp-1.5.2-r3.ebuild,v 1.12 2012/08/22 07:38:31 xmw Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/app-text/opensp/opensp-1.5.2-r3.ebuild,v 1.12 2012/08/22 07:38:31 xmw Exp $ |
4 |
|
4 |
|
5 |
EAPI=2 |
5 |
EAPI=4 |
6 |
inherit eutils flag-o-matic |
6 |
inherit eutils flag-o-matic |
7 |
|
7 |
|
8 |
MY_P=${P/opensp/OpenSP} |
8 |
MY_P=${P/opensp/OpenSP} |
Lines 12-18
Link Here
|
12 |
|
12 |
|
13 |
LICENSE="JamesClark" |
13 |
LICENSE="JamesClark" |
14 |
SLOT="0" |
14 |
SLOT="0" |
15 |
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd" |
15 |
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" |
16 |
IUSE="doc nls static-libs test" |
16 |
IUSE="doc nls static-libs test" |
17 |
|
17 |
|
18 |
DEPEND="nls? ( >=sys-devel/gettext-0.14.5 ) |
18 |
DEPEND="nls? ( >=sys-devel/gettext-0.14.5 ) |
Lines 47-62
Link Here
|
47 |
econf \ |
47 |
econf \ |
48 |
--disable-dependency-tracking \ |
48 |
--disable-dependency-tracking \ |
49 |
--enable-http \ |
49 |
--enable-http \ |
50 |
--enable-default-catalog=/etc/sgml/catalog \ |
50 |
--enable-default-catalog="${EPREFIX}"/etc/sgml/catalog \ |
51 |
--enable-default-search-path=/usr/share/sgml \ |
51 |
--enable-default-search-path="${EPREFIX}"/usr/share/sgml \ |
52 |
--datadir=/usr/share/sgml/${P} \ |
52 |
--datadir="${EPREFIX}"/usr/share/sgml/${P} \ |
53 |
$(use_enable nls) \ |
53 |
$(use_enable nls) \ |
54 |
$(use_enable doc doc-build) \ |
54 |
$(use_enable doc doc-build) \ |
55 |
$(use_enable static-libs static) |
55 |
$(use_enable static-libs static) |
56 |
} |
56 |
} |
57 |
|
57 |
|
58 |
src_compile() { |
58 |
src_compile() { |
59 |
emake pkgdocdir=/usr/share/doc/${PF} || die "Compilation failed" |
59 |
emake pkgdocdir="${EPREFIX}"/usr/share/doc/${PF} |
60 |
} |
60 |
} |
61 |
|
61 |
|
62 |
src_test() { |
62 |
src_test() { |
Lines 68-74
Link Here
|
68 |
|
68 |
|
69 |
src_install() { |
69 |
src_install() { |
70 |
emake DESTDIR="${D}" \ |
70 |
emake DESTDIR="${D}" \ |
71 |
pkgdocdir=/usr/share/doc/${PF} install || die "Installation failed" |
71 |
pkgdocdir="${EPREFIX}"/usr/share/doc/${PF} install |
72 |
|
72 |
|
73 |
dodoc AUTHORS BUGS ChangeLog NEWS README |
73 |
dodoc AUTHORS BUGS ChangeLog NEWS README |
74 |
} |
74 |
} |