summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2004-05-10 02:17:02 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2004-05-10 02:17:02 +0000
commitfb773d391804e339321247529e979e44a6b66410 (patch)
treee0558c7f1a446295f74c0d620009dd74a83e5699 /games-board/mah-jong
parentversion bump (diff)
downloadhistorical-fb773d391804e339321247529e979e44a6b66410.tar.gz
historical-fb773d391804e339321247529e979e44a6b66410.tar.bz2
historical-fb773d391804e339321247529e979e44a6b66410.zip
version bump
Diffstat (limited to 'games-board/mah-jong')
-rw-r--r--games-board/mah-jong/ChangeLog7
-rw-r--r--games-board/mah-jong/Manifest4
-rw-r--r--games-board/mah-jong/files/digest-mah-jong-1.6.31
-rw-r--r--games-board/mah-jong/mah-jong-1.6.3.ebuild50
4 files changed, 60 insertions, 2 deletions
diff --git a/games-board/mah-jong/ChangeLog b/games-board/mah-jong/ChangeLog
index 3cc875127245..7201092c0634 100644
--- a/games-board/mah-jong/ChangeLog
+++ b/games-board/mah-jong/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for games-board/mah-jong
# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-board/mah-jong/ChangeLog,v 1.2 2004/03/18 09:39:08 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-board/mah-jong/ChangeLog,v 1.3 2004/05/10 02:17:02 mr_bones_ Exp $
+
+*mah-jong-1.6.3 (09 May 2004)
+
+ 09 May 2004; Michael Sterrett <mr_bones_@gentoo.org> mah-jong-1.6.3.ebuild:
+ version bump
18 Mar 2004; Michael Sterrett <mr_bones_@gentoo.org> mah-jong-1.6.ebuild:
mark amd64 for bug #44639
diff --git a/games-board/mah-jong/Manifest b/games-board/mah-jong/Manifest
index f1240c39a6fa..0185bcf9b9a0 100644
--- a/games-board/mah-jong/Manifest
+++ b/games-board/mah-jong/Manifest
@@ -1,4 +1,6 @@
MD5 539bbf95d2790035f814cc9d0b5c0f3a mah-jong-1.6.ebuild 1337
MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
-MD5 936752f6caf7440ff309c1a0c7188b55 ChangeLog 490
+MD5 09b530b3c678a49f40c412ebbf295e23 ChangeLog 615
+MD5 64baede6831a9cf3ff9b190706a598dd mah-jong-1.6.3.ebuild 1342
MD5 5f90c97fdd4915658eaa642c7f0dfa32 files/digest-mah-jong-1.6 62
+MD5 e9db719c11a3abdbd7b7c6079de117d2 files/digest-mah-jong-1.6.3 64
diff --git a/games-board/mah-jong/files/digest-mah-jong-1.6.3 b/games-board/mah-jong/files/digest-mah-jong-1.6.3
new file mode 100644
index 000000000000..2edf6c857ce1
--- /dev/null
+++ b/games-board/mah-jong/files/digest-mah-jong-1.6.3
@@ -0,0 +1 @@
+MD5 6eb066e96455e35ba4faad5b2cf46a34 mj-1.6.3-src.tar.gz 304959
diff --git a/games-board/mah-jong/mah-jong-1.6.3.ebuild b/games-board/mah-jong/mah-jong-1.6.3.ebuild
new file mode 100644
index 000000000000..52a9c6848ac8
--- /dev/null
+++ b/games-board/mah-jong/mah-jong-1.6.3.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-board/mah-jong/mah-jong-1.6.3.ebuild,v 1.1 2004/05/10 02:17:02 mr_bones_ Exp $
+
+inherit games
+
+MY_P="mj-${PV}-src"
+S="${WORKDIR}/${MY_P}"
+DESCRIPTION="A networked Mah Jong program, together with a computer player"
+HOMEPAGE="http://www.stevens-bradfield.com/MahJong/"
+SRC_URI="http://www.stevens-bradfield.com/MahJong/Source/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86 amd64"
+IUSE=""
+
+RDEPEND="virtual/x11
+ =x11-libs/gtk+-1.2*"
+DEPEND="${RDEPEND}
+ dev-lang/perl
+ >=sys-apps/sed-4"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+ sed -i \
+ -e '/^.TH/ s/1/6/' xmj.man \
+ || die "sed xmj.man 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 "/^CFLAGS =/ s:=:= ${CFLAGS}:" \
+ -e "/^TILESETPATH=/ s:NULL:\"${GAMES_DATADIR}/${PN}/\":" Makefile \
+ || die "sed Makefile failed"
+}
+
+src_install() {
+ make install install.man || die "make install failed"
+ dodir "${GAMES_DATADIR}/${PN}"
+ cp -R fallbacktiles/ \
+ tiles-numbered/ \
+ tiles-small/ "${D}${GAMES_DATADIR}/${PN}" \
+ || die "cp failed"
+ dodoc CHANGES ChangeLog *.txt
+ prepgamesdirs
+}