diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2003-11-05 10:04:53 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2003-11-05 10:04:53 +0000 |
commit | 0cd997f786f46336325d45ed8d06af30d37ea06d (patch) | |
tree | a6e30b53bf75719aa6701870ec6acffc4012771b /games-board/mah-jong | |
parent | initial commit to address bug 32738 (diff) | |
download | gentoo-2-0cd997f786f46336325d45ed8d06af30d37ea06d.tar.gz gentoo-2-0cd997f786f46336325d45ed8d06af30d37ea06d.tar.bz2 gentoo-2-0cd997f786f46336325d45ed8d06af30d37ea06d.zip |
initial commit to address bug 32738
Diffstat (limited to 'games-board/mah-jong')
-rw-r--r-- | games-board/mah-jong/ChangeLog | 10 | ||||
-rw-r--r-- | games-board/mah-jong/Manifest | 4 | ||||
-rw-r--r-- | games-board/mah-jong/files/digest-mah-jong-1.6 | 1 | ||||
-rw-r--r-- | games-board/mah-jong/mah-jong-1.6.ebuild | 50 | ||||
-rw-r--r-- | games-board/mah-jong/metadata.xml | 9 |
5 files changed, 73 insertions, 1 deletions
diff --git a/games-board/mah-jong/ChangeLog b/games-board/mah-jong/ChangeLog new file mode 100644 index 000000000000..dc265ffaf329 --- /dev/null +++ b/games-board/mah-jong/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for games-board/mah-jong +# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-board/mah-jong/ChangeLog,v 1.1 2003/11/05 10:04:50 mr_bones_ Exp $ + +*mah-jong-1.6 (05 Nov 2003) + + 05 Nov 2003; Michael Sterrett <mr_bones_@gentoo.org> mah-jong-1.6.ebuild, + metadata.xml: + initial commit to address bug 32738 + 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> |