summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2009-05-19 18:33:18 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2009-05-19 18:33:18 +0000
commitfe867e642dea8efb074a1cb26934ae6fd5b91820 (patch)
tree045d299416b6c10de942ec6a6043a45f480ad639 /dev-util/ragel
parentVersion bump (#269679), removed mailwrapper funtionality thus fixes #266979 a... (diff)
downloadgentoo-2-fe867e642dea8efb074a1cb26934ae6fd5b91820.tar.gz
gentoo-2-fe867e642dea8efb074a1cb26934ae6fd5b91820.tar.bz2
gentoo-2-fe867e642dea8efb074a1cb26934ae6fd5b91820.zip
Fix ebuild since upstream changed the tarball; now vim-syntax is back, as well as the old docs, and the tests are not restricted any longer.
(Portage version: 2.2_rc33/cvs/Linux x86_64)
Diffstat (limited to 'dev-util/ragel')
-rw-r--r--dev-util/ragel/ChangeLog6
-rw-r--r--dev-util/ragel/ragel-6.5.ebuild16
2 files changed, 13 insertions, 9 deletions
diff --git a/dev-util/ragel/ChangeLog b/dev-util/ragel/ChangeLog
index a50ffb395fa5..820dc5a1f0c3 100644
--- a/dev-util/ragel/ChangeLog
+++ b/dev-util/ragel/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-util/ragel
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/ragel/ChangeLog,v 1.25 2009/05/18 18:13:12 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/ragel/ChangeLog,v 1.26 2009/05/19 18:33:18 flameeyes Exp $
+
+ 19 May 2009; Diego E. Pettenò <flameeyes@gentoo.org> ragel-6.5.ebuild:
+ Fix ebuild since upstream changed the tarball; now vim-syntax is back, as
+ well as the old docs, and the tests are not restricted any longer.
*ragel-6.5 (18 May 2009)
diff --git a/dev-util/ragel/ragel-6.5.ebuild b/dev-util/ragel/ragel-6.5.ebuild
index ba62a4321097..fa6024ae1ada 100644
--- a/dev-util/ragel/ragel-6.5.ebuild
+++ b/dev-util/ragel/ragel-6.5.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/ragel/ragel-6.5.ebuild,v 1.1 2009/05/18 18:13:12 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/ragel/ragel-6.5.ebuild,v 1.2 2009/05/19 18:33:18 flameeyes Exp $
inherit eutils
@@ -11,14 +11,11 @@ SRC_URI="http://www.complang.org/ragel/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
-IUSE=""
+IUSE="vim-syntax"
DEPEND=""
RDEPEND=""
-# 6.5 release lacks some needed files
-RESTRICT="test"
-
src_compile() {
econf --docdir=/usr/share/doc/${PF} || die "econf failed"
emake || die "emake failed"
@@ -26,7 +23,10 @@ src_compile() {
src_install() {
emake DESTDIR="${D}" install || die "make install failed"
- dobin ragel/ragel || die "dobin failed"
- doman doc/ragel.1 || die "doman failed"
- dodoc README TODO || die "dodoc failed"
+ dodoc ChangeLog CREDITS README TODO || die "dodoc failed"
+
+ if use vim-syntax; then
+ insinto /usr/share/vim/vimfiles/syntax
+ doins ragel.vim || die "doins ragel.vim failed"
+ fi
}