1 # Copyright 1999-2010 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
5 inherit eutils python multilib
9 DESCRIPTION="An attempt to have the fluxbox menu emulate Gnome (or XFCE) menu, in both looks and functionality."
10 HOMEPAGE="http://code.google.com/p/marchfluxmenu/"
11 SRC_URI="http://marchfluxmenu.googlecode.com/files/${MY_P}.tar.gz"
15 KEYWORDS="~amd64 ~x86"
18 DEPEND="dev-lang/python"
26 epatch "${FILESDIR}"/${P}-gentoo.patch
28 sed -i -e "s:@@PYDIR@@:/usr/$(get_libdir)/python${PYVER}/site-packages:g" \
29 installer mfmdaemon || die "failed to fix paths"
33 einfo "Nothing to compile, installing..."
37 dodoc README mfmdaemon
39 insinto /usr/share/${PN}
42 newbin installer ${PN}
43 rm -rf COPYING README icons installer main.pyc mfmdaemon
46 insinto /usr/$(get_libdir)/python${PYVER}/site-packages/${PN}
52 python_mod_optimize "${ROOT}"usr/$(get_libdir)/python${PYVER}/site-packages/${PN}
54 elog "Now just run ${PN} as user to generate your fluxbox menu."
55 elog "See README in /usr/share/doc/${PF} for more information on usage."