# 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=""

inherit eutils

DESCRIPTION="Tcl/Tk gui for ABC notation with MIDI support"
HOMEPAGE="http://moinejf.free.fr/"
SRC_URI="http://moinejf.free.fr/${P}.tar.gz
	http://br.geocities.com/hfmlacerda/abc/_tkabcrc.txt"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 sparc x86 ~ppc"

DEPEND="media-sound/abcm2ps
	>=dev-lang/tcl-8.0
	>=dev-lang/tk-8.0
	media-libs/alsa-lib"

src_install() {
	dodoc README TODO Changes
	dobin tkabc abcbarchk abctrans mid2abc
	exeinto /usr/lib/${PN}
	doexe tclabc.so
	insinto /usr/lib/${PN}
	doins *.tcl *.html
	insinto /usr/share/doc/${P}/songs
	doins songs/*.abc songs/*.mid
	insinto /usr/share/doc/${P}/contrib
	doins ${DISTDIR}/_tkabcrc.txt
}