summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndres Loeh <kosmikus@gentoo.org>2004-03-20 20:07:34 +0000
committerAndres Loeh <kosmikus@gentoo.org>2004-03-20 20:07:34 +0000
commit738f0c7030a6972711f0dee48afa27b78eb28a2e (patch)
tree67e5f9cf7ca123ab0320c2d57816c63a17a135a2 /dev-haskell
parentPatch that fixes doc generation with gtk-doc-1.2. Closes bug #45103. (Manifes... (diff)
downloadgentoo-2-738f0c7030a6972711f0dee48afa27b78eb28a2e.tar.gz
gentoo-2-738f0c7030a6972711f0dee48afa27b78eb28a2e.tar.bz2
gentoo-2-738f0c7030a6972711f0dee48afa27b78eb28a2e.zip
initial import of lhs2tex (bug #45010)
Diffstat (limited to 'dev-haskell')
-rw-r--r--dev-haskell/lhs2tex/ChangeLog10
-rw-r--r--dev-haskell/lhs2tex/Manifest2
-rw-r--r--dev-haskell/lhs2tex/files/digest-lhs2tex-1.91
-rw-r--r--dev-haskell/lhs2tex/lhs2tex-1.9.ebuild36
-rw-r--r--dev-haskell/lhs2tex/metadata.xml9
5 files changed, 58 insertions, 0 deletions
diff --git a/dev-haskell/lhs2tex/ChangeLog b/dev-haskell/lhs2tex/ChangeLog
new file mode 100644
index 000000000000..833c7b7f14f7
--- /dev/null
+++ b/dev-haskell/lhs2tex/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-haskell/lhs2tex
+# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-haskell/lhs2tex/ChangeLog,v 1.1 2004/03/20 20:07:34 kosmikus Exp $
+
+*lhs2tex-1.9 (20 Mar 2004)
+
+ 20 Mar 2004; Andres Loeh <kosmikus@gentoo.org> lhs2tex-1.9.ebuild,
+ metadata.xml:
+ Initial import. Package has been requested in bug #45010.
+
diff --git a/dev-haskell/lhs2tex/Manifest b/dev-haskell/lhs2tex/Manifest
new file mode 100644
index 000000000000..be61f0325e03
--- /dev/null
+++ b/dev-haskell/lhs2tex/Manifest
@@ -0,0 +1,2 @@
+MD5 251f378dddd3d649606f318a525dbaba lhs2tex-1.9.ebuild 1045
+MD5 e1cc548aeb7707cdab1fa7be50d8ab06 files/digest-lhs2tex-1.9 64
diff --git a/dev-haskell/lhs2tex/files/digest-lhs2tex-1.9 b/dev-haskell/lhs2tex/files/digest-lhs2tex-1.9
new file mode 100644
index 000000000000..4271d2553b8f
--- /dev/null
+++ b/dev-haskell/lhs2tex/files/digest-lhs2tex-1.9
@@ -0,0 +1 @@
+MD5 ebe14beaf842082e2e8c5f1d34195ea6 lhs2tex-1.9.tar.bz2 528746
diff --git a/dev-haskell/lhs2tex/lhs2tex-1.9.ebuild b/dev-haskell/lhs2tex/lhs2tex-1.9.ebuild
new file mode 100644
index 000000000000..667fb134230d
--- /dev/null
+++ b/dev-haskell/lhs2tex/lhs2tex-1.9.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-haskell/lhs2tex/lhs2tex-1.9.ebuild,v 1.1 2004/03/20 20:07:34 kosmikus Exp $
+
+SRC_URI="http://www.cs.uu.nl/~andres/lhs2tex/${P}.tar.bz2"
+
+IUSE="doc"
+
+DESCRIPTION="Preprocessor for typesetting Haskell sources with LaTeX"
+HOMEPAGE="http://www.cs.uu.nl/~andres/lhs2tex"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+
+DEPEND=">=dev-tex/polytable-0.7.2
+ >=virtual/ghc-5.04
+ doc? ( dev-lang/hugs98 )
+ virtual/tetex"
+
+src_compile() {
+ # polytable is installed separately
+ econf --disable-polytable
+ # if doc is set, we build the documentation instead
+ # of using the prebuilt file
+ use doc && rm doc/Guide2.dontbuild
+ # emake doesn't work because lhs2TeX interactive calls are
+ # broken
+ make || die "make failed"
+}
+
+src_install () {
+ DESTDIR="${D}" make install || die "installation failed"
+ dodoc doc/Guide2.pdf
+ dodoc INSTALL RELEASE
+}
diff --git a/dev-haskell/lhs2tex/metadata.xml b/dev-haskell/lhs2tex/metadata.xml
new file mode 100644
index 000000000000..7b1f81c5528a
--- /dev/null
+++ b/dev-haskell/lhs2tex/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>haskell</herd>
+ <maintainer>
+ <email>kosmikus@gentoo.org</email>
+ </maintainer>
+ <herd>text-markup</herd>
+</pkgmetadata>