summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-text/xmlformat/xmlformat-1.04.ebuild')
-rw-r--r--app-text/xmlformat/xmlformat-1.04.ebuild11
1 files changed, 7 insertions, 4 deletions
diff --git a/app-text/xmlformat/xmlformat-1.04.ebuild b/app-text/xmlformat/xmlformat-1.04.ebuild
index cb49d902bade..b5bb6ceb4c55 100644
--- a/app-text/xmlformat/xmlformat-1.04.ebuild
+++ b/app-text/xmlformat/xmlformat-1.04.ebuild
@@ -1,6 +1,8 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/xmlformat/xmlformat-1.04.ebuild,v 1.3 2010/08/07 13:23:52 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/xmlformat/xmlformat-1.04.ebuild,v 1.4 2013/09/28 09:57:44 graaff Exp $
+
+EAPI=5
DESCRIPTION="Reformat XML documents to your custom style"
SRC_URI="http://www.kitebird.com/software/${PN}/${P}.tar.gz"
@@ -10,8 +12,9 @@ SLOT="0"
LICENSE="xmlformat"
KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
-DEPEND="ruby? ( =dev-lang/ruby-1.8* )
+DEPEND="ruby? ( || ( dev-lang/ruby:1.9 dev-lang/ruby:2.0 ) )
!ruby? ( dev-lang/perl )"
+RDEPEND=${DEPEND}
IUSE="ruby doc"
src_install() {
@@ -25,7 +28,7 @@ src_install() {
dosym xmlformat.pl /usr/bin/xmlformat
fi
- dodoc BUGS ChangeLog LICENSE README TODO
+ dodoc BUGS ChangeLog README TODO
if use doc
then