diff options
author | Tom William Payne <twp@gentoo.org> | 2007-03-22 22:24:24 +0000 |
---|---|---|
committer | Tom William Payne <twp@gentoo.org> | 2007-03-22 22:24:24 +0000 |
commit | f38e6f44c43d6e6a83eaac422b682e9ce6bb588d (patch) | |
tree | ee62b8bdffda6e92beb7f20c9b42a3f264056b8d /dev-util/ragel/ragel-5.19.ebuild | |
parent | Add 2.9.1 release with a last minute upstream fix. (diff) | |
download | gentoo-2-f38e6f44c43d6e6a83eaac422b682e9ce6bb588d.tar.gz gentoo-2-f38e6f44c43d6e6a83eaac422b682e9ce6bb588d.tar.bz2 gentoo-2-f38e6f44c43d6e6a83eaac422b682e9ce6bb588d.zip |
Version bump.
(Portage version: 2.1.2.2)
Diffstat (limited to 'dev-util/ragel/ragel-5.19.ebuild')
-rw-r--r-- | dev-util/ragel/ragel-5.19.ebuild | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/dev-util/ragel/ragel-5.19.ebuild b/dev-util/ragel/ragel-5.19.ebuild new file mode 100644 index 000000000000..9b12a5e53582 --- /dev/null +++ b/dev-util/ragel/ragel-5.19.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/ragel/ragel-5.19.ebuild,v 1.1 2007/03/22 22:24:24 twp 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() { + econf || die + make || die + ( cd doc && make ragel.1 rlgen-{cd,java,ruby,dot}.1 ) || die + use doc && ( cd doc && make ragel-guide.pdf || die ) +} + +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" +} |