blob: 107ceaa24b1008b154e5f5e45d65294c4ddab6bc (
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
30
31
32
33
34
35
36
37
38
|
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/source-highlight/source-highlight-1.7.ebuild,v 1.5 2004/07/02 05:13:36 eradicator Exp $
IUSE=""
DESCRIPTION="Generate highlighted source code as an (x)html document"
SRC_URI="ftp://ftp.gnu.org/gnu/source-highlight/${P}.tar.gz"
HOMEPAGE="http://www.gnu.org/software/src-highlite/source-highlight.html"
LICENSE="GPL-2"
KEYWORDS="x86 amd64"
SLOT="0"
DEPEND="virtual/libc"
S="${WORKDIR}/${P}"
src_compile() {
econf || die
emake || die
}
src_install () {
cd ${S}/src
dobin source-highlight cpp2html java2html source-highlight-cgi
dodir /usr/share/source-highlight
insinto /usr/share/source-highlight
doins tags.j2h tags2.j2h
cd ${S}/doc
dohtml *.html *.css *.java
doman source-highlight.1
dodoc AUTHORS ChangeLog COPYING CREDITS INSTALL \
NEWS README THANKS TODO.txt
}
|