summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Walker <ka0ttic@gentoo.org>2004-10-11 09:40:37 +0000
committerAaron Walker <ka0ttic@gentoo.org>2004-10-11 09:40:37 +0000
commitec1a89348b17ca400e3528ed05f1674aef98007c (patch)
treecbd717939b51ffbc26ab98f72883c39d6607a2ce /dev-util/source-highlight/source-highlight-1.11-r1.ebuild
parentFix ebuild header. (Manifest recommit) (diff)
downloadgentoo-2-ec1a89348b17ca400e3528ed05f1674aef98007c.tar.gz
gentoo-2-ec1a89348b17ca400e3528ed05f1674aef98007c.tar.bz2
gentoo-2-ec1a89348b17ca400e3528ed05f1674aef98007c.zip
Fixed keywords; install new lesspipe script.
Diffstat (limited to 'dev-util/source-highlight/source-highlight-1.11-r1.ebuild')
-rw-r--r--dev-util/source-highlight/source-highlight-1.11-r1.ebuild43
1 files changed, 43 insertions, 0 deletions
diff --git a/dev-util/source-highlight/source-highlight-1.11-r1.ebuild b/dev-util/source-highlight/source-highlight-1.11-r1.ebuild
new file mode 100644
index 000000000000..77f62ea777bc
--- /dev/null
+++ b/dev-util/source-highlight/source-highlight-1.11-r1.ebuild
@@ -0,0 +1,43 @@
+# 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-r1.ebuild,v 1.1 2004/10/11 09:40:37 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 || die
+
+ cd ${S}/src
+ dobin source-highlight cpp2html java2html source-highlight-cgi \
+ src-hilite-lesspipe.sh || die
+ dodir /usr/share/source-highlight
+ insinto /usr/share/source-highlight
+ doins tags.j2h tags2.j2h || die
+
+ cd ${S}/doc
+ dohtml *.html *.css *.java || die
+ doman source-highlight.1 || die
+}