SLOT="0"
KEYWORDS="amd64 x86"
-IUSE="debug emacs erlang examples java mono profile readline threads trail"
+IUSE="debug doc emacs erlang examples java mono profile readline threads trail"
DEPEND="!dev-libs/mpatrol
!dev-util/mono-debugger
readline? ( sys-libs/readline:= )
erlang? ( dev-lang/erlang )
java? ( >=virtual/jdk-1.6:= )
- mono? ( dev-lang/mono )"
+ mono? ( dev-lang/mono )
+ doc? ( sys-apps/texinfo )"
RDEPEND="${DEPEND}
emacs? ( virtual/emacs )"
# Build Mercury using bootstrap grade
emake \
PARALLEL="'${MAKEOPTS}'" \
+ TEXI2DVI="" PDFTEX="" \
|| die "emake failed"
# We can now patch .m Mercury compiler files since we
emake \
PARALLEL="'${MAKEOPTS}'" \
MERCURY_COMPILER="${S}"/compiler/mercury_compile \
+ TEXI2DVI="" PDFTEX="" \
compiler || die "emake compiler failed"
# The default Mercury grade may not be the same as the bootstrap
emake \
PARALLEL="'${MAKEOPTS}'" \
MERCURY_COMPILER="${S}"/compiler/mercury_compile \
+ TEXI2DVI="" PDFTEX="" \
default_grade || die "emake default_grade failed"
}
emake \
PARALLEL="'${MAKEOPTS}'" \
MERCURY_COMPILER="${S}"/compiler/mercury_compile \
+ TEXI2DVI="" PDFTEX="" \
DESTDIR="${D}" \
INSTALL_PREFIX="${D}"/usr \
INSTALL_MAN_DIR="${D}"/usr/share/man \