summaryrefslogtreecommitdiff
path: root/dev-haskell/lhs2tex
diff options
context:
space:
mode:
Diffstat (limited to 'dev-haskell/lhs2tex')
-rw-r--r--dev-haskell/lhs2tex/Manifest6
-rw-r--r--dev-haskell/lhs2tex/files/lhs2tex-1.18.1-mandir.patch11
-rw-r--r--dev-haskell/lhs2tex/lhs2tex-1.18.1-r1.ebuild33
-rw-r--r--dev-haskell/lhs2tex/lhs2tex-1.19-r1.ebuild33
-rw-r--r--dev-haskell/lhs2tex/metadata.xml12
5 files changed, 95 insertions, 0 deletions
diff --git a/dev-haskell/lhs2tex/Manifest b/dev-haskell/lhs2tex/Manifest
new file mode 100644
index 000000000000..e846eb6f527e
--- /dev/null
+++ b/dev-haskell/lhs2tex/Manifest
@@ -0,0 +1,6 @@
+AUX lhs2tex-1.18.1-mandir.patch 790 BLAKE2B b0de9a0630e6801c48484a172555cc29c9db2cd7df86a10c2cbf6479beeab338685428ecb4050029125d212d5406f4918e6ef901deb658aa8f7e2441f1cc3396 SHA512 2d97ce0015e9844f1b8954ae658807116293ebea07e12d3a8553c48c515e02625b6390c6640ae17e68394a00d908a821783fa5a063a7e6ad10a80f436f73c4ae
+DIST lhs2tex-1.18.1.tar.gz 661053 BLAKE2B 64dbefde30d3a6a00c47d5b3397b6f7b4cb44bdf272768ed84f66db1d3e99e95df99f16e537d3959ef0566424151a44fdd70e975ac156abd2a5907bed8044520 SHA512 c44b4c5972b833ae41921d86e13c71ea60ac876a9996fb9a4e8d69ba25d000bbddb85f82d223b8a73381e3a4453c2757154a866fbbb48473f121dd88efb917d7
+DIST lhs2tex-1.19.tar.gz 658353 BLAKE2B 2a6d0ca1bc23fce29579d1f020ad9db178801177d1b0c171771d24470bf604359b85f5afab6aacc6a566fecca1d0edd26ddb01d97d8e9bc3c8bc98e042d47690 SHA512 63d4cb626c14dccc6e0989b358299078427d0c22ab726fd3d933bfef3b0d072a35113d132c87b61b7b8ac2c259c856e192d04e04d3eb744b958fc0df54c80abf
+EBUILD lhs2tex-1.18.1-r1.ebuild 921 BLAKE2B 009f9bbf623b8f345da7ee798c58e3d930e5d7d40e5965efb3c0897b2d9f9e77571c0306e6ab889fa45664d34f0319aa837fc5f4612748e3bfa29bafc716d19d SHA512 a5599202decf9f9b90808689601224bb8821720d4a9cb29edc4e11a706d7fcb2dbebbf9f5946c245e456243af3c876eae738de64b68537c026f8aa207073cbe5
+EBUILD lhs2tex-1.19-r1.ebuild 921 BLAKE2B 009f9bbf623b8f345da7ee798c58e3d930e5d7d40e5965efb3c0897b2d9f9e77571c0306e6ab889fa45664d34f0319aa837fc5f4612748e3bfa29bafc716d19d SHA512 a5599202decf9f9b90808689601224bb8821720d4a9cb29edc4e11a706d7fcb2dbebbf9f5946c245e456243af3c876eae738de64b68537c026f8aa207073cbe5
+MISC metadata.xml 358 BLAKE2B 3f5e83a9b333d6c597ffa57ca34c74186b48789ca4fbfb10087d31740e53ec215052d9a10b659d5f7006641a34fb47d83179f93b1eba92fa19514a238a38ae88 SHA512 dbc254e5e7925c09f99e64a91fba2f8f63d4b7a12c41a5c13bf315352885f24058cec0becc6e25e98153d2a82f49772f4bc61d1cb21ae5e9ad061b58771fb7fb
diff --git a/dev-haskell/lhs2tex/files/lhs2tex-1.18.1-mandir.patch b/dev-haskell/lhs2tex/files/lhs2tex-1.18.1-mandir.patch
new file mode 100644
index 000000000000..1a3c922723e1
--- /dev/null
+++ b/dev-haskell/lhs2tex/files/lhs2tex-1.18.1-mandir.patch
@@ -0,0 +1,11 @@
+--- Setup.hs.orig 2014-11-03 00:57:44.033467328 +0530
++++ Setup.hs 2014-11-03 00:58:05.775218672 +0530
+@@ -205,7 +205,7 @@
+ else docdir (absoluteInstallDirs pd lbi cd) `joinFileName` "doc"
+ let manDir = if isWindows
+ then dataPref `joinFileName` "Documentation"
+- else datadir (absoluteInstallDirs pd lbi cd) `joinFileName` ".." `joinFileName` "man" `joinFileName` "man1"
++ else datadir (absoluteInstallDirs pd lbi cd) `joinFileName` ".." `joinFileName` ".." `joinFileName` "man" `joinFileName` "man1"
+ createDirectoryIfMissing True docDir
+ installOrdinaryFile v (lhs2texDocDir `joinFileName` "Guide2.pdf") (docDir `joinFileName` "Guide2.pdf")
+ when (not isWindows) $
diff --git a/dev-haskell/lhs2tex/lhs2tex-1.18.1-r1.ebuild b/dev-haskell/lhs2tex/lhs2tex-1.18.1-r1.ebuild
new file mode 100644
index 000000000000..c3128315fe16
--- /dev/null
+++ b/dev-haskell/lhs2tex/lhs2tex-1.18.1-r1.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+CABAL_FEATURES="bin"
+inherit base haskell-cabal
+
+DESCRIPTION="Preprocessor for typesetting Haskell sources with LaTeX"
+HOMEPAGE="http://www.andres-loeh.de/lhs2tex/"
+SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+# dev-texlive/texlive-mathscience contains 'stmaryrd' font used
+# for guide generation
+RDEPEND=">=dev-tex/polytable-0.8.2
+ dev-texlive/texlive-mathscience"
+
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.10
+ dev-haskell/mtl
+ dev-haskell/regex-compat
+ >=dev-lang/ghc-6.12.1"
+
+# Setup.hs uses 'Text.Regex' available in both 'r-c' and 'r-c-tdfa'
+HCFLAGS+=" -ignore-package=regex-compat-tdfa"
+
+# datadir is /usr/share/${PN}/${GHC_VER} so mandir is ${DATADIR}/../../man
+PATCHES=("${FILESDIR}/${PN}-1.18.1-mandir.patch")
diff --git a/dev-haskell/lhs2tex/lhs2tex-1.19-r1.ebuild b/dev-haskell/lhs2tex/lhs2tex-1.19-r1.ebuild
new file mode 100644
index 000000000000..c3128315fe16
--- /dev/null
+++ b/dev-haskell/lhs2tex/lhs2tex-1.19-r1.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+CABAL_FEATURES="bin"
+inherit base haskell-cabal
+
+DESCRIPTION="Preprocessor for typesetting Haskell sources with LaTeX"
+HOMEPAGE="http://www.andres-loeh.de/lhs2tex/"
+SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+# dev-texlive/texlive-mathscience contains 'stmaryrd' font used
+# for guide generation
+RDEPEND=">=dev-tex/polytable-0.8.2
+ dev-texlive/texlive-mathscience"
+
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.10
+ dev-haskell/mtl
+ dev-haskell/regex-compat
+ >=dev-lang/ghc-6.12.1"
+
+# Setup.hs uses 'Text.Regex' available in both 'r-c' and 'r-c-tdfa'
+HCFLAGS+=" -ignore-package=regex-compat-tdfa"
+
+# datadir is /usr/share/${PN}/${GHC_VER} so mandir is ${DATADIR}/../../man
+PATCHES=("${FILESDIR}/${PN}-1.18.1-mandir.patch")
diff --git a/dev-haskell/lhs2tex/metadata.xml b/dev-haskell/lhs2tex/metadata.xml
new file mode 100644
index 000000000000..5523851d5d80
--- /dev/null
+++ b/dev-haskell/lhs2tex/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>haskell@gentoo.org</email>
+ <name>Gentoo Haskell</name>
+ </maintainer>
+<maintainer type="project">
+ <email>tex@gentoo.org</email>
+ <name>Gentoo TeX Project</name>
+ </maintainer>
+</pkgmetadata>