summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2004-01-28 10:44:38 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2004-01-28 10:44:38 +0000
commit71058f10b8c2560de2e7a49f570dce980828f68d (patch)
treebc85ad8d8b70b5288abf97c602c4abed8cb03381 /games-kids/gtans
parentinitial commit (bug 39401) (diff)
downloadhistorical-71058f10b8c2560de2e7a49f570dce980828f68d.tar.gz
historical-71058f10b8c2560de2e7a49f570dce980828f68d.tar.bz2
historical-71058f10b8c2560de2e7a49f570dce980828f68d.zip
initial commit (bug 39401)
Diffstat (limited to 'games-kids/gtans')
-rw-r--r--games-kids/gtans/Manifest4
-rw-r--r--games-kids/gtans/files/digest-gtans-1.21
-rw-r--r--games-kids/gtans/gtans-1.2.ebuild44
-rw-r--r--games-kids/gtans/metadata.xml9
4 files changed, 57 insertions, 1 deletions
diff --git a/games-kids/gtans/Manifest b/games-kids/gtans/Manifest
index cf7264c00163..0edb830e8860 100644
--- a/games-kids/gtans/Manifest
+++ b/games-kids/gtans/Manifest
@@ -1,2 +1,4 @@
-MD5 943af075835e125851b8bef021d7823d gtans-1.2.ebuild 623
+MD5 7380e37e9e6a6ff9f8d017d64513a766 gtans-1.2.ebuild 1157
+MD5 a30c9d4ce8f9629d6d7323eaab258343 metadata.xml 241
+MD5 04ef9a3b906121d16591b16b110a7fbb ChangeLog 422
MD5 5ffccf2641d9a7a110ac55ae410155f0 files/digest-gtans-1.2 61
diff --git a/games-kids/gtans/files/digest-gtans-1.2 b/games-kids/gtans/files/digest-gtans-1.2
new file mode 100644
index 000000000000..ece913955201
--- /dev/null
+++ b/games-kids/gtans/files/digest-gtans-1.2
@@ -0,0 +1 @@
+MD5 067d8bd1d5534b39316bdb4e689a6c40 gtans-1.2.tar.gz 176489
diff --git a/games-kids/gtans/gtans-1.2.ebuild b/games-kids/gtans/gtans-1.2.ebuild
new file mode 100644
index 000000000000..6591d2c44c78
--- /dev/null
+++ b/games-kids/gtans/gtans-1.2.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-kids/gtans/gtans-1.2.ebuild,v 1.1 2004/01/28 10:44:32 mr_bones_ Exp $
+
+inherit games
+
+DESCRIPTION="The Tangram is a chinese puzzle. The object is to put seven geometric shapes together so as to form a given outline."
+HOMEPAGE="http://gtans.sourceforge.net/"
+SRC_URI="http://download.sourceforge.net/gtans/${P}.tar.gz"
+
+KEYWORDS="x86"
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="nls"
+
+DEPEND="virtual/x11
+ >=x11-libs/gtk+-1.2.1
+ dev-libs/glib
+ nls? ( sys-devel/gettext )
+ >=sys-apps/sed-4"
+
+src_unpack() {
+ unpack ${A}
+
+ cd ${S}
+ if ! use nls ; then
+ sed -i \
+ -e "/\(TGTXT\| po\)/ s/^/#/" \
+ -e "/^CC/ s:=.*:= ${CC}:" \
+ -e "/misc/ s/PREFIX.*/install/" \
+ -e "/^CFLG[ ]*=/ s:=.*:= ${CFLAGS}:" makefile \
+ || die "sed makefile failed"
+ fi
+ sed -i \
+ -e "s:/share::" \
+ -e "/^PREFIX/ s:usr:usr/share:" misc/Makefile \
+ || die "sed misc/Makefile failed"
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die "make install failed"
+ dodoc AUTHORS HISTORY || die "dodoc failed"
+ prepgamesdirs
+}
diff --git a/games-kids/gtans/metadata.xml b/games-kids/gtans/metadata.xml
new file mode 100644
index 000000000000..1cef6e243af3
--- /dev/null
+++ b/games-kids/gtans/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>