summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetteri Räty <betelgeuse@gentoo.org>2009-09-28 16:21:37 +0000
committerPetteri Räty <betelgeuse@gentoo.org>2009-09-28 16:21:37 +0000
commitff4a9e19d1614f9b540822d6453a8d24f1001976 (patch)
treeb4caf62c4d833b104a9dacc2c83d2af08e8a123d /dev-ml/ANSITerminal
parentMigrate to EAPI 2 in order to nuke built_with_use. (diff)
downloadgentoo-2-ff4a9e19d1614f9b540822d6453a8d24f1001976.tar.gz
gentoo-2-ff4a9e19d1614f9b540822d6453a8d24f1001976.tar.bz2
gentoo-2-ff4a9e19d1614f9b540822d6453a8d24f1001976.zip
Migrate to EAPI 2 in order to nuke built_with_use and add ~x86 keyword.
(Portage version: 2.2_rc40/cvs/Linux i686)
Diffstat (limited to 'dev-ml/ANSITerminal')
-rw-r--r--dev-ml/ANSITerminal/ANSITerminal-0.3.ebuild21
-rw-r--r--dev-ml/ANSITerminal/ChangeLog8
2 files changed, 12 insertions, 17 deletions
diff --git a/dev-ml/ANSITerminal/ANSITerminal-0.3.ebuild b/dev-ml/ANSITerminal/ANSITerminal-0.3.ebuild
index 0ad023c515a9..d1965a348385 100644
--- a/dev-ml/ANSITerminal/ANSITerminal-0.3.ebuild
+++ b/dev-ml/ANSITerminal/ANSITerminal-0.3.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ml/ANSITerminal/ANSITerminal-0.3.ebuild,v 1.1 2008/01/27 17:52:38 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ml/ANSITerminal/ANSITerminal-0.3.ebuild,v 1.2 2009/09/28 16:21:37 betelgeuse Exp $
-EAPI=1
+EAPI="2"
inherit findlib eutils
@@ -11,19 +11,10 @@ HOMEPAGE="http://math.umh.ac.be/an/software.php#x4-80007"
SRC_URI="ftp://ftp.umh.ac.be/pub/ftp_san/${P}.tar.bz2"
LICENSE="LGPL-2.1"
SLOT="0"
-KEYWORDS="~amd64"
-DEPEND="dev-lang/ocaml"
+KEYWORDS="~amd64 ~x86"
+DEPEND=">=dev-lang/ocaml-3.10.2[ocamlopt?]"
IUSE="doc +ocamlopt"
-pkg_setup() {
- if use ocamlopt && ! built_with_use --missing true dev-lang/ocaml ocamlopt; then
- eerror "In order to build ${PN} with native code support from ocaml"
- eerror "You first need to have a native code ocaml compiler."
- eerror "You need to install dev-lang/ocaml with ocamlopt useflag on."
- die "Please install ocaml with ocamlopt useflag"
- fi
-}
-
src_compile() {
emake byte || die "Failed to compile bytecode"
if use ocamlopt; then
@@ -38,6 +29,6 @@ src_compile() {
src_install() {
findlib_src_install
- dodoc README
+ dodoc README || die
use doc && dohtml ANSITerminal.html/*
}
diff --git a/dev-ml/ANSITerminal/ChangeLog b/dev-ml/ANSITerminal/ChangeLog
index d999daf45a03..8411d13b7c34 100644
--- a/dev-ml/ANSITerminal/ChangeLog
+++ b/dev-ml/ANSITerminal/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-ml/ANSITerminal
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ml/ANSITerminal/ChangeLog,v 1.1 2008/01/27 17:52:38 aballier Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ml/ANSITerminal/ChangeLog,v 1.2 2009/09/28 16:21:37 betelgeuse Exp $
+
+ 28 Sep 2009; Petteri Räty <betelgeuse@gentoo.org>
+ ANSITerminal-0.3.ebuild:
+ Migrate to EAPI 2 in order to nuke built_with_use and add ~x86 keyword.
*ANSITerminal-0.3 (27 Jan 2008)