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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Thu Mar 3 22:17:17 2011 UTC (3 years, 6 months ago) by pacho
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Version bump, remove old.

(Portage version: 2.1.9.42/cvs/Linux x86_64)

1 # Copyright 1999-2010 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.15-r1.ebuild,v 1.1 2010/09/02 12:36:59 pacho Exp $
4
5 EAPI="2"
6
7 inherit eutils elisp-common gnome2
8
9 DESCRIPTION="GTK+ Documentation Generator"
10 HOMEPAGE="http://www.gtk.org/gtk-doc/"
11
12 LICENSE="GPL-2 FDL-1.1"
13 SLOT="0"
14 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
15 IUSE="debug doc emacs test"
16
17 # dev-tex/tex4ht blocker needed due bug #315287
18 RDEPEND=">=dev-libs/glib-2.6
19 >=dev-lang/perl-5.6
20 >=app-text/openjade-1.3.1
21 dev-libs/libxslt
22 >=dev-libs/libxml2-2.3.6
23 ~app-text/docbook-xml-dtd-4.3
24 app-text/docbook-xsl-stylesheets
25 ~app-text/docbook-sgml-dtd-3.0
26 >=app-text/docbook-dsssl-stylesheets-1.40
27 emacs? ( virtual/emacs )
28 !!<dev-tex/tex4ht-20090611_p1038-r1"
29
30 DEPEND="${RDEPEND}
31 ~dev-util/gtk-doc-am-${PV}
32 >=dev-util/pkgconfig-0.19
33 >=app-text/scrollkeeper-0.3.14
34 >=app-text/gnome-doc-utils-0.3.2
35 test? ( app-text/scrollkeeper-dtd )"
36
37 SITEFILE=61${PN}-gentoo.el
38
39 DOCS="AUTHORS ChangeLog MAINTAINERS NEWS README TODO"
40
41 src_prepare() {
42 gnome2_src_prepare
43
44 # Remove global Emacs keybindings.
45 epatch "${FILESDIR}/${PN}-1.8-emacs-keybindings.patch"
46
47 # Fix bug 306569 by not loading vim plugins while calling vim in
48 # gtkdoc-fixxref for fixing vim syntax highlighting
49 # Also fix incompatibility with vim-7.3 (bug #333313)
50 epatch "${FILESDIR}/${P}-fixxref-vim-fixes.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 # Don't install those files, they are in gtk-doc-am now
63 rm "${D}"/usr/share/aclocal/gtk-doc.m4 || die "failed to remove gtk-doc.m4"
64 rm "${D}"/usr/bin/gtkdoc-rebase || die "failed to remove gtkdoc-rebase"
65
66 if use doc; then
67 docinto doc
68 dodoc doc/*
69 docinto examples
70 dodoc examples/*
71 fi
72
73 if use emacs; then
74 elisp-install ${PN} tools/gtk-doc.el*
75 elisp-site-file-install "${FILESDIR}/${SITEFILE}"
76 fi
77 }
78
79 pkg_postinst() {
80 if use emacs; then
81 elisp-site-regen
82 elog "gtk-doc does no longer define global key bindings for Emacs."
83 elog "You may set your own key bindings for \"gtk-doc-insert\" and"
84 elog "\"gtk-doc-insert-section\" in your ~/.emacs file."
85 fi
86 }
87
88 pkg_postrm() {
89 use emacs && elisp-site-regen
90 }

  ViewVC Help
Powered by ViewVC 1.1.20