# ChangeLog for games-simulation/lincity
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-simulation/lincity/ChangeLog,v 1.7 2004/07/01 11:24:07 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-simulation/lincity/ChangeLog,v 1.8 2004/10/20 02:05:00 mr_bones_ Exp $
+
+ 19 Oct 2004; Michael Sterrett <mr_bones_@gentoo.org>
+ -files/lincity-1.11a-gcc3.patch, -lincity-1.12_pre53.ebuild:
+ clean older ebuild
01 Jul 2004; Jeremy Huddleston <eradicator@gentoo.org>
lincity-1.12.0.ebuild, lincity-1.12_pre53.ebuild:
-MD5 eea2b54068765ff973381ea6aa1e4188 ChangeLog 1991
+MD5 6c1a6bedb0aecb99c5e6995afb43835f ChangeLog 2130
MD5 1444c6a1a50d2893aa615a674dc14341 lincity-1.12.0.ebuild 1026
-MD5 9770cd333758537710a88505b1b85aa0 lincity-1.12_pre53.ebuild 896
MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
MD5 ab16786b51b4a6d8733158798194505d files/digest-lincity-1.12.0 66
-MD5 e26860a82f7b2aaa40ebff37d2ba5bfa files/digest-lincity-1.12_pre53 69
-MD5 f0c7afe8a3ed9c700239695a0388abf7 files/lincity-1.11a-gcc3.patch 1863
+++ /dev/null
---- ./Imakefile.orig 2002-10-01 00:55:45.000000000 -0400
-+++ ./Imakefile 2002-10-01 00:57:59.000000000 -0400
-@@ -8,7 +8,7 @@
-
- LOCAL_LIBRARIES = $(XLIB)
- DEPLIBS = $(DEPXLIB)
-- SYS_LIBRARIES = -lm
-+ SYS_LIBRARIES = -lm -lstdc++
-
- SRCS = main.cxx mouse.cxx screen.cxx mps.cxx typeinit.cxx\
- engine.cxx transport.cxx market.cxx help.cxx lcx11.cxx
---- ./Makefile.orig 2002-10-01 00:55:45.000000000 -0400
-+++ ./Makefile 2002-10-01 00:57:44.000000000 -0400
-@@ -1,19 +1,19 @@
- # Makefile for LinCity (c) I J Peters 1995,1996.
-
- # This is where the binaries for LinCity will be placed.
--LC_BINDIR = /usr/local/bin
-+LC_BINDIR = /usr/bin
- # for solaris you might choose...
- # LC_BINDIR = /opt/lcity/bin
-
- # This is where the library/data files will be placed.
--LC_LIBDIR = /usr/local/lib/lincity
-+LC_LIBDIR = /usr/lib/lincity
- # for solaris you might choose...
- # LC_LIBDIR = /opt/lcity/lib
-
- # export LC_LIBDIR
-
- # This is where the manpage will be placed.
--LC_MANDIR = /usr/local/man/man6
-+LC_MANDIR = /usr/man/man6
- LC_MANSUF = 6
- # for solaris you might choose...
- # LC_LIBDIR = /opt/lcity/man/man6
-@@ -250,7 +250,7 @@
- $(CC) -c picedit.cxx -o xpicedit.o $(CFLAGS) -DP_X
- imake -f XPImakefile -s XPMakefile $(LC_IMAKE_ARGS)
- make -f XPMakefile
-- cp xpicedit /usr/local/bin
-+ cp xpicedit /usr/bin
- -mkdir -p $(LC_LIBDIR)/opening
- cp opening/alt-8x8 $(LC_LIBDIR)/opening
- cp colour.pal $(LC_LIBDIR)
---- ./mouse.cxx.orig 2002-10-01 01:10:56.000000000 -0400
-+++ ./mouse.cxx 2002-10-01 01:11:10.000000000 -0400
-@@ -48,7 +48,7 @@
- cs_mouse_xmax = 640 - 1;
- cs_mouse_ymax = 480 - 1;
- Fgl_getbox (mox, moy, 8, 8, under_mouse_pointer);
-- mouse_seteventhandler (cs_mouse_handler);
-+ mouse_seteventhandler ((void*)cs_mouse_handler);
- }
-
- void
+++ /dev/null
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-simulation/lincity/lincity-1.12_pre53.ebuild,v 1.6 2004/07/01 11:24:07 eradicator Exp $
-
-inherit games
-
-MY_P=${P/_}
-DESCRIPTION="city/country simulation game for X and Linux SVGALib"
-SRC_URI="mirror://sourceforge/lincity/${MY_P}.tar.gz"
-HOMEPAGE="http://lincity.sourceforge.net/"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~x86 ~ppc ~amd64"
-IUSE="X svga"
-
-DEPEND="virtual/libc
- || (
- svga? ( media-libs/svgalib )
- X? ( virtual/x11 )
- virtual/x11 )"
-
-S=${WORKDIR}/${MY_P}
-
-src_compile() {
- egamesconf \
- --with-gzip \
- `use_with X x` \
- `use_with svga` \
- || die
- emake || die
-}
-
-src_install() {
- make install DESTDIR=${D} || die
- dodoc Acknowledgements CHANGES FAQ README* TODO
- cd ${D}/${GAMES_DATADIR}
- mv locale ${D}/usr/share/
- prepgamesdirs
-}