diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2006-12-21 08:47:58 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2006-12-21 08:47:58 +0000 |
commit | 8269dafeb9bc8656f7288e8c01e3a2d01224d376 (patch) | |
tree | 7a7333987cef9685bce2ec8952e3517aa9f3fd58 /games-puzzle/enigma | |
parent | add patch to work with newer GNU make from Jeremy Wilkins via bug #158705 (diff) | |
download | gentoo-2-8269dafeb9bc8656f7288e8c01e3a2d01224d376.tar.gz gentoo-2-8269dafeb9bc8656f7288e8c01e3a2d01224d376.tar.bz2 gentoo-2-8269dafeb9bc8656f7288e8c01e3a2d01224d376.zip |
version bump (bug #158362)
(Portage version: 2.1.1-r2)
Diffstat (limited to 'games-puzzle/enigma')
-rw-r--r-- | games-puzzle/enigma/ChangeLog | 7 | ||||
-rw-r--r-- | games-puzzle/enigma/enigma-1.00.ebuild | 63 | ||||
-rw-r--r-- | games-puzzle/enigma/files/digest-enigma-1.00 | 3 |
3 files changed, 72 insertions, 1 deletions
diff --git a/games-puzzle/enigma/ChangeLog b/games-puzzle/enigma/ChangeLog index 1b39320247a3..39255eff1c08 100644 --- a/games-puzzle/enigma/ChangeLog +++ b/games-puzzle/enigma/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for games-puzzle/enigma # Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-puzzle/enigma/ChangeLog,v 1.25 2006/10/05 18:11:51 nyhm Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-puzzle/enigma/ChangeLog,v 1.26 2006/12/21 08:47:58 mr_bones_ Exp $ + +*enigma-1.00 (21 Dec 2006) + + 21 Dec 2006; Michael Sterrett <mr_bones_@gentoo.org> +enigma-1.00.ebuild: + version bump (bug #158362) 05 Oct 2006; Tristan Heaven <nyhm@gentoo.org> enigma-0.92.ebuild: Fix gettext dependency diff --git a/games-puzzle/enigma/enigma-1.00.ebuild b/games-puzzle/enigma/enigma-1.00.ebuild new file mode 100644 index 000000000000..084a71f30b18 --- /dev/null +++ b/games-puzzle/enigma/enigma-1.00.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-puzzle/enigma/enigma-1.00.ebuild,v 1.1 2006/12/21 08:47:58 mr_bones_ Exp $ + +inherit eutils games + +DESCRIPTION="puzzle game similar to Oxyd" +HOMEPAGE="http://www.nongnu.org/enigma/" +SRC_URI="http://download.berlios.de/enigma-game/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" +IUSE="nls" + +RDEPEND="media-libs/sdl-ttf + >=media-libs/libsdl-1.2.0 + >=media-libs/sdl-mixer-1.2.4 + >=media-libs/sdl-image-1.2.0 + >=dev-lang/lua-4.0 + dev-libs/xerces-c + nls? ( virtual/libintl )" +DEPEND="${RDEPEND} + nls? ( sys-devel/gettext )" + +src_unpack() { + unpack ${A} + cd "${S}" + + # fix up the locale install location + if use nls ; then + sed -i \ + -e "/^datadir/s:=.*:= /usr/share:" \ + po/Makefile.in.in \ + src/Makefile.am \ + || die "sed failed" + fi + + # thanks, we'll handle the doc install ourselves. + sed -i \ + -e 's/: install-docDATA/:/' \ + -e '/^SUBDIRS/s/doc//' Makefile.in \ + || die "sed failed" +} + +src_compile() { + egamesconf \ + --disable-dependency-tracking \ + --enable-optimize \ + $(use_enable nls) \ + || die + emake || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + mv "${D}/${GAMES_PREFIX}/share/"* "${D}/usr/share/" + rm -r "${D}/${GAMES_PREFIX}/share" + dodoc ACKNOWLEDGEMENTS AUTHORS CHANGES README doc/HACKING + dohtml -r doc/* + doman doc/enigma.6 + prepgamesdirs +} diff --git a/games-puzzle/enigma/files/digest-enigma-1.00 b/games-puzzle/enigma/files/digest-enigma-1.00 new file mode 100644 index 000000000000..7577edefaf11 --- /dev/null +++ b/games-puzzle/enigma/files/digest-enigma-1.00 @@ -0,0 +1,3 @@ +MD5 428a9cce666cd45812e785f00a483ef9 enigma-1.00.tar.gz 10466968 +RMD160 a2ddd9600cddaf6b52c02af1c5631c8c4cd69045 enigma-1.00.tar.gz 10466968 +SHA256 c44f36ef28c8bed1f5d5090edbe4cedda6f37472e729eed3406a350365ca32be enigma-1.00.tar.gz 10466968 |