diff options
author | Andres Loeh <kosmikus@gentoo.org> | 2005-03-23 14:08:15 +0000 |
---|---|---|
committer | Andres Loeh <kosmikus@gentoo.org> | 2005-03-23 14:08:15 +0000 |
commit | 82c84278e62ed5152826439dad7785a34eb82241 (patch) | |
tree | a39e0b707b01f8b32dde43f7573c07962010a5b1 /dev-haskell/alex | |
parent | Added a dependency on libexif. (diff) | |
download | historical-82c84278e62ed5152826439dad7785a34eb82241.tar.gz historical-82c84278e62ed5152826439dad7785a34eb82241.tar.bz2 historical-82c84278e62ed5152826439dad7785a34eb82241.zip |
Added a new version. ghc-6.4 is compatible with alex-2.0.1, but not with alex-2.0.
Package-Manager: portage-2.0.51.19
Diffstat (limited to 'dev-haskell/alex')
-rw-r--r-- | dev-haskell/alex/ChangeLog | 9 | ||||
-rw-r--r-- | dev-haskell/alex/alex-2.0.1.ebuild | 75 | ||||
-rw-r--r-- | dev-haskell/alex/alex-2.0.ebuild | 3 | ||||
-rw-r--r-- | dev-haskell/alex/files/digest-alex-2.0.1 | 1 |
4 files changed, 86 insertions, 2 deletions
diff --git a/dev-haskell/alex/ChangeLog b/dev-haskell/alex/ChangeLog index 47cce8a8a9cc..56bae6e409f8 100644 --- a/dev-haskell/alex/ChangeLog +++ b/dev-haskell/alex/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for dev-haskell/alex # Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-haskell/alex/ChangeLog,v 1.9 2005/02/23 19:31:48 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-haskell/alex/ChangeLog,v 1.10 2005/03/23 14:08:15 kosmikus Exp $ + +*alex-2.0.1 (23 Mar 2005) + + 23 Mar 2005; Andres Loeh <kosmikus@gentoo.org> +alex-2.0.1.ebuild, + alex-2.0.ebuild: + Added a new version. ghc-6.4 is compatible with alex-2.0.1, but not with + alex-2.0. 23 Feb 2005; Michael Sterrett <mr_bones_@gentoo.org> alex-2.0.ebuild: sparc needs deps first diff --git a/dev-haskell/alex/alex-2.0.1.ebuild b/dev-haskell/alex/alex-2.0.1.ebuild new file mode 100644 index 000000000000..069ef3672ffa --- /dev/null +++ b/dev-haskell/alex/alex-2.0.1.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-haskell/alex/alex-2.0.1.ebuild,v 1.1 2005/03/23 14:08:15 kosmikus Exp $ +# +# USE variable summary: +# doc - Build extra documenation from DocBook sources, +# in HTML format. +# tetex - Build the above docs as PostScript as well. + + +inherit base eutils ghc-package +IUSE="doc tetex" + +DESCRIPTION="A lexical analyser generator for Haskell" +SRC_URI="http://www.haskell.org/alex/dist/${P}-src.tar.gz" +HOMEPAGE="http://www.haskell.org/alex" + +SLOT="0" +KEYWORDS="~x86" +LICENSE="as-is" + +DEPEND=">=virtual/ghc-6.2.2 + doc? ( ~app-text/docbook-xml-dtd-4.2 + app-text/docbook-xsl-stylesheets + >=dev-libs/libxslt-1.1.2 + java? ( >=dev-java/fop-0.20.5 ) )" + +RDEPEND="" + +src_compile() { + local mydoc + econf || die "econf failed" + + # determine what to do with documentation + if use doc; then + mydoc="html" + if use java; then + mydoc="${mydoc} ps" + fi + else + mydoc="" + # needed to prevent haddock from being called + echo NO_HADDOCK_DOCS=YES >> mk/build.mk + fi + echo XMLDocWays="${mydoc}" >> mk/build.mk + + emake -j1 || die "make failed" +} + +src_install() { + local insttarget + + insttarget="install" + use doc && insttarget="${insttarget} install-docs" + emake -j1 ${insttarget} \ + prefix="${D}/usr" \ + datadir="${D}/usr/share/doc/${PF}" \ + infodir="${D}/usr/share/info" \ + mandir="${D}/usr/share/man" \ + libdir0="${D}/usr/$(get-libdir)" \ + || die "make ${insttarget} failed" + + cd ${S}/haddock + dodoc CHANGES LICENSE README TODO + + # if use doc; then + # cd ${S}/alex/doc + # dohtml -r alex/* || die + # dosym alex.html /usr/share/doc/${PF}/html/index.html + # if use tetex; then + # docinto ps + # dodoc alex.ps || die "dodoc failed" + # fi + # fi +} diff --git a/dev-haskell/alex/alex-2.0.ebuild b/dev-haskell/alex/alex-2.0.ebuild index d27713dba8c8..4196b9ec5771 100644 --- a/dev-haskell/alex/alex-2.0.ebuild +++ b/dev-haskell/alex/alex-2.0.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-haskell/alex/alex-2.0.ebuild,v 1.9 2005/02/23 19:31:48 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-haskell/alex/alex-2.0.ebuild,v 1.10 2005/03/23 14:08:15 kosmikus Exp $ # # USE variable summary: # doc - Build extra documenation from DocBook sources, @@ -20,6 +20,7 @@ KEYWORDS="~x86" LICENSE="as-is" DEPEND=">=virtual/ghc-5.04 + !>=virtual/ghc-6.4 doc? ( >=app-text/openjade-1.3.1 >=app-text/sgml-common-0.6.3 ~app-text/docbook-sgml-dtd-3.1 diff --git a/dev-haskell/alex/files/digest-alex-2.0.1 b/dev-haskell/alex/files/digest-alex-2.0.1 new file mode 100644 index 000000000000..3deb93c568bf --- /dev/null +++ b/dev-haskell/alex/files/digest-alex-2.0.1 @@ -0,0 +1 @@ +MD5 edb62560e29c8de23913c65c52adbf19 alex-2.0.1-src.tar.gz 346724 |