/[gentoo-alt]/trunk/overlay/app-text/docbook-xsl-stylesheets/docbook-xsl-stylesheets-1.68.1-r1.ebuild
Gentoo

Contents of /trunk/overlay/app-text/docbook-xsl-stylesheets/docbook-xsl-stylesheets-1.68.1-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 825 - (show annotations) (download)
Mon Oct 10 11:05:46 2005 UTC (8 years, 9 months ago) by flameeyes
File size: 1382 byte(s)
Added docbook-xsl-stylesheets without cp -a to make Gnome installable on Gentoo/FreeBSD.
1 # Copyright 1999-2005 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-text/docbook-xsl-stylesheets/docbook-xsl-stylesheets-1.68.1-r1.ebuild,v 1.10 2005/10/03 11:36:15 hardave Exp $
4
5 DESCRIPTION="XSL Stylesheets for Docbook"
6 HOMEPAGE="http://docbook.sourceforge.net/projects/xsl/index.html"
7 SRC_URI="mirror://sourceforge/docbook/docbook-xsl-${PV}.tar.bz2"
8
9 LICENSE="|| ( as-is BSD )"
10 SLOT="0"
11 KEYWORDS="alpha ~amd64 arm hppa ia64 mips ppc ppc64 s390 sparc x86"
12 IUSE=""
13
14 DEPEND="dev-libs/libxml2
15 >=app-text/build-docbook-catalog-1.1"
16
17 S=${WORKDIR}/docbook-xsl-${PV}
18
19 src_install() {
20 # Create the installation directory
21 DEST="/usr/share/sgml/docbook/xsl-stylesheets-${PV}"
22 dodir ${DEST}
23
24 # The list of stylesheets we want to install
25 local sheets="common eclipse extensions fo html htmlhelp images \
26 javahelp lib manpages params profiling \
27 template xhtml"
28
29 for i in ${sheets}; do
30 cd ${S}/${i}
31 for doc in ChangeLog README; do
32 if [ -e "$doc" ]; then
33 mv ${doc} ${doc}.${i}
34 dodoc ${doc}.${i}
35 rm ${doc}.${i}
36 fi
37 done
38
39 cd ${S}
40 cp -pRf ${i} ${D}/${DEST}
41 done
42
43 # Install the documentation
44 cd ${S}
45 dodoc BUGS README RELEASE-NOTES.txt TODO WhatsNew
46 dohtml -r doc/*
47 cp VERSION ${D}/${DEST}
48 }
49
50 pkg_postinst() {
51 build-docbook-catalog
52 }
53
54 pkg_postrm() {
55 build-docbook-catalog
56 }

  ViewVC Help
Powered by ViewVC 1.1.20