From 8d968eb2ec71e8eb5d3558eb097ca7b0b539cfd6 Mon Sep 17 00:00:00 2001 From: Michael Sterrett Date: Wed, 4 Jul 2012 01:18:08 +0000 Subject: old (Portage version: 2.1.10.65/cvs/Linux x86_64) --- games-strategy/lgeneral/ChangeLog | 5 +- games-strategy/lgeneral/lgeneral-1.2.2.ebuild | 91 --------------------------- 2 files changed, 4 insertions(+), 92 deletions(-) delete mode 100644 games-strategy/lgeneral/lgeneral-1.2.2.ebuild (limited to 'games-strategy/lgeneral') diff --git a/games-strategy/lgeneral/ChangeLog b/games-strategy/lgeneral/ChangeLog index c0eb91d2e74f..86b4912dcb85 100644 --- a/games-strategy/lgeneral/ChangeLog +++ b/games-strategy/lgeneral/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for games-strategy/lgeneral # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-strategy/lgeneral/ChangeLog,v 1.41 2012/07/03 23:31:11 jdhore Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-strategy/lgeneral/ChangeLog,v 1.42 2012/07/04 01:18:08 mr_bones_ Exp $ + + 04 Jul 2012; Michael Sterrett -lgeneral-1.2.2.ebuild: + old 03 Jul 2012; Jeff Horelick lgeneral-1.2.3.ebuild: marked x86 per bug 424241 diff --git a/games-strategy/lgeneral/lgeneral-1.2.2.ebuild b/games-strategy/lgeneral/lgeneral-1.2.2.ebuild deleted file mode 100644 index 044b80050386..000000000000 --- a/games-strategy/lgeneral/lgeneral-1.2.2.ebuild +++ /dev/null @@ -1,91 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-strategy/lgeneral/lgeneral-1.2.2.ebuild,v 1.3 2011/10/08 16:30:27 phajdan.jr Exp $ - -EAPI=2 -inherit eutils autotools games - -MY_P="${P/_/}" -MY_P="${MY_P/beta/beta-}" -DESCRIPTION="A Panzer General clone written in SDL" -HOMEPAGE="http://lgames.sourceforge.net/index.php?project=LGeneral" -SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz - mirror://sourceforge/${PN}/pg-data.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="nls" - -RDEPEND="media-libs/libsdl[audio,video] - media-libs/sdl-mixer - nls? ( virtual/libintl )" -DEPEND="${RDEPEND} - sys-devel/gettext" - -S=${WORKDIR}/${MY_P} - -src_prepare() { - sed -i \ - -e '/desktop_DATA/d' \ - -e '/icon_DATA/d' \ - Makefile.am || die - - cp /usr/share/gettext/config.rpath . - rm -f missing - eautoreconf - - # Build a temporary lgc-pg that knows about ${WORKDIR}: - cp -pPR "${S}" "${WORKDIR}"/tmp-build || die "cp failed" - sed -i \ - -e "s:@GENTOO_DATADIR@:${GAMES_DATADIR}:" \ - -e "s:@D@::" \ - {lgc-pg,src}/misc.c \ - || die "sed failed" - - cd "${WORKDIR}"/tmp-build - sed -i \ - -e "s:@GENTOO_DATADIR@:${GAMES_DATADIR}:" \ - -e "s:@D@:${D}:" \ - {lgc-pg,src}/misc.c \ - || die "sed failed (tmp)" -} - -src_configure() { - egamesconf \ - --disable-dependency-tracking \ - $(use_enable nls) \ - || die - - # Build the temporary lgc-pg: - cd "${WORKDIR}"/tmp-build - egamesconf \ - --disable-dependency-tracking \ - --disable-nls \ - --datadir="${D}/${GAMES_DATADIR}" \ - || die -} - -src_compile() { - emake || die "emake failed" - - # Build the temporary lgc-pg: - cd "${WORKDIR}"/tmp-build - emake || die "emake failed (tmp)" -} - -src_install() { - emake DESTDIR="${D}" install || die "emake install failed" - keepdir "${GAMES_DATADIR}"/${PN}/{ai_modules,music,terrain} - - # Generate scenario data: - SDL_VIDEODRIVER=dummy "${WORKDIR}"/tmp-build/lgc-pg/lgc-pg \ - -s "${WORKDIR}"/pg-data \ - -d "${D}/${GAMES_DATADIR}"/${PN} \ - || die "Failed to generate scenario data" - - dodoc AUTHORS ChangeLog README.lgeneral README.lgc-pg TODO - newicon lgeneral48.png ${PN}.png - make_desktop_entry ${PN} LGeneral - prepgamesdirs -} -- cgit v1.2.3-65-gdbad