/[gentoo-x86]/dev-util/gtk-doc/gtk-doc-1.6-r1.ebuild
Gentoo

Contents of /dev-util/gtk-doc/gtk-doc-1.6-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.13 - (show annotations) (download)
Sun Mar 9 21:34:56 2008 UTC (6 years, 5 months ago) by leio
Branch: MAIN
CVS Tags: HEAD
Changes since 1.12: +1 -1 lines
FILE REMOVED
Early spring cleaning
(Portage version: 2.1.4.4)

1 # Copyright 1999-2007 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-util/gtk-doc/gtk-doc-1.6-r1.ebuild,v 1.12 2007/07/12 01:05:42 mr_bones_ Exp $
4
5 inherit eutils elisp-common gnome2
6
7 DESCRIPTION="GTK+ Documentation Generator"
8 HOMEPAGE="http://www.gtk.org/gtk-doc/"
9
10 LICENSE="GPL-2 FDL-1.1"
11 SLOT="0"
12 KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86"
13 IUSE="doc emacs"
14
15 RDEPEND=">=dev-lang/perl-5.6
16 >=app-text/openjade-1.3.1
17 dev-libs/libxslt
18 >=dev-libs/libxml2-2.3.6
19 ~app-text/docbook-xml-dtd-4.1.2
20 app-text/docbook-xsl-stylesheets
21 ~app-text/docbook-sgml-dtd-3.0
22 >=app-text/docbook-dsssl-stylesheets-1.40
23 emacs? ( virtual/emacs )"
24
25 DEPEND="${RDEPEND}
26 >=dev-util/pkgconfig-0.19
27 >=app-text/scrollkeeper-0.3.5"
28
29 SITEFILE="60gtk-doc-gentoo.el"
30
31 DOCS="AUTHORS ChangeLog MAINTAINERS NEWS README TODO"
32
33 src_unpack() {
34 gnome2_src_unpack
35
36 # Fix building of SGML manuals (bug #133825) and improve navigation header
37 # of XML manuals.
38 epatch "${FILESDIR}"/${P}-no_dupe_ids.patch
39 }
40
41 src_compile() {
42 gnome2_src_compile
43
44 use emacs && elisp-compile tools/gtk-doc.el
45 }
46
47 src_install() {
48 gnome2_src_install
49
50 if use doc; then
51 docinto doc
52 dodoc doc/*
53 docinto examples
54 dodoc examples/*
55 fi
56
57 if use emacs; then
58 elisp-install ${PN} tools/gtk-doc.el*
59 elisp-site-file-install ${FILESDIR}/${SITEFILE}
60 fi
61 }
62
63 pkg_postinst() {
64 use emacs && elisp-site-regen
65 }
66
67 pkg_postrm() {
68 use emacs && elisp-site-regen
69 }

  ViewVC Help
Powered by ViewVC 1.1.20