# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit eutils S=${WORKDIR}/${PN} DESCRIPTION="The whitespace thing makes ocaml identation aware." HOMEPAGE="http://people.csail.mit.edu/mikelin/ocaml+twt/" SRC_URI="http://people.csail.mit.edu/mikelin/ocaml+twt/${P}.tar.gz" LICENSE="as-is" SLOT="0" KEYWORDS="~x86" IUSE="" DEPEND="dev-lang/ocaml" src_compile () { :; } src_install() { dodir /usr/bin sed -i -e "s: -pp ocaml+twt: -pp ${S}/ocaml+twt:g" Makefile make INSTALLDIR=${D}/usr/bin install || die dodoc README doc/* docinto examples dodoc examples/* }