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

Contents of /dev-util/gtk-doc/gtk-doc-1.8-r2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Mon May 4 00:29:10 2009 UTC (5 years, 6 months ago) by leio
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +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.8-r2.ebuild,v 1.4 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/pkgconfig-0.19
28 >=app-text/scrollkeeper-0.3.5
29 !dev-util/gtk-doc-am"
30
31 SITEFILE=61${PN}-gentoo.el
32
33 DOCS="AUTHORS ChangeLog MAINTAINERS NEWS README TODO"
34
35 src_unpack() {
36 gnome2_src_unpack
37
38 # Remove global Emacs keybindings.
39 epatch "${FILESDIR}"/${P}-emacs-keybindings.patch
40 }
41
42 src_compile() {
43 gnome2_src_compile
44
45 use emacs && elisp-compile tools/gtk-doc.el
46 }
47
48 src_install() {
49 gnome2_src_install
50
51 if use doc; then
52 docinto doc
53 dodoc doc/*
54 docinto examples
55 dodoc examples/*
56 fi
57
58 if use emacs; then
59 elisp-install ${PN} tools/gtk-doc.el*
60 elisp-site-file-install "${FILESDIR}/${SITEFILE}"
61 fi
62 }
63
64 pkg_postinst() {
65 if use emacs; then
66 elisp-site-regen
67 elog "gtk-doc does no longer define global key bindings for Emacs."
68 elog "You may set your own key bindings for \"gtk-doc-insert\" and"
69 elog "\"gtk-doc-insert-section\" in your ~/.emacs file."
70 fi
71 }
72
73 pkg_postrm() {
74 use emacs && elisp-site-regen
75 }

  ViewVC Help
Powered by ViewVC 1.1.20