summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2003-11-05 10:04:53 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2003-11-05 10:04:53 +0000
commitc101e8c98385b3232a45179036943a9f59f669b5 (patch)
tree178e2843e77ccea560c301ac35eb1fd9cb6b39ed /games-board
parentinitial commit to address bug 32738 (diff)
downloadhistorical-c101e8c98385b3232a45179036943a9f59f669b5.tar.gz
historical-c101e8c98385b3232a45179036943a9f59f669b5.tar.bz2
historical-c101e8c98385b3232a45179036943a9f59f669b5.zip
initial commit to address bug 32738
Diffstat (limited to 'games-board')
-rw-r--r--games-board/mah-jong/Manifest4
-rw-r--r--games-board/mah-jong/files/digest-mah-jong-1.61
-rw-r--r--games-board/mah-jong/mah-jong-1.6.ebuild50
-rw-r--r--games-board/mah-jong/metadata.xml9
4 files changed, 63 insertions, 1 deletions
diff --git a/games-board/mah-jong/Manifest b/games-board/mah-jong/Manifest
index 02a949a5c241..a3c93a23095e 100644
--- a/games-board/mah-jong/Manifest
+++ b/games-board/mah-jong/Manifest
@@ -1,2 +1,4 @@
-MD5 f30bea4fa5b6dc4d1b04aaf578c8728d mah-jong-1.6.ebuild 659
+MD5 d45e7d508f03755e8b793d6008cd35b6 mah-jong-1.6.ebuild 1355
+MD5 a30c9d4ce8f9629d6d7323eaab258343 metadata.xml 241
+MD5 2765a6799555843ab8dd9233120def8e ChangeLog 385
MD5 5f90c97fdd4915658eaa642c7f0dfa32 files/digest-mah-jong-1.6 62
diff --git a/games-board/mah-jong/files/digest-mah-jong-1.6 b/games-board/mah-jong/files/digest-mah-jong-1.6
new file mode 100644
index 000000000000..0e4a6444029e
--- /dev/null
+++ b/games-board/mah-jong/files/digest-mah-jong-1.6
@@ -0,0 +1 @@
+MD5 7fdce8dd6ec30de8f997da8f67942532 mj-1.6-src.tar.gz 304754
diff --git a/games-board/mah-jong/mah-jong-1.6.ebuild b/games-board/mah-jong/mah-jong-1.6.ebuild
new file mode 100644
index 000000000000..c52252514247
--- /dev/null
+++ b/games-board/mah-jong/mah-jong-1.6.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2003 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.ebuild,v 1.1 2003/11/05 10:04:50 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"
+
+KEYWORDS="x86"
+LICENSE="GPL-2"
+SLOT="0"
+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 || die "dodoc failed"
+ prepgamesdirs
+}
diff --git a/games-board/mah-jong/metadata.xml b/games-board/mah-jong/metadata.xml
new file mode 100644
index 000000000000..1cef6e243af3
--- /dev/null
+++ b/games-board/mah-jong/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>games</herd>
+<maintainer>
+<email>games@gentoo.org</email>
+<name>Games Team</name>
+</maintainer>
+</pkgmetadata>