blob: 9d047e0738912b0ef9eb9840a75b21cb5db2d721 (
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
|
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/texi2html/texi2html-1.76.ebuild,v 1.12 2006/11/12 05:37:39 vapier Exp $
DESCRIPTION="Perl script that converts Texinfo to HTML"
HOMEPAGE="https://texi2html.cvshome.org/"
SRC_URI="https://texi2html.cvshome.org/files/documents/70/758/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ~ppc-macos ppc64 s390 sparc x86 ~x86-fbsd"
IUSE=""
DEPEND=">=dev-lang/perl-5.6.1"
src_install() {
#yes, htmldir line is correct, no ${D}
make DESTDIR="${D}" \
htmldir=/usr/share/doc/${PF}/html \
install || die "Installation Failed"
dodoc AUTHORS ChangeLog INTRODUCTION NEWS README TODO
}
pkg_preinst() {
rm -f "${ROOT}"/usr/bin/texi2html
}
|