diff options
author | Duncan Coutts <dcoutts@gentoo.org> | 2006-10-12 01:12:45 +0000 |
---|---|---|
committer | Duncan Coutts <dcoutts@gentoo.org> | 2006-10-12 01:12:45 +0000 |
commit | 89342a2a62f6c5795e8021130232c852b8426163 (patch) | |
tree | 50d74f9af260d2a9bfdafb81eb1605b7ccc2f267 /dev-haskell/haddock | |
parent | Added ~sparc keyword. (diff) | |
download | gentoo-2-89342a2a62f6c5795e8021130232c852b8426163.tar.gz gentoo-2-89342a2a62f6c5795e8021130232c852b8426163.tar.bz2 gentoo-2-89342a2a62f6c5795e8021130232c852b8426163.zip |
New version with a few nice new features
(Portage version: 2.1.1-r1)
Diffstat (limited to 'dev-haskell/haddock')
-rw-r--r-- | dev-haskell/haddock/ChangeLog | 7 | ||||
-rw-r--r-- | dev-haskell/haddock/files/digest-haddock-0.8 | 3 | ||||
-rw-r--r-- | dev-haskell/haddock/haddock-0.8.ebuild | 46 |
3 files changed, 55 insertions, 1 deletions
diff --git a/dev-haskell/haddock/ChangeLog b/dev-haskell/haddock/ChangeLog index 3f12f65def13..0ea0f752bd05 100644 --- a/dev-haskell/haddock/ChangeLog +++ b/dev-haskell/haddock/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-haskell/haddock # Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-haskell/haddock/ChangeLog,v 1.39 2006/08/28 16:50:02 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-haskell/haddock/ChangeLog,v 1.40 2006/10/12 01:12:45 dcoutts Exp $ + +*haddock-0.8 (12 Oct 2006) + + 12 Oct 2006; Duncan Coutts <dcoutts@gentoo.org> +haddock-0.8.ebuild: + New version with a few nice new features 28 Aug 2006; Jeroen Roovers <jer@gentoo.org> haddock-0.7.ebuild: Stable for HPPA (bug #140369). diff --git a/dev-haskell/haddock/files/digest-haddock-0.8 b/dev-haskell/haddock/files/digest-haddock-0.8 new file mode 100644 index 000000000000..e36dd15e11db --- /dev/null +++ b/dev-haskell/haddock/files/digest-haddock-0.8 @@ -0,0 +1,3 @@ +MD5 0a1bb64e7642f64d2560dc258c570c1d haddock-0.8-src.tar.gz 162872 +RMD160 80b7a582ea91fb36b97675d7ea8a027221a28b8e haddock-0.8-src.tar.gz 162872 +SHA256 d54078dd9dc75aa589cb05fbe1136c1fb41d4a346e30b71de948425ea7c05a55 haddock-0.8-src.tar.gz 162872 diff --git a/dev-haskell/haddock/haddock-0.8.ebuild b/dev-haskell/haddock/haddock-0.8.ebuild new file mode 100644 index 000000000000..ee6fd1183a77 --- /dev/null +++ b/dev-haskell/haddock/haddock-0.8.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-haskell/haddock/haddock-0.8.ebuild,v 1.1 2006/10/12 01:12:45 dcoutts Exp $ + +CABAL_FEATURES="bin" +inherit haskell-cabal eutils versionator + +MY_PF=$(replace_version_separator 3 '-' ${PF}) + +DESCRIPTION="A documentation tool for Haskell." +HOMEPAGE="http://haskell.org/haddock/" +SRC_URI="http://haskell.org/haddock/${MY_PF}-src.tar.gz" +LICENSE="as-is" +SLOT="0" + +KEYWORDS="~amd64 ~x86" + +IUSE="doc" + +DEPEND=">=virtual/ghc-6.4 + >=dev-haskell/cabal-1.1.4 + doc? ( ~app-text/docbook-xml-dtd-4.2 + app-text/docbook-xsl-stylesheets + >=dev-libs/libxslt-1.1.2 )" +RDEPEND="" + +S="${WORKDIR}/${MY_PF}" + +src_compile () { + cabal_src_compile + if use doc; then + cd ${S}/doc + autoconf + ./configure --prefix=${D}/usr/ \ + || die 'error configuring documentation.' + make html || die 'error building documentation.' + fi +} + +src_install () { + cabal_src_install + if use doc; then + dohtml -r ${S}/doc/haddock/* + fi + dodoc CHANGES LICENSE README +} |