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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.14 - (show annotations) (download)
Sun Mar 9 21:34:56 2008 UTC (6 years, 4 months ago) by leio
Branch: MAIN
CVS Tags: HEAD
Changes since 1.13: +1 -1 lines
FILE REMOVED
Early spring cleaning
(Portage version: 2.1.4.4)

1 # Copyright 1999-2006 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.4-r1.ebuild,v 1.13 2007/07/12 01:05:42 mr_bones_ Exp $
4
5 inherit elisp-common gnome.org
6
7 DESCRIPTION="GTK+ Documentation Generator"
8 HOMEPAGE="http://www.gtk.org/gtk-doc/"
9
10 LICENSE="GPL-2"
11 SLOT="0"
12 KEYWORDS="alpha amd64 arm hppa ia64 m68k mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd"
13 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 src_compile() {
28 econf || die "Configuration failed"
29 emake || die "Compilation failed"
30
31 use emacs && elisp-compile tools/gtk-doc.el
32 }
33
34 src_install() {
35 make DESTDIR=${D} install || die
36
37 dodoc AUTHORS ChangeLog MAINTAINERS NEWS README TODO
38 docinto doc
39 dodoc doc/*
40 docinto examples
41 dodoc examples/*
42
43 if use emacs; then
44 elisp-install ${PN} tools/gtk-doc.el*
45 elisp-site-file-install ${FILESDIR}/${SITEFILE}
46 fi
47 }
48
49 pkg_postinst() {
50 use emacs && elisp-site-regen
51 }
52
53 pkg_postrm() {
54 use emacs && elisp-site-regen
55 }

  ViewVC Help
Powered by ViewVC 1.1.20