# Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: /usr/local/cvsroot/stealer-gentoo-portage/dev-lang/onyx/onyx-5.0.1.ebuild,v 1.4 2004/01/19 15:10:14 sven Exp $ DESCRIPTION="Onyx is a powerful stack-based, multi-threaded, interpreted, general purpose programming language" HOMEPAGE="http://www.canonware.com/onyx/" SRC_URI="http://www.canonware.com/download/${PN}/${P}.tar.bz2" LICENSE="onyx" SLOT="0" KEYWORDS="~x86" IUSE="debug" RDEPEND="virtual/glibc >=dev-libs/libpcre-4.2" DEPEND="${RDEPEND} >=dev-util/cook-2.20" src_compile() { econf `use_enable debug` || die "econf failed" cook || die "cook failed" } src_install() { cook install PREFIX=${D}/usr MANDIR=${D}/usr/share/man || die "install failed" dodoc COPYING ChangeLog INSTALL PLATFORMS README dohtml doc/html/onyx/* }