diff options
Diffstat (limited to 'dev-util/source-highlight/source-highlight-1.11.ebuild')
-rw-r--r-- | dev-util/source-highlight/source-highlight-1.11.ebuild | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/dev-util/source-highlight/source-highlight-1.11.ebuild b/dev-util/source-highlight/source-highlight-1.11.ebuild new file mode 100644 index 000000000000..2b47286a9442 --- /dev/null +++ b/dev-util/source-highlight/source-highlight-1.11.ebuild @@ -0,0 +1,42 @@ +# 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.11.ebuild,v 1.1 2004/10/09 23:31:57 ka0ttic Exp $ + +IUSE="" + +DESCRIPTION="Generate highlighted source code as an (x)html document" +HOMEPAGE="http://www.gnu.org/software/src-highlite/source-highlight.html" +SRC_URI="ftp://ftp.gnu.org/gnu/src-highlite/${P}.tar.gz" + +LICENSE="GPL-2" +KEYWORDS="x86 ~amd64 ~ppc" +SLOT="0" + +DEPEND="sys-apps/gawk + sys-apps/grep + sys-devel/bison + sys-devel/gcc + sys-devel/flex + virtual/libc" + +RDEPEND="virtual/libc" + +src_compile() { + econf || die + emake || die +} + +src_install () { + dodoc AUTHORS ChangeLog COPYING CREDITS INSTALL \ + NEWS README THANKS TODO.txt + + 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 +} |