summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2012-05-13 07:54:30 +0000
committerSergei Trofimovich <slyfox@gentoo.org>2012-05-13 07:54:30 +0000
commit1f5fc9f291d5033f02033a2591711cd69016ea30 (patch)
treeaf55b035ff3f16cba82b5d3c8467c52625579105 /dev-haskell/alex
parent[bump] dev-perl/Unicode-EastAsianWidth-1.320.0 (diff)
downloadgentoo-2-1f5fc9f291d5033f02033a2591711cd69016ea30.tar.gz
gentoo-2-1f5fc9f291d5033f02033a2591711cd69016ea30.tar.bz2
gentoo-2-1f5fc9f291d5033f02033a2591711cd69016ea30.zip
Version bump.
(Portage version: 2.2.0_alpha101_p6/cvs/Linux x86_64)
Diffstat (limited to 'dev-haskell/alex')
-rw-r--r--dev-haskell/alex/ChangeLog8
-rw-r--r--dev-haskell/alex/alex-2.3.5.ebuild6
-rw-r--r--dev-haskell/alex/alex-3.0.2.ebuild71
-rw-r--r--dev-haskell/alex/metadata.xml11
4 files changed, 88 insertions, 8 deletions
diff --git a/dev-haskell/alex/ChangeLog b/dev-haskell/alex/ChangeLog
index c422b1a8fb5f..27f38c997f55 100644
--- a/dev-haskell/alex/ChangeLog
+++ b/dev-haskell/alex/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-haskell/alex
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-haskell/alex/ChangeLog,v 1.53 2012/04/25 16:22:35 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-haskell/alex/ChangeLog,v 1.54 2012/05/13 07:54:30 slyfox Exp $
+
+*alex-3.0.2 (13 May 2012)
+
+ 13 May 2012; Sergei Trofimovich <slyfox@gentoo.org> +alex-3.0.2.ebuild,
+ alex-2.3.5.ebuild, metadata.xml:
+ Version bump.
25 Apr 2012; Justin Lecher <jlec@gentoo.org> alex-2.3.5.ebuild:
Drop unnessecary die
diff --git a/dev-haskell/alex/alex-2.3.5.ebuild b/dev-haskell/alex/alex-2.3.5.ebuild
index e13dc9b804ad..d2acd67d62ee 100644
--- a/dev-haskell/alex/alex-2.3.5.ebuild
+++ b/dev-haskell/alex/alex-2.3.5.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-haskell/alex/alex-2.3.5.ebuild,v 1.7 2012/04/25 16:22:35 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-haskell/alex/alex-2.3.5.ebuild,v 1.8 2012/05/13 07:54:30 slyfox Exp $
# ebuild generated by hackport 0.2.9
@@ -37,7 +37,7 @@ src_prepare() {
if use doc; then
cd "${S}/doc/"
- eautoreconf
+ eautoreconf || die "eautoreconf for docs failed"
fi
}
@@ -46,7 +46,7 @@ src_configure() {
if use doc; then
cd "${S}/doc/"
- econf
+ econf || die "econf for docs failed"
fi
}
diff --git a/dev-haskell/alex/alex-3.0.2.ebuild b/dev-haskell/alex/alex-3.0.2.ebuild
new file mode 100644
index 000000000000..123485e29407
--- /dev/null
+++ b/dev-haskell/alex/alex-3.0.2.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-haskell/alex/alex-3.0.2.ebuild,v 1.1 2012/05/13 07:54:30 slyfox Exp $
+
+# ebuild generated by hackport 0.2.9
+
+EAPI="3"
+
+CABAL_FEATURES="bin"
+inherit autotools eutils haskell-cabal
+
+DESCRIPTION="Alex is a tool for generating lexical analysers in Haskell"
+HOMEPAGE="http://www.haskell.org/alex/"
+SRC_URI="http://hackage.haskell.org/packages/archive/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="doc"
+
+RDEPEND=""
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.6
+ >=dev-haskell/quickcheck-2
+ >=dev-lang/ghc-6.8.2
+ doc? ( ~app-text/docbook-xml-dtd-4.2
+ app-text/docbook-xsl-stylesheets
+ >=dev-libs/libxslt-1.1.2 )"
+
+src_prepare() {
+ for f in Scan Parser; do
+ rm "${S}/src/$f."*
+ mv "${S}/dist/build/alex/alex-tmp/$f.hs" "${S}"/src/
+ done
+
+ if use doc; then
+ cd "${S}/doc/"
+ eautoreconf || die "eautoreconf for docs failed"
+ fi
+}
+
+src_configure() {
+ cabal_src_configure
+
+ if use doc; then
+ cd "${S}/doc/"
+ econf || die "econf for docs failed"
+ fi
+}
+
+src_compile() {
+ cabal_src_compile
+
+ if use doc; then
+ emake -C "${S}/doc/" -j1 || die "emake for docs failed"
+ fi
+}
+
+src_test() {
+ emake -C "${S}/tests/" || die "emake for tests failed"
+}
+
+src_install() {
+ cabal_src_install
+
+ if use doc; then
+ doman "${S}/doc/alex.1"
+ dohtml -r "${S}/doc/alex/"
+ fi
+ dodoc README
+}
diff --git a/dev-haskell/alex/metadata.xml b/dev-haskell/alex/metadata.xml
index 8c66906af531..e500ba52391d 100644
--- a/dev-haskell/alex/metadata.xml
+++ b/dev-haskell/alex/metadata.xml
@@ -1,8 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<herd>haskell</herd>
-<maintainer>
- <email>haskell@gentoo.org</email>
-</maintainer>
+ <herd>haskell</herd>
+ <maintainer>
+ <email>haskell@gentoo.org</email>
+ </maintainer>
+ <longdescription>
+ Alex is a tool for generating lexical analysers in Haskell
+ </longdescription>
</pkgmetadata>