summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2009-08-26 05:50:28 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2009-08-26 05:50:28 +0000
commit760c0ab182cac88ce48895cccd4b944520032853 (patch)
tree3de4dae899beed841d595bfe41cfecbb548e36e8 /games-puzzle/zaz
parentAdjust dependencies, since cc-mode is going away, bug 282662. (diff)
downloadgentoo-2-760c0ab182cac88ce48895cccd4b944520032853.tar.gz
gentoo-2-760c0ab182cac88ce48895cccd4b944520032853.tar.bz2
gentoo-2-760c0ab182cac88ce48895cccd4b944520032853.zip
Initial commit (bug #282349)
(Portage version: 2.1.6.13/cvs/Linux i686)
Diffstat (limited to 'games-puzzle/zaz')
-rw-r--r--games-puzzle/zaz/ChangeLog10
-rw-r--r--games-puzzle/zaz/files/zaz-0.2.8-build.patch70
-rw-r--r--games-puzzle/zaz/metadata.xml5
-rw-r--r--games-puzzle/zaz/zaz-0.2.8.ebuild34
4 files changed, 119 insertions, 0 deletions
diff --git a/games-puzzle/zaz/ChangeLog b/games-puzzle/zaz/ChangeLog
new file mode 100644
index 000000000000..d8e38ffac561
--- /dev/null
+++ b/games-puzzle/zaz/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for games-puzzle/zaz
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-puzzle/zaz/ChangeLog,v 1.1 2009/08/26 05:50:27 mr_bones_ Exp $
+
+*zaz-0.2.8 (26 Aug 2009)
+
+ 26 Aug 2009; Michael Sterrett <mr_bones_@gentoo.org> +zaz-0.2.8.ebuild,
+ +files/zaz-0.2.8-build.patch, +metadata.xml:
+ Initial commit (bug #282349)
+
diff --git a/games-puzzle/zaz/files/zaz-0.2.8-build.patch b/games-puzzle/zaz/files/zaz-0.2.8-build.patch
new file mode 100644
index 000000000000..6c4ade60997d
--- /dev/null
+++ b/games-puzzle/zaz/files/zaz-0.2.8-build.patch
@@ -0,0 +1,70 @@
+diff -ru zaz-0.2.8.orig/Makefile.am zaz-0.2.8/Makefile.am
+--- zaz-0.2.8.orig/Makefile.am 2009-08-17 17:04:21.000000000 -0400
++++ zaz-0.2.8/Makefile.am 2009-08-26 00:45:19.247689804 -0400
+@@ -3,21 +3,7 @@
+
+ SUBDIRS = src data extra
+
+-zazdocdir = ${prefix}/doc/zaz
+-zazdoc_DATA = \
+- README\
+- COPYING\
+- AUTHORS\
+- ChangeLog\
+- INSTALL\
+- NEWS
+-
+-
+ EXTRA_DIST = $(zazdoc_DATA) \
+ $(shared_data_DATA) \
+ zaz.anjuta\
+ win32.zip
+-
+-# Remove doc directory on uninstall
+-uninstall-local:
+- -rm -r $(zazdocdir)
+diff -ru zaz-0.2.8.orig/extra/Makefile.am zaz-0.2.8/extra/Makefile.am
+--- zaz-0.2.8.orig/extra/Makefile.am 2009-08-17 17:04:37.000000000 -0400
++++ zaz-0.2.8/extra/Makefile.am 2009-08-26 00:44:48.372852572 -0400
+@@ -1,7 +1,7 @@
+-pkgdesktopdatadir = $(datadir)/applications
++pkgdesktopdatadir = /usr/share/applications
+ pkgdesktopdata_DATA = zaz.desktop
+
+-pkgpixmapdatadir = $(datadir)/pixmaps
++pkgpixmapdatadir = /usr/share/pixmaps
+ pkgpixmapdata_DATA = zaz.xpm
+
+ EXTRA_DIST = \
+diff -ru zaz-0.2.8.orig/extra/zaz.desktop zaz-0.2.8/extra/zaz.desktop
+--- zaz-0.2.8.orig/extra/zaz.desktop 2009-08-09 14:00:52.000000000 -0400
++++ zaz-0.2.8/extra/zaz.desktop 2009-08-26 00:45:04.786724295 -0400
+@@ -1,11 +1,10 @@
+ [Desktop Entry]
+ Version=1.0
+ Type=Application
+-Encoding=UTF-8
+ Name=Zaz
+ Comment=Zaz ain't Z***
+ TryExec=zaz
+ Exec=zaz
+ Categories=Game;LogicGame;
+-Icon=zaz.xpm
++Icon=zaz
+ MimeType=
+diff -ru zaz-0.2.8.orig/src/Makefile.am zaz-0.2.8/src/Makefile.am
+--- zaz-0.2.8.orig/src/Makefile.am 2009-08-16 10:45:44.000000000 -0400
++++ zaz-0.2.8/src/Makefile.am 2009-08-26 00:46:34.193690422 -0400
+@@ -3,10 +3,8 @@
+ ## Created by Anjuta
+
+ AM_CPPFLAGS = \
+- -DPACKAGE_LOCALE_DIR=\""$(prefix)/$(DATADIRNAME)/locale"\" \
+- -DPACKAGE_SRC_DIR=\""$(srcdir)"\" \
+- -DPACKAGE_DATA_DIR=\""$(datadir)"\"\
+- -I/usr/include/freetype2
++ -DPACKAGE_DATA_DIR=\""$(datadir)"\" \
++ -I/usr/include/freetype2
+
+ AM_CFLAGS =\
+ -Wall\
diff --git a/games-puzzle/zaz/metadata.xml b/games-puzzle/zaz/metadata.xml
new file mode 100644
index 000000000000..d3c2cc926f0b
--- /dev/null
+++ b/games-puzzle/zaz/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>games</herd>
+</pkgmetadata>
diff --git a/games-puzzle/zaz/zaz-0.2.8.ebuild b/games-puzzle/zaz/zaz-0.2.8.ebuild
new file mode 100644
index 000000000000..5c4d87af5498
--- /dev/null
+++ b/games-puzzle/zaz/zaz-0.2.8.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-puzzle/zaz/zaz-0.2.8.ebuild,v 1.1 2009/08/26 05:50:27 mr_bones_ Exp $
+
+EAPI=2
+inherit autotools eutils games
+
+DESCRIPTION="A puzzle game where the player has to arrange balls in triplets"
+HOMEPAGE="http://sourceforge.net/projects/zaz/"
+SRC_URI="mirror://sourceforge/zaz/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+
+DEPEND="virtual/opengl
+ virtual/glu
+ media-libs/libsdl[X,audio,video]
+ media-libs/sdl-image[png]
+ media-libs/libvorbis
+ media-libs/libtheora
+ media-libs/ftgl"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-build.patch
+ eautoreconf
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake failed"
+ dodoc AUTHORS ChangeLog
+ prepgamesdirs
+}