summaryrefslogtreecommitdiff
blob: 0a68a4ce5716e451267dbfd0bfc2f4ec48ad9aea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Achim Gottinger <achim@gentoo.org>
# $Header: /var/cvsroot/gentoo-x86/app-text/docbook-sgml-utils/docbook-sgml-utils-0.6.6.ebuild,v 1.2 2001/12/29 21:45:08 danarmak Exp $

A=docbook-utils-${PV}.tar.gz
S=${WORKDIR}/docbook-utils-${PV}
DESCRIPTION="Shell scripts to manage DocBook documents"
SRC_URI="ftp://ftp.kde.org/pub/kde/devel/docbook/SOURCES/${A}
	 http://download.sourceforge.net/pub/mirrors/kde/devel/docbook/SOURCES/${A}"
HOMEPAGE="http://"

DEPEND=">=sys-devel/perl-5"

src_compile() {

    ./configure --prefix=/usr --mandir=/usr/share/man --host=${CHOST} || die
    make || die

}

src_install () {

    try make prefix=${D}/usr mandir=${D}/usr/share/man install
    dodoc AUTHORS COPYING ChangeLog NEWS README TODO
    mv ${D}/usr/doc/html/docbook-utils-${PV} ${D}/usr/share/doc/${P}/html
    rm -r ${D}/usr/doc/
}