diff options
author | 2005-01-05 02:48:21 +0000 | |
---|---|---|
committer | 2005-01-05 02:48:21 +0000 | |
commit | 3215212db5315a7d281f57d220399a8d95dd5533 (patch) | |
tree | 81fc024f3a8370a21b473e08c39ad6e55799ffd5 /games-sports | |
parent | Fixed broken Manifest. (Manifest recommit) (diff) | |
download | gentoo-2-3215212db5315a7d281f57d220399a8d95dd5533.tar.gz gentoo-2-3215212db5315a7d281f57d220399a8d95dd5533.tar.bz2 gentoo-2-3215212db5315a7d281f57d220399a8d95dd5533.zip |
menu/manpage/cleanup #76689
Diffstat (limited to 'games-sports')
-rw-r--r-- | games-sports/foobillard/files/digest-foobillard-2.8 | 1 | ||||
-rw-r--r-- | games-sports/foobillard/files/digest-foobillard-2.9 | 1 | ||||
-rw-r--r-- | games-sports/foobillard/foobillard-2.8.ebuild | 46 | ||||
-rw-r--r-- | games-sports/foobillard/foobillard-2.9.ebuild | 48 | ||||
-rw-r--r-- | games-sports/foobillard/foobillard-3.0a.ebuild | 27 |
5 files changed, 18 insertions, 105 deletions
diff --git a/games-sports/foobillard/files/digest-foobillard-2.8 b/games-sports/foobillard/files/digest-foobillard-2.8 deleted file mode 100644 index 077f5b4f12cb..000000000000 --- a/games-sports/foobillard/files/digest-foobillard-2.8 +++ /dev/null @@ -1 +0,0 @@ -MD5 afe2e096743cbf41e0a9537cceb7f857 foobillard-2.8.tar.gz 1098364 diff --git a/games-sports/foobillard/files/digest-foobillard-2.9 b/games-sports/foobillard/files/digest-foobillard-2.9 deleted file mode 100644 index 99aeed7b750a..000000000000 --- a/games-sports/foobillard/files/digest-foobillard-2.9 +++ /dev/null @@ -1 +0,0 @@ -MD5 b8b10d7d3ade07a9e0c497165beadbca foobillard-2.9.tar.gz 1136620 diff --git a/games-sports/foobillard/foobillard-2.8.ebuild b/games-sports/foobillard/foobillard-2.8.ebuild deleted file mode 100644 index b5d730336035..000000000000 --- a/games-sports/foobillard/foobillard-2.8.ebuild +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-sports/foobillard/foobillard-2.8.ebuild,v 1.3 2004/06/24 23:24:19 agriffis Exp $ - -inherit games - -DESCRIPTION="8ball, 9ball, snooker and carambol game" -HOMEPAGE="http://foobillard.sunsite.dk/" -SRC_URI="http://foobillard.sunsite.dk/dnl/${P}.tar.gz" - -KEYWORDS="x86 ppc" -SLOT="0" -LICENSE="GPL-2" -IUSE="sdl" - -DEPEND="virtual/x11 - virtual/opengl - >=media-libs/freetype-2.0.9 - >=media-libs/libpng-1.2.1 - || ( - sdl? ( media-libs/libsdl ) - ( virtual/glu virtual/glut ) - )" - -src_compile() { - local myconf="" - [ "`ls /usr/include/GL/gl.h -al | awk '{print $NF}' | cut -d/ -f5`" == "nvidia" ] \ - && myconf="--enable-nvidia" \ - || myconf="--disable-nvidia" - myconf="${myconf} `use_enable sdl SDL`" - use sdl \ - && myconf="${myconf} --disable-glut" \ - || myconf="${myconf} --enable-glut" - - egamesconf \ - --enable-sound \ - ${myconf} \ - || die - emake || die -} - -src_install() { - make DESTDIR=${D} install || die - dodoc README README.FONTS AUTHORS NEWS ChangeLog - prepgamesdirs -} diff --git a/games-sports/foobillard/foobillard-2.9.ebuild b/games-sports/foobillard/foobillard-2.9.ebuild deleted file mode 100644 index bd1c5b599da3..000000000000 --- a/games-sports/foobillard/foobillard-2.9.ebuild +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-sports/foobillard/foobillard-2.9.ebuild,v 1.5 2004/06/24 23:24:19 agriffis Exp $ - -inherit games - -DESCRIPTION="8ball, 9ball, snooker and carambol game" -HOMEPAGE="http://foobillard.sunsite.dk/" -SRC_URI="http://foobillard.sunsite.dk/dnl/${P}.tar.gz" - -KEYWORDS="x86 ppc amd64" -SLOT="0" -LICENSE="GPL-2" -IUSE="sdl" - -DEPEND="virtual/x11 - virtual/opengl - >=media-libs/freetype-2.0.9 - >=media-libs/libpng-1.2.1 - || ( - sdl? ( media-libs/libsdl ) - ( - virtual/glu - virtual/glut ) - )" - -src_compile() { - local myconf="" - [ "$(ls /usr/include/GL/gl.h -al | awk '{print $NF}' | cut -d/ -f5)" == "nvidia" ] \ - && myconf="--enable-nvidia" \ - || myconf="--disable-nvidia" - myconf="${myconf} $(use_enable sdl SDL)" - use sdl \ - && myconf="${myconf} --disable-glut" \ - || myconf="${myconf} --enable-glut" - - egamesconf \ - --enable-sound \ - ${myconf} \ - || die - emake || die "emake failed" -} - -src_install() { - make DESTDIR="${D}" install || die "make install failed" - dodoc README README.FONTS AUTHORS NEWS ChangeLog - prepgamesdirs -} diff --git a/games-sports/foobillard/foobillard-3.0a.ebuild b/games-sports/foobillard/foobillard-3.0a.ebuild index 78692582989d..7b345174fe99 100644 --- a/games-sports/foobillard/foobillard-3.0a.ebuild +++ b/games-sports/foobillard/foobillard-3.0a.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2004 Gentoo Foundation +# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-sports/foobillard/foobillard-3.0a.ebuild,v 1.5 2004/06/24 23:24:19 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-sports/foobillard/foobillard-3.0a.ebuild,v 1.6 2005/01/05 02:48:21 vapier Exp $ inherit eutils games @@ -8,9 +8,9 @@ DESCRIPTION="8ball, 9ball, snooker and carambol game" HOMEPAGE="http://foobillard.sunsite.dk/" SRC_URI="http://foobillard.sunsite.dk/dnl/${P}.tar.gz" -KEYWORDS="x86 ppc amd64" -SLOT="0" LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc x86" IUSE="sdl" DEPEND="virtual/x11 @@ -24,19 +24,22 @@ DEPEND="virtual/x11 virtual/glut ) )" +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}-no_nvidia.patch +} + src_compile() { - epatch ${FILESDIR}/${P}-no_nvidia.patch local myconf="" [ "$(ls /usr/include/GL/gl.h -al | awk '{print $NF}' | cut -d/ -f5)" == "nvidia" ] \ && myconf="--enable-nvidia=yes" \ || myconf="--enable-nvidia=no" - myconf="${myconf} $(use_enable sdl SDL)" - use sdl \ - && myconf="${myconf} --disable-glut" \ - || myconf="${myconf} --enable-glut" egamesconf \ --enable-sound \ + $(use_enable sdl SDL) \ + $(use_enable !sdl glut) \ ${myconf} \ || die emake || die "emake failed" @@ -45,5 +48,11 @@ src_compile() { src_install() { make DESTDIR="${D}" install || die "make install failed" dodoc AUTHORS ChangeLog README README.FONTS + doman foobillard.6 + + insinto /usr/share/pixmaps + newins data/full_symbol.png foobillard.png + make_desktop_entry foobillard Foobillard foobillard.png + prepgamesdirs } |