diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2004-04-08 23:27:03 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2004-04-08 23:27:03 +0000 |
commit | 71dd7fac10f6e0253ee0f301a284c8bcbc3e037d (patch) | |
tree | c107b514a4d10c5b9f2e633fd58c75c6b4625896 /games-strategy/liquidwar | |
parent | Change KEYWORDS to ~x86 only, at genone's request. (Manifest recommit) (diff) | |
download | gentoo-2-71dd7fac10f6e0253ee0f301a284c8bcbc3e037d.tar.gz gentoo-2-71dd7fac10f6e0253ee0f301a284c8bcbc3e037d.tar.bz2 gentoo-2-71dd7fac10f6e0253ee0f301a284c8bcbc3e037d.zip |
version bump
Diffstat (limited to 'games-strategy/liquidwar')
-rw-r--r-- | games-strategy/liquidwar/ChangeLog | 7 | ||||
-rw-r--r-- | games-strategy/liquidwar/Manifest | 6 | ||||
-rw-r--r-- | games-strategy/liquidwar/files/digest-liquidwar-5.6.2 | 1 | ||||
-rw-r--r-- | games-strategy/liquidwar/liquidwar-5.6.2.ebuild | 53 |
4 files changed, 64 insertions, 3 deletions
diff --git a/games-strategy/liquidwar/ChangeLog b/games-strategy/liquidwar/ChangeLog index 2e602fee1db5..0a6e009caf9e 100644 --- a/games-strategy/liquidwar/ChangeLog +++ b/games-strategy/liquidwar/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for games-strategy/liquidwar # Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-strategy/liquidwar/ChangeLog,v 1.4 2004/01/13 06:17:30 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-strategy/liquidwar/ChangeLog,v 1.5 2004/04/08 23:27:03 mr_bones_ Exp $ + +*liquidwar-5.6.2 (08 Apr 2004) + + 08 Apr 2004; Michael Sterrett <mr_bones_@gentoo.org> liquidwar-5.6.2.ebuild: + version bump *liquidwar-5.6.1 (12 Jan 2004) diff --git a/games-strategy/liquidwar/Manifest b/games-strategy/liquidwar/Manifest index f514850d9f39..01c306b37a77 100644 --- a/games-strategy/liquidwar/Manifest +++ b/games-strategy/liquidwar/Manifest @@ -1,5 +1,7 @@ -MD5 29a673ba920badafbb70251f63177d18 files/liquidwar-gcc-3.3-fix.patch 1134 -MD5 501e5f0f75ebd8b160bb68a0511dff51 files/digest-liquidwar-5.6.1 68 MD5 2ef32319fdceae2331ebf19a7eb30d0a ChangeLog 1708 +MD5 fa6220bb092e1453df8c0e804b81a59f liquidwar-5.6.2.ebuild 792 MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158 MD5 191691ca00df6838ea8264b880d9394f liquidwar-5.6.1.ebuild 1089 +MD5 baa58ba47700f8e6b8525f9d35093e57 files/digest-liquidwar-5.6.2 68 +MD5 29a673ba920badafbb70251f63177d18 files/liquidwar-gcc-3.3-fix.patch 1134 +MD5 501e5f0f75ebd8b160bb68a0511dff51 files/digest-liquidwar-5.6.1 68 diff --git a/games-strategy/liquidwar/files/digest-liquidwar-5.6.2 b/games-strategy/liquidwar/files/digest-liquidwar-5.6.2 new file mode 100644 index 000000000000..32512302a474 --- /dev/null +++ b/games-strategy/liquidwar/files/digest-liquidwar-5.6.2 @@ -0,0 +1 @@ +MD5 981c5f00ddf2364c7b9d31fea82852be liquidwar-5.6.2.tar.gz 2973938 diff --git a/games-strategy/liquidwar/liquidwar-5.6.2.ebuild b/games-strategy/liquidwar/liquidwar-5.6.2.ebuild new file mode 100644 index 000000000000..4fc550d928d6 --- /dev/null +++ b/games-strategy/liquidwar/liquidwar-5.6.2.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-strategy/liquidwar/liquidwar-5.6.2.ebuild,v 1.1 2004/04/08 23:27:03 mr_bones_ Exp $ + +inherit flag-o-matic games + +DESCRIPTION="unique multiplayer wargame" +HOMEPAGE="http://www.ufoot.org/liquidwar/" +SRC_URI="http://liquidwar.sunsite.dk/archive/${P}.tar.gz" + +KEYWORDS="x86" +LICENSE="GPL-2" +SLOT="0" +IUSE="nls" + +RDEPEND=">media-libs/allegro-4.0" +DEPEND="${RDEPEND} + >=sys-apps/sed-4" + +src_unpack() { + unpack ${A} + cd ${S} + sed -i \ + -e 's:/games::' \ + -e '/^MANDIR/ s:=.*:= $(mandir)/man6:' \ + -e '/^PIXDIR/ s:=.*:= /usr/share/pixmaps:' \ + -e '/^DESKTOPDIR/ s:=.*:= /usr/share/applnk/Games/:' \ + -e '/^INFODIR/ s/=.*/= $(infodir)/' \ + -e '/^GAMEDIR/ s/exec_prefix/bindir/' \ + -e 's:$(DOCDIR)/txt:$(DOCDIR):g' \ + -e 's:$(GMAKE):$(MAKE):' \ + -e '/^DOCDIR/ s:=.*:= /usr/share/doc/$(P):' Makefile.in \ + || die 'sed Makefile.in failed' + sed -i \ + -e '/^GAMEDIR/ s/$(exec_prefix)/@bindir@/' \ + -e 's:/games::' src/Makefile.in \ + || die "sed src/Makefile.in failed" +} + +src_compile() { + # Fixes build problem with gcc3 and -march=pentium4 + replace-flags "-march=pentium4" "-march=pentium3" + egamesconf --disable-doc-ps --disable-doc-pdf || die + emake || die "emake failed" +} + +src_install() { + make DESTDIR="${D}" install_nolink || die "make install failed" + rm -f "${D}/usr/share/doc/${P}/COPYING" + use nls || rm -f "${D}/usr/share/doc/${P}/README.*" + gzip -9 "${D}/usr/share/doc/${P}/"{[A-Z]*,*txt} + prepgamesdirs +} |