summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2008-06-26 18:35:01 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2008-06-26 18:35:01 +0000
commitf541734977da74b6862af01444a29b7d2fef5470 (patch)
treecac94530980c43c7c281cc25966b5d176c008445 /games-board/mah-jong
parentTrim old ebuilds and patches. (diff)
downloadhistorical-f541734977da74b6862af01444a29b7d2fef5470.tar.gz
historical-f541734977da74b6862af01444a29b7d2fef5470.tar.bz2
historical-f541734977da74b6862af01444a29b7d2fef5470.zip
old
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'games-board/mah-jong')
-rw-r--r--games-board/mah-jong/mah-jong-1.7.ebuild52
1 files changed, 0 insertions, 52 deletions
diff --git a/games-board/mah-jong/mah-jong-1.7.ebuild b/games-board/mah-jong/mah-jong-1.7.ebuild
deleted file mode 100644
index a39dd3c1e0b2..000000000000
--- a/games-board/mah-jong/mah-jong-1.7.ebuild
+++ /dev/null
@@ -1,52 +0,0 @@
-# Copyright 1999-2008 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.7.ebuild,v 1.3 2008/02/29 19:00:23 carlo Exp $
-
-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://www.stevens-bradfield.com/MahJong/Source/${MY_P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ppc x86"
-IUSE=""
-
-RDEPEND="=x11-libs/gtk+-1.2*"
-DEPEND="${RDEPEND}
- dev-lang/perl"
-
-S=${WORKDIR}/${MY_P}
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- 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
-}