Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 457596
Collapse All | Expand All

(-)/home/pacho/gentoo-x86/app-doc/devmanual/devmanual-9999.ebuild (-12 / +15 lines)
Lines 4-10 Link Here
4
4
5
EAPI=5
5
EAPI=5
6
6
7
inherit git-2
7
inherit git-2 readme.gentoo
8
8
9
DESCRIPTION="The Gentoo Development Guide"
9
DESCRIPTION="The Gentoo Development Guide"
10
HOMEPAGE="http://devmanual.gentoo.org/"
10
HOMEPAGE="http://devmanual.gentoo.org/"
Lines 20-39 Link Here
20
DEPEND="dev-libs/libxslt
20
DEPEND="dev-libs/libxslt
21
	media-gfx/imagemagick[truetype]"
21
	media-gfx/imagemagick[truetype]"
22
22
23
DOC_CONTENTS="In order to browse the Gentoo Development Guide in
24
	offline mode, point your browser to the following url:
25
	/usr/share/doc/devmanual-9999/html/index.html"
26
23
src_install() {
27
src_install() {
24
	dohtml -r *
28
	dohtml -r *
29
	readme.gentoo_create_doc
25
}
30
}
26
31
27
pkg_postinst() {
32
pkg_postinst() {
28
	elog
33
	readme.gentoo_print_elog
29
	elog "In order to browse the Gentoo Development Guide in"
34
	if ! has_version app-portage/eclass-manpages; then
30
	elog "offline mode, point your browser to the following url:"
35
		elog "The offline version of the devmanual does not include the"
31
	elog "/usr/share/doc/devmanual-9999/html/index.html"
36
		elog "documentation for the eclasses. If you need it, then emerge"
32
	elog
37
		elog "the following package:"
33
	elog "The offline version of the devmanual does not include the"
38
		elog
34
	elog "documentation for the eclasses. If you need it, then emerge"
39
		elog "app-portage/eclass-manpages"
35
	elog "the following package:"
40
		elog
36
	elog
41
	fi
37
	elog "app-portage/eclass-manpages"
38
	elog
39
}
42
}

Return to bug 457596