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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (hide annotations) (download)
Tue Aug 1 01:30:04 2006 UTC (12 years, 2 months ago) by leonardop
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
New release: 1.7 (bug #142346).
(Portage version: 2.1.1_pre4-r1)
 (Unsigned Manifest commit)

1 allanonjl 1.1 # Copyright 1999-2006 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 leonardop 1.3 # $Header: /var/cvsroot/gentoo-x86/dev-util/gtk-doc/gtk-doc-1.5.ebuild,v 1.2 2006/03/21 03:00:12 vapier Exp $
4 allanonjl 1.1
5     inherit elisp-common gnome2
6    
7     DESCRIPTION="GTK+ Documentation Generator"
8     HOMEPAGE="http://www.gtk.org/gtk-doc/"
9    
10     LICENSE="GPL-2"
11     SLOT="0"
12 vapier 1.2 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
13 allanonjl 1.1 IUSE="emacs"
14    
15     DEPEND=">=app-text/openjade-1.3.1
16     ~app-text/docbook-sgml-dtd-3.0
17     ~app-text/docbook-xml-dtd-4.1.2
18     app-text/docbook-xsl-stylesheets
19     >=app-text/docbook-dsssl-stylesheets-1.40
20     >=dev-lang/perl-5.6
21     >=dev-libs/libxml2-2.3.6
22     dev-libs/libxslt
23     emacs? ( virtual/emacs )"
24    
25     SITEFILE="60gtk-doc-gentoo.el"
26    
27     DOCS="AUTHORS ChangeLog MAINTAINERS NEWS README TODO"
28    
29     src_compile() {
30     gnome2_src_compile
31    
32     use emacs && elisp-compile tools/gtk-doc.el
33     }
34    
35     src_install() {
36     gnome2_src_install
37    
38     if use doc ; then
39     docinto doc
40     dodoc doc/*
41     docinto examples
42     dodoc examples/*
43     fi
44    
45     if use emacs; then
46     elisp-install ${PN} tools/gtk-doc.el*
47     elisp-site-file-install ${FILESDIR}/${SITEFILE}
48     fi
49     }
50    
51     pkg_postinst() {
52     use emacs && elisp-site-regen
53     }
54    
55     pkg_postrm() {
56     use emacs && elisp-site-regen
57     }

  ViewVC Help
Powered by ViewVC 1.1.20