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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.8 - (show annotations) (download)
Sun Aug 15 21:09:29 2010 UTC (4 years ago) by eva
Branch: MAIN
CVS Tags: HEAD
Changes since 1.7: +1 -1 lines
FILE REMOVED
Clean up old revision.
(Portage version: 2.2_rc67/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.10-r2.ebuild,v 1.7 2009/04/28 18:10:22 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 ~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 # Don't install the gnome/yelp help files (bug #224519)
48 sed -e "s/SUBDIRS = manual//" -i help/Makefile.in
49 }
50
51 src_compile() {
52 gnome2_src_compile
53
54 use emacs && elisp-compile tools/gtk-doc.el
55 }
56
57 src_install() {
58 gnome2_src_install
59
60 if use doc; then
61 docinto doc
62 dodoc doc/*
63 docinto examples
64 dodoc examples/*
65 fi
66
67 if use emacs; then
68 elisp-install ${PN} tools/gtk-doc.el*
69 elisp-site-file-install "${FILESDIR}/${SITEFILE}"
70 fi
71 }
72
73 pkg_postinst() {
74 if use emacs; then
75 elisp-site-regen
76 elog "gtk-doc does no longer define global key bindings for Emacs."
77 elog "You may set your own key bindings for \"gtk-doc-insert\" and"
78 elog "\"gtk-doc-insert-section\" in your ~/.emacs file."
79 fi
80 }
81
82 pkg_postrm() {
83 use emacs && elisp-site-regen
84 }

  ViewVC Help
Powered by ViewVC 1.1.20