diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2008-10-01 11:40:27 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2008-10-01 11:40:27 +0000 |
commit | 4932bd6aeeea5004e73d1496721ad290f43ab50f (patch) | |
tree | c6fb9cd1343341860f7bcf23a255c0fa552b4bcf /dev-util/ragel | |
parent | Move configure to src_configure to avoid running it twice. Move epatch calls ... (diff) | |
download | gentoo-2-4932bd6aeeea5004e73d1496721ad290f43ab50f.tar.gz gentoo-2-4932bd6aeeea5004e73d1496721ad290f43ab50f.tar.bz2 gentoo-2-4932bd6aeeea5004e73d1496721ad290f43ab50f.zip |
Update to new version; declare me and Luca maintainers of the ebuild.
(Portage version: 2.2_rc11/cvs/Linux 2.6.26-gentoo-r1 x86_64)
Diffstat (limited to 'dev-util/ragel')
-rw-r--r-- | dev-util/ragel/ChangeLog | 8 | ||||
-rw-r--r-- | dev-util/ragel/metadata.xml | 11 | ||||
-rw-r--r-- | dev-util/ragel/ragel-6.3.ebuild | 60 |
3 files changed, 74 insertions, 5 deletions
diff --git a/dev-util/ragel/ChangeLog b/dev-util/ragel/ChangeLog index 3b959a766b97..06edf3222566 100644 --- a/dev-util/ragel/ChangeLog +++ b/dev-util/ragel/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-util/ragel # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/ragel/ChangeLog,v 1.14 2008/09/03 10:07:42 opfer Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/ragel/ChangeLog,v 1.15 2008/10/01 11:40:27 flameeyes Exp $ + +*ragel-6.3 (01 Oct 2008) + + 01 Oct 2008; Diego Pettenò <flameeyes@gentoo.org> metadata.xml, + +ragel-6.3.ebuild: + Update to new version; declare me and Luca maintainers of the ebuild. 03 Sep 2008; Christian Faulhammer <opfer@gentoo.org> ragel-6.2.ebuild: replace virtual/tetex with virtual/latex-base diff --git a/dev-util/ragel/metadata.xml b/dev-util/ragel/metadata.xml index 9f3fdee2246b..3d01bb09dcc6 100644 --- a/dev-util/ragel/metadata.xml +++ b/dev-util/ragel/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>no-herd</herd> - <maintainer> - <email>maintainer-needed@gentoo.org</email> - </maintainer> + <herd>no-herd</herd> + <maintainer> + <email>lu_zero@gentoo.org</email> + </maintainer> + <maintainer> + <email>flameeyes@gentoo.org</email> + </maintainer> </pkgmetadata> diff --git a/dev-util/ragel/ragel-6.3.ebuild b/dev-util/ragel/ragel-6.3.ebuild new file mode 100644 index 000000000000..5205dab5041c --- /dev/null +++ b/dev-util/ragel/ragel-6.3.ebuild @@ -0,0 +1,60 @@ +# 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-6.3.ebuild,v 1.1 2008/10/01 11:40:27 flameeyes Exp $ + +EAPI=2 + +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="~amd64 ~ppc ~ppc64 ~x86" +IUSE="doc vim-syntax" + +DEPEND="doc? ( virtual/latex-base + media-gfx/transfig )" +RDEPEND="" + +src_prepare() { + find "${S}" -iname "Makefile*" -exec sed -i \ + -e "s:install -s:install:" \ + -e '/\$(CXX)/s:CFLAGS:CXXFLAGS:' \ + {} \; +} + +src_compile() { + emake || die + + pushd doc + emake ragel.1 rlgen-{cd,java,ruby,dot}.1 || die + popd + + if use doc ; then + pushd doc + emake 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 + + if use doc; then + insinto /usr/share/doc/"${PF}" + doins doc/ragel-guide.pdf + fi + + if use vim-syntax; then + doins ragel.vim + fi +} |