# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit versionator MY_PV="$(get_version_component_range 1-2)\ -u$(get_version_component_range 3)\ -b$(get_version_component_range 4)" MY_P="${PN}-${MY_PV}" S="${WORKDIR}/${MY_P}" DESCRIPTION="unix port of Monkey's Audio" HOMEPAGE="http://sourceforge.net/projects/mac-port" SRC_URI="mirror://sourceforge/mac-port/${MY_P}.tar.gz" LICENSE="unknown" KEYWORDS="~amd64 ~x86" SLOT="0" IUSE="asmb" DEPEND="asmb? ( dev-lang/yasm )" src_unpack() { unpack ${A} cd "${S}" } src_compile() { econf || die "econf failed" emake || die "emake failed" } src_install() { emake DESTDIR=${D} install || die "make install failed" dodoc AUTHORS INSTALL NEWS README TODO COPYING dohtml ${S}/src/License.htm ${S}/src/Readme.htm }