summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Lohrke <carlo@gentoo.org>2008-01-08 01:36:14 +0000
committerCarsten Lohrke <carlo@gentoo.org>2008-01-08 01:36:14 +0000
commit7ec8c92e9ccabf25d25ab992ea3ab218fc65569e (patch)
tree6c8191a356bd9688244b6d1d729bada2d9b9c8aa /dev-util
parentVersion bump. (diff)
downloadgentoo-2-7ec8c92e9ccabf25d25ab992ea3ab218fc65569e.tar.gz
gentoo-2-7ec8c92e9ccabf25d25ab992ea3ab218fc65569e.tar.bz2
gentoo-2-7ec8c92e9ccabf25d25ab992ea3ab218fc65569e.zip
Version bump.
(Portage version: 2.1.3.19)
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/ragel/ChangeLog9
-rw-r--r--dev-util/ragel/files/digest-ragel-5.253
-rw-r--r--dev-util/ragel/ragel-5.25.ebuild50
3 files changed, 60 insertions, 2 deletions
diff --git a/dev-util/ragel/ChangeLog b/dev-util/ragel/ChangeLog
index 5af6ff04a0a0..4e8ef0197d00 100644
--- a/dev-util/ragel/ChangeLog
+++ b/dev-util/ragel/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-util/ragel
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/ragel/ChangeLog,v 1.7 2007/09/01 12:42:48 phreak Exp $
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/ragel/ChangeLog,v 1.8 2008/01/08 01:36:13 carlo Exp $
+
+*ragel-5.25 (08 Jan 2008)
+
+ 08 Jan 2008; Carsten Lohrke <carlo@gentoo.org> +ragel-5.25.ebuild:
+ Version bump.
01 Sep 2007; Christian Heim <phreak@gentoo.org> metadata.xml:
Removing twp from metadata due to his retirement (see #190561 for reference).
diff --git a/dev-util/ragel/files/digest-ragel-5.25 b/dev-util/ragel/files/digest-ragel-5.25
new file mode 100644
index 000000000000..045086ab1ac3
--- /dev/null
+++ b/dev-util/ragel/files/digest-ragel-5.25
@@ -0,0 +1,3 @@
+MD5 7f882023836167e33d4f96d7dde62f78 ragel-5.25.tar.gz 547164
+RMD160 535419eccbf6fab388d38b47957624da5f05e14e ragel-5.25.tar.gz 547164
+SHA256 0c14051e771bfd32eed81a901e25d1982e52ca348025d8e53e8fe30b6b49ef1c ragel-5.25.tar.gz 547164
diff --git a/dev-util/ragel/ragel-5.25.ebuild b/dev-util/ragel/ragel-5.25.ebuild
new file mode 100644
index 000000000000..e0c995e70032
--- /dev/null
+++ b/dev-util/ragel/ragel-5.25.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/ragel/ragel-5.25.ebuild,v 1.1 2008/01/08 01:36:13 carlo Exp $
+
+inherit eutils
+
+DESCRIPTION="Compiles finite state machines from regular languages into executable code."
+HOMEPAGE="http://www.cs.queensu.ca/~thurston/ragel/"
+SRC_URI="http://www.cs.queensu.ca/~thurston/ragel/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="doc vim-syntax"
+
+DEPEND="doc? ( virtual/tetex
+ media-gfx/transfig )"
+RDEPEND=""
+
+src_compile() {
+ find "${S}" -iname "Makefile*" -exec sed -i -e "s:install -s:install:" {} \;
+
+ econf || die
+ make || die
+
+ pushd doc
+ make ragel.1 rlgen-{cd,java,ruby,dot}.1 || die
+ popd
+
+ if use doc ; then
+ pushd doc
+ make ragel-guide.pdf || die
+ popd
+ fi
+}
+
+src_install() {
+ einstall || die
+ for i in cd java ruby dot; do
+ dobin rlgen-${i}/rlgen-${i}
+ done
+ doman doc/ragel.1 doc/rlgen-{cd,java,ruby,dot}.1
+ dodoc ChangeLog CREDITS README TODO
+ use doc && \
+ install -m 644 -D doc/ragel-guide.pdf \
+ "${D}/usr/share/doc/${PF}/ragel-guide.pdf"
+ use vim-syntax && \
+ install -m 644 -D ragel.vim \
+ "${D}/usr/share/vim/vimfiles/syntax/ragel.vim"
+}