diff options
Diffstat (limited to 'app-text/xmlformat')
-rw-r--r-- | app-text/xmlformat/xmlformat-1.04.ebuild | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/app-text/xmlformat/xmlformat-1.04.ebuild b/app-text/xmlformat/xmlformat-1.04.ebuild index d520298690b6..8962796889af 100644 --- a/app-text/xmlformat/xmlformat-1.04.ebuild +++ b/app-text/xmlformat/xmlformat-1.04.ebuild @@ -1,9 +1,13 @@ -# Copyright 1999-2013 Gentoo Foundation +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ EAPI=5 +USE_RUBY="ruby20 ruby21 ruby22 ruby23" + +inherit ruby-single + DESCRIPTION="Reformat XML documents to your custom style" SRC_URI="http://www.kitebird.com/software/${PN}/${P}.tar.gz" HOMEPAGE="http://www.kitebird.com/software/xmlformat/" @@ -12,7 +16,7 @@ SLOT="0" LICENSE="xmlformat" KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos" -DEPEND="ruby? ( || ( dev-lang/ruby:1.9 dev-lang/ruby:2.0 ) ) +DEPEND="ruby? ( ${RUBY_DEPS} ) !ruby? ( dev-lang/perl )" RDEPEND=${DEPEND} IUSE="ruby doc" |