Index: mercurial-0.9.1.ebuild =================================================================== RCS file: /var/cvsroot/gentoo-x86/dev-util/mercurial/mercurial-0.9.1.ebuild,v retrieving revision 1.2 diff -u -B -r1.2 mercurial-0.9.1.ebuild --- mercurial-0.9.1.ebuild 8 Aug 2006 20:46:49 -0000 1.2 +++ mercurial-0.9.1.ebuild 13 Aug 2006 09:11:20 -0000 @@ -13,13 +13,9 @@ LICENSE="GPL-2" SLOT="0" KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" -IUSE="doc" +IUSE="" -DEPEND=">=dev-lang/python-2.3 - doc? ( - app-text/asciidoc - app-text/xmlto - )" +DEPEND=">=dev-lang/python-2.3" if [[ ${PV} == *_p* ]]; then S=${WORKDIR}/mercurial-snapshot @@ -30,16 +26,6 @@ src_compile() { distutils_src_compile - if use doc; then - cd doc - local x - for x in *.?.txt; do - asciidoc -d manpage -b docbook $x || die - xmlto man ${x%txt}xml || die - sed -nie '/./p' ${x%.*} || die - done - fi - rm -rf contrib/vim # app-vim/hgcommand app-vim/hgmenu } @@ -51,9 +37,7 @@ dodoc CONTRIBUTORS PKG-INFO README *.txt cp hgweb*.cgi ${D}/usr/share/doc/${PF}/ cp -r contrib ${D}/usr/share/doc/${PF}/ - if use doc; then - doman doc/*.? - fi + doman doc/*.? } pkg_postinst() {