summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2012-03-06 14:52:50 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2012-03-06 14:52:50 +0000
commit26ae524e3e23c37df2c7642a20179a933e0386a3 (patch)
tree26a9bdd011f70b86ee83c790a50fb181d82e1518 /games-strategy
parentMarking eyeD3-0.6.18 ppc for bug 404711 (diff)
downloadhistorical-26ae524e3e23c37df2c7642a20179a933e0386a3.tar.gz
historical-26ae524e3e23c37df2c7642a20179a933e0386a3.tar.bz2
historical-26ae524e3e23c37df2c7642a20179a933e0386a3.zip
old
Package-Manager: portage-2.1.10.44/cvs/Linux i686
Diffstat (limited to 'games-strategy')
-rw-r--r--games-strategy/lgeneral/ChangeLog12
-rw-r--r--games-strategy/lgeneral/Manifest24
-rw-r--r--games-strategy/lgeneral/files/lgeneral-1.2-as-needed.patch13
-rw-r--r--games-strategy/lgeneral/files/lgeneral-1.2-build.patch22
-rw-r--r--games-strategy/lgeneral/files/lgeneral-1.2-gentoo-path.patch26
-rw-r--r--games-strategy/lgeneral/files/lgeneral-1.2-make-382.patch23
-rw-r--r--games-strategy/lgeneral/files/lgeneral-1.2.1-as-needed.patch13
-rw-r--r--games-strategy/lgeneral/files/lgeneral-1.2.1-build.patch22
-rw-r--r--games-strategy/lgeneral/files/lgeneral-1.2.1-gentoo-path.patch26
-rw-r--r--games-strategy/lgeneral/files/lgeneral-1.2.1-make-382.patch23
-rw-r--r--games-strategy/lgeneral/lgeneral-1.2.1.ebuild97
-rw-r--r--games-strategy/lgeneral/lgeneral-1.2.ebuild97
12 files changed, 11 insertions, 387 deletions
diff --git a/games-strategy/lgeneral/ChangeLog b/games-strategy/lgeneral/ChangeLog
index 7988ef216c2d..7bb8eec8371b 100644
--- a/games-strategy/lgeneral/ChangeLog
+++ b/games-strategy/lgeneral/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for games-strategy/lgeneral
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/lgeneral/ChangeLog,v 1.37 2011/10/08 16:30:27 phajdan.jr Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/lgeneral/ChangeLog,v 1.38 2012/03/06 14:52:50 mr_bones_ Exp $
+
+ 06 Mar 2012; Michael Sterrett <mr_bones_@gentoo.org>
+ -files/lgeneral-1.2-as-needed.patch, -files/lgeneral-1.2-build.patch,
+ -files/lgeneral-1.2-gentoo-path.patch, -files/lgeneral-1.2-make-382.patch,
+ -files/lgeneral-1.2.1-as-needed.patch, -files/lgeneral-1.2.1-build.patch,
+ -files/lgeneral-1.2.1-gentoo-path.patch, -files/lgeneral-1.2.1-make-382.patch,
+ -lgeneral-1.2.1.ebuild, -lgeneral-1.2.ebuild:
+ old
08 Oct 2011; Pawel Hajdan jr <phajdan.jr@gentoo.org> lgeneral-1.2.2.ebuild:
x86 stable wrt bug #385893
diff --git a/games-strategy/lgeneral/Manifest b/games-strategy/lgeneral/Manifest
index bd15893501a8..0edbf7b152d0 100644
--- a/games-strategy/lgeneral/Manifest
+++ b/games-strategy/lgeneral/Manifest
@@ -1,27 +1,5 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA512
-
-AUX lgeneral-1.2-as-needed.patch 612 RMD160 02544dc797204833abbf6af038db72e186875b85 SHA1 1007f8ed65729d64034111674b337d78c79e3df9 SHA256 df8836548190ba37deaae02b43e0dab918fcfb91bea930e4b4b4283b22d00eed
-AUX lgeneral-1.2-build.patch 433 RMD160 d72f8a8880160eac98b3b12911d7c7bcfaeff879 SHA1 e4a74c96064619afabd3937687b77feb31839728 SHA256 9375b01149aace13ef1800cb7839cb16f6a2d0833f8b125e1e9e94a108fd9db8
-AUX lgeneral-1.2-gentoo-path.patch 1046 RMD160 6e0d9261d0ab8888a32b774ef478dd5a61fcb81b SHA1 144dad5e2d69e6ccd9446ecf7295a1d3e5be0cf6 SHA256 0ce3a09869bdf581d4593e11227bb8ef575f2742005095bc5417150d99af298b
-AUX lgeneral-1.2-make-382.patch 794 RMD160 a382f445a74ac9dbdb33345688307068edac1ad8 SHA1 2ce71c111c6e090f12cac95cf577b8f561a9d8a3 SHA256 5d3d878b1188973158cd1ca15abbfcc585353a112da5a1e72c6163dad5807346
-AUX lgeneral-1.2.1-as-needed.patch 612 RMD160 02544dc797204833abbf6af038db72e186875b85 SHA1 1007f8ed65729d64034111674b337d78c79e3df9 SHA256 df8836548190ba37deaae02b43e0dab918fcfb91bea930e4b4b4283b22d00eed
-AUX lgeneral-1.2.1-build.patch 433 RMD160 d72f8a8880160eac98b3b12911d7c7bcfaeff879 SHA1 e4a74c96064619afabd3937687b77feb31839728 SHA256 9375b01149aace13ef1800cb7839cb16f6a2d0833f8b125e1e9e94a108fd9db8
-AUX lgeneral-1.2.1-gentoo-path.patch 1046 RMD160 6e0d9261d0ab8888a32b774ef478dd5a61fcb81b SHA1 144dad5e2d69e6ccd9446ecf7295a1d3e5be0cf6 SHA256 0ce3a09869bdf581d4593e11227bb8ef575f2742005095bc5417150d99af298b
-AUX lgeneral-1.2.1-make-382.patch 794 RMD160 a382f445a74ac9dbdb33345688307068edac1ad8 SHA1 2ce71c111c6e090f12cac95cf577b8f561a9d8a3 SHA256 5d3d878b1188973158cd1ca15abbfcc585353a112da5a1e72c6163dad5807346
-DIST lgeneral-1.2.1.tar.gz 1721089 RMD160 b21f5a623df68fb51bd1b6c760349e55c13aaf6c SHA1 afb85085a7a12f05045565fd1723d270c1aa904a SHA256 94fabf87a82e99708a858cde3a53824cec1998c5f02b111178a6b6e46e7d97f6
DIST lgeneral-1.2.2.tar.gz 1628913 RMD160 21299a3cc6114a728d4a510efdbf982d6bb2037a SHA1 6098057874fac023ba7870620feaab1b7ac29705 SHA256 1817c409120b9e5f51da2cd43c96c5eda91d6a1207417eeb3e8bacd11248eb74
-DIST lgeneral-1.2.tar.gz 1727728 RMD160 aa154290847a577c36dd6cc3d38bc4491821dbf4 SHA1 dc7d90e90bf9ff85ab35ed5c2b78072d7e716ad6 SHA256 00bdf242c64c544511f359576f5bae799336f23b81849225ac29d7e61c687ce3
DIST pg-data.tar.gz 410454 RMD160 0f05a0a521639cdf04c8fe6ac8950d5794ccdb0a SHA1 d78db7705e55751332fd1163311311ec36fff3ea SHA256 f2f74022cf8c279451911dda0a57cffab26ebf11429d61a6596310340ed23f76
-EBUILD lgeneral-1.2.1.ebuild 2353 RMD160 c5ecfb2f01ff6359638908dd37f9a6bd2583fe73 SHA1 9b95c9b4617e4dfe6c065ecfc51bab67d11791d3 SHA256 2d0c7219dfa176b631bfeef9c7858f47c714cc24ac5c8c9ec89d9e3eb26d1615
EBUILD lgeneral-1.2.2.ebuild 2190 RMD160 cd5f14e5bf1b355f0a6d4345b683bbfdac2c0057 SHA1 629f32c997101f9a26ce13418d79e32d8b2b0c01 SHA256 e38006592d570556fba2b9ddf6c150f25db862c7727baa9a3d09c040ae5e9ac2
-EBUILD lgeneral-1.2.ebuild 2348 RMD160 12233cf281a0731dc79b61607b098644e1a5c3dd SHA1 d08967b06179835523dcb91c48e10fbb97a8ba60 SHA256 92d2f6cb6dfa28ea6c95df2171358875cedd94471eee6a0b2f88109680d6fc30
-MISC ChangeLog 7128 RMD160 a0b7e58809e6ed79c196f83c40ae33de4b229578 SHA1 2a55e66fbea83de99f21df88ef60f1352f29dc35 SHA256 9c260e5b99a897b93db50de10981d644c8b7243791a1b9fde5799ab947b46b26
+MISC ChangeLog 7543 RMD160 1019a11812a99c3283a780a5124f39937351aa89 SHA1 469d273527e5409ef782a1483218c4304b32a51d SHA256 d35c8384291e5b39478179070ce1b907f5646c556316ec6bd5396106ca8fea08
MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.17 (GNU/Linux)
-
-iEYEAREKAAYFAk6QeqoACgkQuUQtlDBCeQI1QwCbBgg9ATEmChFu6g+bGLMLrZDq
-RE8AnA3hXBeNXcn2gKMZBcS48qIGp6EZ
-=LX74
------END PGP SIGNATURE-----
diff --git a/games-strategy/lgeneral/files/lgeneral-1.2-as-needed.patch b/games-strategy/lgeneral/files/lgeneral-1.2-as-needed.patch
deleted file mode 100644
index 9044dc4a6fa7..000000000000
--- a/games-strategy/lgeneral/files/lgeneral-1.2-as-needed.patch
+++ /dev/null
@@ -1,13 +0,0 @@
---- tools/ltrextract/Makefile.am.old 2009-02-12 09:48:37.000000000 +0100
-+++ tools/ltrextract/Makefile.am 2009-02-12 09:50:36.000000000 +0100
-@@ -3,9 +3,8 @@
-
- bin_PROGRAMS = ltrextract
-
--LIBS = $(top_builddir)/util/libutil.a $(INTLLIBS)
- AM_CFLAGS = -DLTREXTRACT -I$(LGENERAL_PATH) -I$(top_srcdir) -I$(top_srcdir)/util $(INTLINCLUDES)
--ltrextract_LDFLAGS = -lm
-+ltrextract_LDADD = $(top_builddir)/util/libutil.a $(INTLLIBS)
- ltrextract_SOURCES = ltrextract.c util.c util.h \
- terrain.c terrain.h map.c map.h nation.c nation.h \
- unit_lib.c unit_lib.h scenario.c scenario.h campaign.c campaign.h \
diff --git a/games-strategy/lgeneral/files/lgeneral-1.2-build.patch b/games-strategy/lgeneral/files/lgeneral-1.2-build.patch
deleted file mode 100644
index 026a1be4c4c7..000000000000
--- a/games-strategy/lgeneral/files/lgeneral-1.2-build.patch
+++ /dev/null
@@ -1,22 +0,0 @@
---- configure.in.old 2010-11-30 22:46:20.190215458 -0500
-+++ configure.in 2010-11-30 22:47:07.138144807 -0500
-@@ -11,9 +11,10 @@
- dnl Checks for programs.
- AC_PROG_CC
- AC_PROG_RANLIB
-+AM_PROG_CC_C_O
-
- dnl various CFLAGS
--CFLAGS="$CFLAGS -g -Wall"
-+CFLAGS="$CFLAGS -Wall"
- #CFLAGS="-O0 -g -Wall"
-
- dnl Checks for libraries.
-@@ -36,6 +37,7 @@
- dnl L10n support
- ALL_LINGUAS="en de"
-
-+AC_GNU_SOURCE
- AM_GNU_GETTEXT
-
- XGETTEXTFLAGS=
diff --git a/games-strategy/lgeneral/files/lgeneral-1.2-gentoo-path.patch b/games-strategy/lgeneral/files/lgeneral-1.2-gentoo-path.patch
deleted file mode 100644
index 17882ddac868..000000000000
--- a/games-strategy/lgeneral/files/lgeneral-1.2-gentoo-path.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-diff -ru lgeneral-1.2.orig/configure.in lgeneral-1.2/configure.in
---- lgeneral-1.2.orig/configure.in 2010-09-28 13:44:39.000000000 -0400
-+++ lgeneral-1.2/configure.in 2010-11-30 22:37:30.245177173 -0500
-@@ -106,13 +106,8 @@
-
- dnl find out whether we can determine the path of the running executable
- ac_paths_determ=generic
--AC_MSG_CHECKING(if executable's path can be determined at runtime)
--readlink /proc/$$/exe >/dev/null 2>&1 && ac_paths_determ=linux
--ac_can_determ_paths=yes
--if test x$ac_paths_determ = xgeneric ; then
- ac_can_determ_paths=no
- AC_DEFINE_UNQUOTED(PATHS_GENERIC, 1, [Defined if detecting executable's path name is not supported at runtime.])
--fi
- AC_MSG_RESULT($ac_can_determ_paths)
- AC_MSG_RESULT(executable's path determination strategy... $ac_paths_determ)
- AM_CONDITIONAL(compile_paths_linux, test x$ac_paths_determ = xlinux)
-@@ -150,7 +145,7 @@
- AC_SUBST(dl_lib_flag)
-
- dnl installation path
--inst_dir=$datadir/games/lgeneral
-+inst_dir=$datadir/lgeneral
- inst_flag="-DINSTALLDIR=\\\"$inst_dir\\\""
-
- dis_flag=""
diff --git a/games-strategy/lgeneral/files/lgeneral-1.2-make-382.patch b/games-strategy/lgeneral/files/lgeneral-1.2-make-382.patch
deleted file mode 100644
index f4eed33c2bdb..000000000000
--- a/games-strategy/lgeneral/files/lgeneral-1.2-make-382.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-http://bugs.gentoo.org/337610
-
---- intl/Makefile.in
-+++ intl/Makefile.in
-@@ -206,12 +206,12 @@
- # The dependency for intlh.inst is different in gettext and all other
- # packages. Because we cannot you GNU make features we have to solve
- # the problem while rewriting Makefile.in.
--@GT_YES@intlh.inst: intlh.inst.in ../config.status
--@GT_YES@ cd .. \
--@GT_YES@ && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= \
--@GT_YES@ $(SHELL) ./config.status
--@GT_NO@.PHONY: intlh.inst
--@GT_NO@intlh.inst:
-+intlh.inst: intlh.inst.in ../config.status
-+ cd .. \
-+ && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= \
-+ $(SHELL) ./config.status
-+.PHONY: intlh.inst
-+intlh.inst:
-
- # Tell versions [3.59,3.63) of GNU make not to export all variables.
- # Otherwise a system limit (for SysV at least) may be exceeded.
diff --git a/games-strategy/lgeneral/files/lgeneral-1.2.1-as-needed.patch b/games-strategy/lgeneral/files/lgeneral-1.2.1-as-needed.patch
deleted file mode 100644
index 9044dc4a6fa7..000000000000
--- a/games-strategy/lgeneral/files/lgeneral-1.2.1-as-needed.patch
+++ /dev/null
@@ -1,13 +0,0 @@
---- tools/ltrextract/Makefile.am.old 2009-02-12 09:48:37.000000000 +0100
-+++ tools/ltrextract/Makefile.am 2009-02-12 09:50:36.000000000 +0100
-@@ -3,9 +3,8 @@
-
- bin_PROGRAMS = ltrextract
-
--LIBS = $(top_builddir)/util/libutil.a $(INTLLIBS)
- AM_CFLAGS = -DLTREXTRACT -I$(LGENERAL_PATH) -I$(top_srcdir) -I$(top_srcdir)/util $(INTLINCLUDES)
--ltrextract_LDFLAGS = -lm
-+ltrextract_LDADD = $(top_builddir)/util/libutil.a $(INTLLIBS)
- ltrextract_SOURCES = ltrextract.c util.c util.h \
- terrain.c terrain.h map.c map.h nation.c nation.h \
- unit_lib.c unit_lib.h scenario.c scenario.h campaign.c campaign.h \
diff --git a/games-strategy/lgeneral/files/lgeneral-1.2.1-build.patch b/games-strategy/lgeneral/files/lgeneral-1.2.1-build.patch
deleted file mode 100644
index 026a1be4c4c7..000000000000
--- a/games-strategy/lgeneral/files/lgeneral-1.2.1-build.patch
+++ /dev/null
@@ -1,22 +0,0 @@
---- configure.in.old 2010-11-30 22:46:20.190215458 -0500
-+++ configure.in 2010-11-30 22:47:07.138144807 -0500
-@@ -11,9 +11,10 @@
- dnl Checks for programs.
- AC_PROG_CC
- AC_PROG_RANLIB
-+AM_PROG_CC_C_O
-
- dnl various CFLAGS
--CFLAGS="$CFLAGS -g -Wall"
-+CFLAGS="$CFLAGS -Wall"
- #CFLAGS="-O0 -g -Wall"
-
- dnl Checks for libraries.
-@@ -36,6 +37,7 @@
- dnl L10n support
- ALL_LINGUAS="en de"
-
-+AC_GNU_SOURCE
- AM_GNU_GETTEXT
-
- XGETTEXTFLAGS=
diff --git a/games-strategy/lgeneral/files/lgeneral-1.2.1-gentoo-path.patch b/games-strategy/lgeneral/files/lgeneral-1.2.1-gentoo-path.patch
deleted file mode 100644
index 17882ddac868..000000000000
--- a/games-strategy/lgeneral/files/lgeneral-1.2.1-gentoo-path.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-diff -ru lgeneral-1.2.orig/configure.in lgeneral-1.2/configure.in
---- lgeneral-1.2.orig/configure.in 2010-09-28 13:44:39.000000000 -0400
-+++ lgeneral-1.2/configure.in 2010-11-30 22:37:30.245177173 -0500
-@@ -106,13 +106,8 @@
-
- dnl find out whether we can determine the path of the running executable
- ac_paths_determ=generic
--AC_MSG_CHECKING(if executable's path can be determined at runtime)
--readlink /proc/$$/exe >/dev/null 2>&1 && ac_paths_determ=linux
--ac_can_determ_paths=yes
--if test x$ac_paths_determ = xgeneric ; then
- ac_can_determ_paths=no
- AC_DEFINE_UNQUOTED(PATHS_GENERIC, 1, [Defined if detecting executable's path name is not supported at runtime.])
--fi
- AC_MSG_RESULT($ac_can_determ_paths)
- AC_MSG_RESULT(executable's path determination strategy... $ac_paths_determ)
- AM_CONDITIONAL(compile_paths_linux, test x$ac_paths_determ = xlinux)
-@@ -150,7 +145,7 @@
- AC_SUBST(dl_lib_flag)
-
- dnl installation path
--inst_dir=$datadir/games/lgeneral
-+inst_dir=$datadir/lgeneral
- inst_flag="-DINSTALLDIR=\\\"$inst_dir\\\""
-
- dis_flag=""
diff --git a/games-strategy/lgeneral/files/lgeneral-1.2.1-make-382.patch b/games-strategy/lgeneral/files/lgeneral-1.2.1-make-382.patch
deleted file mode 100644
index f4eed33c2bdb..000000000000
--- a/games-strategy/lgeneral/files/lgeneral-1.2.1-make-382.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-http://bugs.gentoo.org/337610
-
---- intl/Makefile.in
-+++ intl/Makefile.in
-@@ -206,12 +206,12 @@
- # The dependency for intlh.inst is different in gettext and all other
- # packages. Because we cannot you GNU make features we have to solve
- # the problem while rewriting Makefile.in.
--@GT_YES@intlh.inst: intlh.inst.in ../config.status
--@GT_YES@ cd .. \
--@GT_YES@ && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= \
--@GT_YES@ $(SHELL) ./config.status
--@GT_NO@.PHONY: intlh.inst
--@GT_NO@intlh.inst:
-+intlh.inst: intlh.inst.in ../config.status
-+ cd .. \
-+ && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= \
-+ $(SHELL) ./config.status
-+.PHONY: intlh.inst
-+intlh.inst:
-
- # Tell versions [3.59,3.63) of GNU make not to export all variables.
- # Otherwise a system limit (for SysV at least) may be exceeded.
diff --git a/games-strategy/lgeneral/lgeneral-1.2.1.ebuild b/games-strategy/lgeneral/lgeneral-1.2.1.ebuild
deleted file mode 100644
index d7a3bfb22aa5..000000000000
--- a/games-strategy/lgeneral/lgeneral-1.2.1.ebuild
+++ /dev/null
@@ -1,97 +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.1.ebuild,v 1.1 2011/07/20 16:36:57 mr_bones_ 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() {
- epatch \
- "${FILESDIR}"/${P}-gentoo-path.patch \
- "${FILESDIR}"/${P}-build.patch \
- "${FILESDIR}"/${P}-as-needed.patch \
- "${FILESDIR}"/${P}-make-382.patch
-
- 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
-}
diff --git a/games-strategy/lgeneral/lgeneral-1.2.ebuild b/games-strategy/lgeneral/lgeneral-1.2.ebuild
deleted file mode 100644
index 83f9a22aa0d7..000000000000
--- a/games-strategy/lgeneral/lgeneral-1.2.ebuild
+++ /dev/null
@@ -1,97 +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.ebuild,v 1.3 2011/01/04 22:44:31 hwoarang 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() {
- epatch \
- "${FILESDIR}"/${P}-gentoo-path.patch \
- "${FILESDIR}"/${P}-build.patch \
- "${FILESDIR}"/${P}-as-needed.patch \
- "${FILESDIR}"/${P}-make-382.patch
-
- 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
-}