# Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit mono eutils MY_PN="SportsTracker" MY_P="${MY_PN}-${PV}" S="${WORKDIR}/${MY_P}" DESCRIPTION="Application enabling you to record your sporting activities." HOMEPAGE="http://www.saring.de/sportstracker/" SRC_URI="${HOMEPAGE}/downloads/${MY_P}.tar.gz" #SRC_URI="http://prdownloads.sourceforge.net/sportstracker/${MY_P}?download" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86" IUSE="" DEPEND=">=dev-lang/mono-1.1.6 >=dev-dotnet/gtk-sharp-1.9.2" RDEPEND="" src_unpack() { unpack ${A} epatch ${FILESDIR}/patch-1.0.0.diff } src_install() { # The makefile script has a bug: this is a workaround # for creating the forgiven it translation directory. # dodir /usr/share/locale/it/LC_MESSAGES einstall PREFIX="${D}/usr" \ PREFIX_I18N="${D}/usr/share/locale" \ || die "Installation failed!" cd ${S}/docs mv CHANGES.txt CHANGES mv I18N.txt I18N mv LICENSE.txt LICENSE mv README.txt README mv TODO.txt TODO dodoc CHANGES I18N LICENSE README TODO }