# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/app-text/rman/rman-3.1.ebuild,v 1.7 2005/01/01 16:34:08 eradicator Exp $ inherit eutils DESCRIPTION="PolyGlotMan man page translator AKA RosettaMan" HOMEPAGE="http://polyglotman.sourceforge.net/" SRC_URI="mirror://sourceforge/polyglotman/${P}.tar.gz" LICENSE="Artistic" SLOT="0" KEYWORDS="x86 ppc sparc" IUSE="" DEPEND="" src_unpack() { unpack ${A} cd ${WORKDIR} epatch ${FILESDIR}/${PF}-gentoo.diff || die "patch failed" } src_compile() { emake CFLAGS="${CFLAGS} -finline-functions" || die "make failed" } src_install() { dobin ${PN} || die doman ${PN}.1 }