# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/redcloth/redcloth-3.0.4.ebuild,v 1.9 2007/07/11 05:23:08 mr_bones_ Exp $ inherit ruby gems MY_P="RedCloth-${PV}" DESCRIPTION="A module for using Textile in Ruby" HOMEPAGE="http://www.whytheluckystiff.net/ruby/redcloth/" SRC_URI="http://gems.rubyforge.org/gems/${MY_P}.gem" LICENSE="BSD" SLOT="0" KEYWORDS="~amd64 ia64 ~ppc64 x86 ~ppc" IUSE="" USE_RUBY="any" DEPEND="virtual/ruby" S=${WORKDIR}/${MY_P} pkg_postinst() { elog "NOTE: This package is now installed via a 'gem'." elog "Previous versions used a standard tarball." elog "No packages in portage required ${PN}, so you won't be affected unless" elog "you have written ruby code which requires ${PN}. In that case you'll need" elog "to add this:" elog elog "require 'rubygems'" elog elog "before:" elog "require '${PN}'" }