# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/media-sound/abcm2ps/abcm2ps-3.7.21.ebuild,v 1.4 2006/06/16 21:27:00 flameeyes Exp $ IUSE="a4 deco-is-roll clef-transpose" inherit eutils MY_V="5.0.4" DESCRIPTION="A program to convert abc files to Postscript files" HOMEPAGE="http://moinejf.free.fr/" SRC_URI="http://moinejf.free.fr/${PN}-${MY_V}.tar.gz http://moinejp.free.fr/transpose_abc.pl" LICENSE="GPL-2" SLOT="0" KEYWORDS="-*" DEPEND="" S="${WORKDIR}/${PN}-${MY_V}" src_compile() { # a4: A4 format instead of US letter # deco-is-roll: ~ as roll instead of twiddle # clef-transpose: have clef changing the note pitch econf \ $(use_enable a4 ) \ $(use_enable deco-is-roll ) \ $(use_enable clef-transpose ) \ || die "Configure failed" emake } src_install() { dodoc README INSTALL *.txt Changes dobin abcm2ps insinto /usr/share/${PN} doins *.fmt insinto /usr/share/doc/${P}/examples doins *.abc *.eps insinto /usr/share/doc/${P}/contrib doins ${DISTDIR}/transpose_abc.pl }