summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /games-puzzle/anagramarama
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'games-puzzle/anagramarama')
-rw-r--r--games-puzzle/anagramarama/Manifest1
-rw-r--r--games-puzzle/anagramarama/anagramarama-0.2.ebuild43
-rw-r--r--games-puzzle/anagramarama/files/anagramarama-0.2-gentoo.patch34
-rw-r--r--games-puzzle/anagramarama/metadata.xml5
4 files changed, 83 insertions, 0 deletions
diff --git a/games-puzzle/anagramarama/Manifest b/games-puzzle/anagramarama/Manifest
new file mode 100644
index 000000000000..54aa75db9b03
--- /dev/null
+++ b/games-puzzle/anagramarama/Manifest
@@ -0,0 +1 @@
+DIST anagramarama-0.2.tar.gz 861484 SHA256 3ebb57468025e38c205d6f34f1f1647b593b371beda8032e69ba94aca516bccf SHA512 7cdafaf489100c184a71859f50b64fe8534210d953c4144d822727815ae2f7dd12302447b159039d95c9b3097711ab14931538789ac81c01233cc2c767291603 WHIRLPOOL 8e1f44ca5ff854c90dd5aec0341b11ef3395be87bfaef39b6a0e7fde1462c508056bdb3d47cd647445a5678a0755f4dc22514e79ab6dd6cd27b8671ab1cf6535
diff --git a/games-puzzle/anagramarama/anagramarama-0.2.ebuild b/games-puzzle/anagramarama/anagramarama-0.2.ebuild
new file mode 100644
index 000000000000..5fb8f4b98ac9
--- /dev/null
+++ b/games-puzzle/anagramarama/anagramarama-0.2.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit eutils games
+
+DESCRIPTION="Create as many words as you can before the time runs out"
+HOMEPAGE="http://www.coralquest.com/anagramarama/"
+SRC_URI="http://www.omega.clara.net/anagramarama/dist/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+IUSE=""
+
+DEPEND=">=media-libs/libsdl-1.2
+ >=media-libs/sdl-mixer-1.2
+ >=media-libs/sdl-image-1.2"
+RDEPEND="${DEPEND}
+ sys-apps/miscfiles"
+
+S=${WORKDIR}/${PN}
+
+src_prepare() {
+ sed -i \
+ -e "s:wordlist.txt:${GAMES_DATADIR}\/${PN}\/wordlist.txt:" \
+ -e "s:\"audio\/:\"${GAMES_DATADIR}\/${PN}\/audio\/:" \
+ -e "s:\"images\/:\"${GAMES_DATADIR}\/${PN}\/images\/:" \
+ src/{ag.c,dlb.c} \
+ || die "sed failed"
+ ecvs_clean
+ epatch "${FILESDIR}"/${P}-gentoo.patch
+}
+
+src_install() {
+ newgamesbin ag ${PN}
+ insinto "${GAMES_DATADIR}/${PN}"
+ doins wordlist.txt
+ doins -r images/ audio/
+ dodoc readme
+ prepgamesdirs
+}
diff --git a/games-puzzle/anagramarama/files/anagramarama-0.2-gentoo.patch b/games-puzzle/anagramarama/files/anagramarama-0.2-gentoo.patch
new file mode 100644
index 000000000000..85b194ea7928
--- /dev/null
+++ b/games-puzzle/anagramarama/files/anagramarama-0.2-gentoo.patch
@@ -0,0 +1,34 @@
+--- makefile.old 2009-02-08 18:24:33.000000000 +0100
++++ makefile 2009-02-08 18:29:12.000000000 +0100
+@@ -1,5 +1,4 @@
+-LFLAGS=-Wall -funroll-loops -fomit-frame-pointer -pipe -O9
+-CFLAGS=-Wall `sdl-config --cflags --libs` -funroll-loops -fomit-frame-pointer -pipe -O9 -lSDL_mixer
++LDLIBS=`sdl-config --cflags --libs` -lSDL_mixer
+ CC=gcc
+
+ C_FILES=src/dlb.c src/linked.c src/sprite.c src/ag.c
+@@ -9,19 +8,19 @@
+ all:ag
+
+ ag: $(OBJ_FILES)
+- $(CC) $(CFLAGS) -o $(OUT_FILE) $(OBJ_FILES)
++ $(CC) $(LDFLAGS) -o $(OUT_FILE) $(OBJ_FILES) $(LDLIBS)
+
+ src/dlb.o: src/dlb.c
+- $(CC) $(LFLAGS) -c -o $@ $^
++ $(CC) $(CFLAGS) -c -o $@ $^
+
+ src/linked.o: src/linked.c
+- $(CC) $(LFLAGS) -c -o $@ $^
++ $(CC) $(CFLAGS) -c -o $@ $^
+
+ src/sprite.o: src/sprite.c
+- $(CC) $(LFLAGS) -c -o $@ $^
++ $(CC) $(CFLAGS) -c -o $@ $^
+
+ src/ag.o: src/ag.c
+- $(CC) $(LFLAGS) -c -o $@ $^
++ $(CC) $(CFLAGS) -c -o $@ $^
+
+ clean:
+ rm -f src/*.o
diff --git a/games-puzzle/anagramarama/metadata.xml b/games-puzzle/anagramarama/metadata.xml
new file mode 100644
index 000000000000..d3c2cc926f0b
--- /dev/null
+++ b/games-puzzle/anagramarama/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>