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

Contents of /dev-util/gtk-doc/gtk-doc-1.11.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.10 - (show annotations) (download)
Sun Nov 14 15:40:27 2010 UTC (4 years ago) by eva
Branch: MAIN
CVS Tags: HEAD
Changes since 1.9: +1 -1 lines
FILE REMOVED
Fix automagic highlighting program detection, bug #334489. Handle multi-slot python. Clean up old revisions.

(Portage version: 2.2.0_alpha4/cvs/Linux x86_64)

1 # Copyright 1999-2009 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.11.ebuild,v 1.9 2009/10/26 17:58:47 armin76 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 ~sparc-fbsd ~x86-fbsd"
13 IUSE="debug doc emacs"
14
15 RDEPEND=">=dev-libs/glib-2.6
16 >=dev-lang/perl-5.6
17 >=app-text/openjade-1.3.1
18 dev-libs/libxslt
19 >=dev-libs/libxml2-2.3.6
20 ~app-text/docbook-xml-dtd-4.3
21 app-text/docbook-xsl-stylesheets
22 ~app-text/docbook-sgml-dtd-3.0
23 >=app-text/docbook-dsssl-stylesheets-1.40
24 emacs? ( virtual/emacs )"
25
26 DEPEND="${RDEPEND}
27 ~dev-util/gtk-doc-am-${PV}
28 >=dev-util/pkgconfig-0.19
29 >=app-text/scrollkeeper-0.3.14
30 >=app-text/gnome-doc-utils-0.3.2"
31
32 SITEFILE=61${PN}-gentoo.el
33
34 DOCS="AUTHORS ChangeLog MAINTAINERS NEWS README TODO"
35
36 src_unpack() {
37 gnome2_src_unpack
38
39 # Remove global Emacs keybindings.
40 epatch "${FILESDIR}/${PN}-1.8-emacs-keybindings.patch"
41
42 # Don't install gtk-doc.m4; it's in gtk-doc-am now
43 epatch "${FILESDIR}/${PN}-1.10-no-m4.patch"
44
45 # Fix index-id generation for child and style properties. Upstream #562064
46 epatch "${FILESDIR}/${P}-fix-index-id-gen.patch"
47 # Upstream test run fixes when no gtk-doc installed yet
48 epatch "${FILESDIR}/${P}-tests-fixes.patch"
49 # Upstream patch for fixing quoting of filenames with spaces, bug #263372
50 epatch "${FILESDIR}/${P}-quote-filenames-with-space.patch"
51 }
52
53 src_compile() {
54 gnome2_src_compile
55
56 use emacs && elisp-compile tools/gtk-doc.el
57 }
58
59 src_install() {
60 gnome2_src_install
61
62 if use doc; then
63 docinto doc
64 dodoc doc/*
65 docinto examples
66 dodoc examples/*
67 fi
68
69 if use emacs; then
70 elisp-install ${PN} tools/gtk-doc.el*
71 elisp-site-file-install "${FILESDIR}/${SITEFILE}"
72 fi
73 }
74
75 pkg_postinst() {
76 if use emacs; then
77 elisp-site-regen
78 elog "gtk-doc does no longer define global key bindings for Emacs."
79 elog "You may set your own key bindings for \"gtk-doc-insert\" and"
80 elog "\"gtk-doc-insert-section\" in your ~/.emacs file."
81 fi
82 }
83
84 pkg_postrm() {
85 use emacs && elisp-site-regen
86 }

  ViewVC Help
Powered by ViewVC 1.1.20