summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2010-01-07 07:50:57 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2010-01-07 07:50:57 +0000
commit51e4873f5bc75f18bb0e9cab1f05250bb4510e64 (patch)
treedebd69497cefbc93a21ffedc8a6c1c86065645a4 /games-board/mah-jong
parentMove here from ruby-ng testbed, including two patches. Add additional patch f... (diff)
downloadhistorical-51e4873f5bc75f18bb0e9cab1f05250bb4510e64.tar.gz
historical-51e4873f5bc75f18bb0e9cab1f05250bb4510e64.tar.bz2
historical-51e4873f5bc75f18bb0e9cab1f05250bb4510e64.zip
version bump
Package-Manager: portage-2.1.6.13/cvs/Linux i686
Diffstat (limited to 'games-board/mah-jong')
-rw-r--r--games-board/mah-jong/ChangeLog10
-rw-r--r--games-board/mah-jong/Manifest4
-rw-r--r--games-board/mah-jong/mah-jong-1.10.ebuild50
3 files changed, 61 insertions, 3 deletions
diff --git a/games-board/mah-jong/ChangeLog b/games-board/mah-jong/ChangeLog
index 81e9a83782ea..b45ba5988530 100644
--- a/games-board/mah-jong/ChangeLog
+++ b/games-board/mah-jong/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for games-board/mah-jong
-# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-board/mah-jong/ChangeLog,v 1.14 2008/06/25 19:19:20 nixnut Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-board/mah-jong/ChangeLog,v 1.15 2010/01/07 07:50:57 mr_bones_ Exp $
+
+*mah-jong-1.10 (07 Jan 2010)
+
+ 07 Jan 2010; Michael Sterrett <mr_bones_@gentoo.org>
+ +mah-jong-1.10.ebuild:
+ version bump
25 Jun 2008; nixnut <nixnut@gentoo.org> mah-jong-1.8.ebuild:
Stable on ppc wrt bug 229171
diff --git a/games-board/mah-jong/Manifest b/games-board/mah-jong/Manifest
index 5f41c0bf97ab..23c9ec897ada 100644
--- a/games-board/mah-jong/Manifest
+++ b/games-board/mah-jong/Manifest
@@ -1,4 +1,6 @@
+DIST mj-1.10-src.tar.gz 400283 RMD160 980cc684f23ed8875007d4a723f675507f93e037 SHA1 ee6d7bec076f0e4a94671189dab752054f17a578 SHA256 b3993a6f9efbb238415697631e048e04839a695e250b59e59173d7096373bc81
DIST mj-1.8-src.tar.gz 370814 RMD160 25c9375ad8fdae3d47c5e4062456608ea6e6b9f3 SHA1 a6f4d079d9e02e78d2e202ffece5ccfb959a0f3b SHA256 b27d7ec12be5efa705998de84421cfbe9f57dcaa2e3a1ebf1918f2c077c54c11
+EBUILD mah-jong-1.10.ebuild 1465 RMD160 fa6dccfa475ec1cb0a8e3a03aef357d69e40c609 SHA1 e4b5b96ce4a78cb68e0401de601726eca79fecba SHA256 ec424da6c2e36e83a5f7d1bea1eed58b2209727b12569c0c7953e25e513009d5
EBUILD mah-jong-1.8.ebuild 1485 RMD160 87fdd5eb7a5db30a6025522247e05e98d0b4c59a SHA1 ff444401386c8be16d7a5ce6ea1ceb34e557f3f6 SHA256 87aaafc346502288f8c588cc0eb0856323c4bec36d840e2c39177f3078187584
-MISC ChangeLog 1758 RMD160 e3c09f2532102109795b0b0490cf3c9b430c3011 SHA1 730552e771d4aa7f37a84d1e954658821eefd87e SHA256 3d98c8cf5a4c72ceb2ef918cbc556f6110b54c8ddf897d9742210db1f48eb93f
+MISC ChangeLog 1887 RMD160 cafd5bc064dd8b60144fb012dee886088c691bb7 SHA1 cc6a42ad7a933c61367a60b671f479e510160c16 SHA256 58fd4dfbf177cb3a3bd5e58429a4577940687225ef93cf535f9c00abf06c67f5
MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3
diff --git a/games-board/mah-jong/mah-jong-1.10.ebuild b/games-board/mah-jong/mah-jong-1.10.ebuild
new file mode 100644
index 000000000000..bf7bf13cb13a
--- /dev/null
+++ b/games-board/mah-jong/mah-jong-1.10.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-board/mah-jong/mah-jong-1.10.ebuild,v 1.1 2010/01/07 07:50:57 mr_bones_ Exp $
+
+EAPI=2
+inherit eutils toolchain-funcs games
+
+MY_P="mj-${PV}-src"
+DESCRIPTION="A networked Mah Jong program, together with a computer player"
+HOMEPAGE="http://www.stevens-bradfield.com/MahJong/"
+SRC_URI="http://mahjong.julianbradfield.org/Source/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+RDEPEND="x11-libs/gtk+:2"
+DEPEND="${RDEPEND}
+ dev-lang/perl"
+
+S=${WORKDIR}/${MY_P}
+
+src_prepare() {
+ sed -i \
+ -e '/^.TH/ s/1/6/' xmj.man \
+ || die "sed failed"
+ sed -i \
+ -e "/^DESTDIR =/ s:=.*:= ${D}:" \
+ -e "/^BINDIR =/ s:=.*:= ${GAMES_BINDIR}:" \
+ -e '/^MANDIR =/ s:man/man1:/usr/share/man/man6:' \
+ -e '/^MANSUFFIX =/ s:1:6:' \
+ -e "/^CC =/ s:gcc:$(tc-getCC):" \
+ -e "/^CFLAGS =/ s:=:= ${CFLAGS}:" \
+ -e "/^LDLIBS =/ s:$:${LDFLAGS}:" \
+ -e '/^INSTPGMFLAGS =/ s:-s::' \
+ -e '/^CDEBUGFLAGS =/d' \
+ -e "/^TILESETPATH=/ s:NULL:\"${GAMES_DATADIR}/${PN}/\":" Makefile \
+ || die "sed failed"
+}
+
+src_install() {
+ emake install install.man || die "emake install failed"
+ insinto "${GAMES_DATADIR}/${PN}"
+ doins -r fallbacktiles/ tiles-numbered/ tiles-small/ || die "doins failed"
+ newicon tiles-v1/tongE.xpm ${PN}.xpm
+ make_desktop_entry xmj Mah-Jong ${PN}
+ dodoc CHANGES ChangeLog *.txt
+ prepgamesdirs
+}