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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.8 - (show annotations) (download)
Mon May 4 00:29:10 2009 UTC (5 years, 5 months ago) by leio
Branch: MAIN
CVS Tags: HEAD
Changes since 1.7: +1 -1 lines
FILE REMOVED
New version with various bug fixes and improvements. User documentation is installed again, viewable with yelp. Remove old versions
(Portage version: 2.2_rc22/cvs/Linux 2.6.29-gentoo-r2 x86_64)

1 # Copyright 1999-2008 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.10-r1.ebuild,v 1.7 2008/06/15 22:21:12 eva 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 ~sparc-fbsd x86 ~x86-fbsd"
13 IUSE="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.1.2
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.5"
30
31 SITEFILE=61${PN}-gentoo.el
32
33 DOCS="AUTHORS ChangeLog MAINTAINERS NEWS README TODO"
34
35 # Revisit this in next version. Might be related to upstream bug 521784 and/or 485806
36 RESTRICT="test"
37
38 src_unpack() {
39 gnome2_src_unpack
40
41 # Remove global Emacs keybindings.
42 epatch "${FILESDIR}"/${PN}-1.8-emacs-keybindings.patch
43
44 # Don't install gtk-doc.m4; it's in gtk-doc-am now
45 epatch "${FILESDIR}"/${PN}-1.10-no-m4.patch
46 }
47
48 src_compile() {
49 gnome2_src_compile
50
51 use emacs && elisp-compile tools/gtk-doc.el
52 }
53
54 src_install() {
55 gnome2_src_install
56
57 if use doc; then
58 docinto doc
59 dodoc doc/*
60 docinto examples
61 dodoc examples/*
62 fi
63
64 if use emacs; then
65 elisp-install ${PN} tools/gtk-doc.el*
66 elisp-site-file-install "${FILESDIR}/${SITEFILE}"
67 fi
68 }
69
70 pkg_postinst() {
71 if use emacs; then
72 elisp-site-regen
73 elog "gtk-doc does no longer define global key bindings for Emacs."
74 elog "You may set your own key bindings for \"gtk-doc-insert\" and"
75 elog "\"gtk-doc-insert-section\" in your ~/.emacs file."
76 fi
77 }
78
79 pkg_postrm() {
80 use emacs && elisp-site-regen
81 }

  ViewVC Help
Powered by ViewVC 1.1.20