--- freedoko-0.7.3.ebuild.orig 2010-03-12 21:47:34.000000000 +0100 +++ freedoko-0.7.3.ebuild 2010-03-12 21:52:11.000000000 +0100 @@ -1,4 +1,4 @@ -# Copyright 1999-2008 Gentoo Foundation +# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/games-board/freedoko/freedoko-0.7.3.ebuild,v 1.10 2008/11/12 19:41:19 tupone Exp $ @@ -37,10 +37,12 @@ "${FILESDIR}"/portage-cxx.patch \ "${FILESDIR}"/${P}-gcc43.patch \ "${FILESDIR}"/Fix_Cardset_Make.patch + use !doc && epatch "${FILESDIR}"/nodoc.patch use !net && epatch "${FILESDIR}"/nonet.patch sed -i \ -e 's/linux binary/Gentoo '${ARCH}' binary/g' \ + -e '/strip\ .*/d' \ Makefile \ || die "sed failed" @@ -66,18 +68,18 @@ src_compile() { export CPPFLAGS="-DPUBLIC_DATA_DIRECTORY_VALUE='\"${GAMES_DATADIR}/${PN}\"'" export OSTYPE=Linux - emake release_directory || die "build failed" - emake release_data || die "build failed" - emake release_linux_binary || die "build failed" + emake release_directory || die + emake release_data || die + emake release_linux_binary || die } src_install() { newgamesbin release/FreeDoko_${PV}/FreeDoko freedoko || die "installing the binary failed" rm -f release/FreeDoko_${PV}/FreeDoko insinto "${GAMES_DATADIR}"/${PN}/ - doins -r release/FreeDoko_${PV}/* || die "Installation failed" - dodoc README LIESMICH ChangeLog - newicon src/FreeDoko.png ${PN}.png + doins -r release/FreeDoko_${PV}/* || die + dodoc README LIESMICH ChangeLog || die + newicon src/FreeDoko.png ${PN}.png || die make_desktop_entry ${PN} FreeDoko prepgamesdirs }