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-server/cyphesis
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-server/cyphesis')
-rw-r--r--games-server/cyphesis/Manifest1
-rw-r--r--games-server/cyphesis/cyphesis-0.6.2.ebuild60
-rw-r--r--games-server/cyphesis/files/cyphesis-0.6.2-gentoo.patch32
-rw-r--r--games-server/cyphesis/files/cyphesis-0.6.2-makefile.patch11
-rw-r--r--games-server/cyphesis/metadata.xml16
5 files changed, 120 insertions, 0 deletions
diff --git a/games-server/cyphesis/Manifest b/games-server/cyphesis/Manifest
new file mode 100644
index 00000000000..9706cb87bf2
--- /dev/null
+++ b/games-server/cyphesis/Manifest
@@ -0,0 +1 @@
+DIST cyphesis-0.6.2.tar.bz2 932099 SHA256 251f297b299834ae67abe6196f646ef8f14bc5be3096d03c6ff677ff20acfcfd SHA512 07783a99a47f105cd492b033fb1ded1c5fef089d01fa50d90103dc62c6e94dc58394f082674d9261db5fe9779d4694579119769de50177bfc2ead055c5740b2f WHIRLPOOL 91f46ed623f5cc6ef8305287220584e1a6f142588de6c3362bb01eecd9a3916bcd68ac5b876b7ae3bba46d86cad414bce6ca9a9d5d6e26a5a75d0c1c51b0e102
diff --git a/games-server/cyphesis/cyphesis-0.6.2.ebuild b/games-server/cyphesis/cyphesis-0.6.2.ebuild
new file mode 100644
index 00000000000..1158cc44c46
--- /dev/null
+++ b/games-server/cyphesis/cyphesis-0.6.2.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+PYTHON_COMPAT=( python2_7 )
+inherit toolchain-funcs autotools python-single-r1 eutils games
+
+DESCRIPTION="WorldForge server running small games"
+HOMEPAGE="http://worldforge.org/index.php/components/cyphesis/"
+SRC_URI="mirror://sourceforge/worldforge/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+RESTRICT="test"
+
+RDEPEND=">=media-libs/skstream-0.3.9
+ >=dev-games/wfmath-1.0.1
+ >=dev-games/mercator-0.3.3
+ dev-libs/libgcrypt:0
+ dev-libs/libsigc++:2
+ sys-libs/ncurses
+ sys-libs/readline
+ >=media-libs/atlas-c++-0.6.3
+ >=media-libs/varconf-0.6.4
+ dev-db/postgresql"
+DEPEND="${RDEPEND}
+ >=dev-libs/boost-1.40
+ dev-libs/libxml2
+ virtual/pkgconfig"
+
+pkg_setup() {
+ python-single-r1_pkg_setup
+ games_pkg_setup
+}
+
+src_prepare() {
+ epatch \
+ "${FILESDIR}"/${P}-gentoo.patch \
+ "${FILESDIR}"/${P}-makefile.patch
+ eautoreconf
+}
+
+src_configure() {
+ egamesconf \
+ --localstatedir=/var
+}
+
+src_compile() {
+ emake AR="$(tc-getAR)"
+}
+
+src_install() {
+ emake DESTDIR="${D}" confbackupdir="/usr/share/doc/${PF}/conf" \
+ install
+ dodoc AUTHORS ChangeLog FIXME NEWS README THANKS TODO
+ prepgamesdirs
+}
diff --git a/games-server/cyphesis/files/cyphesis-0.6.2-gentoo.patch b/games-server/cyphesis/files/cyphesis-0.6.2-gentoo.patch
new file mode 100644
index 00000000000..69aac409ba8
--- /dev/null
+++ b/games-server/cyphesis/files/cyphesis-0.6.2-gentoo.patch
@@ -0,0 +1,32 @@
+diff -ru cyphesis-0.6.0.orig/Makefile.am cyphesis-0.6.0/Makefile.am
+--- cyphesis-0.6.0.orig/Makefile.am 2012-10-02 06:23:10.000000000 -0400
++++ cyphesis-0.6.0/Makefile.am 2012-11-12 16:54:19.306892135 -0500
+@@ -3,7 +3,6 @@
+ tools tests man dox
+
+ docdir = $(datadir)/doc/cyphesis-$(VERSION)
+-dist_doc_DATA = README COPYING AUTHORS THANKS NEWS FIXME
+
+ rulesetdir = $(datadir)/cyphesis/rulesets
+
+diff -ru cyphesis-0.6.0.orig/configure.ac cyphesis-0.6.0/configure.ac
+--- cyphesis-0.6.0.orig/configure.ac 2012-11-09 16:39:13.000000000 -0500
++++ cyphesis-0.6.0/configure.ac 2012-11-12 16:53:51.622839335 -0500
+@@ -381,17 +381,6 @@
+ libraries required and where to obtain them.])
+ ])
+
+-PKG_CHECK_MODULES(AVAHI, avahi-client,
+- [
+- CPPFLAGS="$CPPFLAGS $AVAHI_CFLAGS"
+- MDNS_LIBS="$MDNS_LIBS $AVAHI_LIBS"
+- AC_DEFINE(HAVE_AVAHI, 1, [Define to 1 if you have avahi libs.])
+- ],
+- [
+- AC_MSG_RESULT([no])
+- AC_MSG_NOTICE([Ommiting DNS-SD functionality.])
+- ])
+-
+ AM_PATH_PSQL(7.1.0,
+ [
+ if test "$PG_CFLAGS" != "-I/usr/include"; then
diff --git a/games-server/cyphesis/files/cyphesis-0.6.2-makefile.patch b/games-server/cyphesis/files/cyphesis-0.6.2-makefile.patch
new file mode 100644
index 00000000000..99ca3872c04
--- /dev/null
+++ b/games-server/cyphesis/files/cyphesis-0.6.2-makefile.patch
@@ -0,0 +1,11 @@
+--- Makefile.am.old 2013-09-25 14:26:30.518751250 +0200
++++ Makefile.am 2013-09-25 14:27:21.846257911 +0200
+@@ -13,8 +13,6 @@
+
+ # FIXME Remove the mkdir hack if it gets fixed in a future automake
+ install-data-hook:
+- mkdir -p $(DESTDIR)$(socketdir)
+- chmod 1777 $(DESTDIR)$(socketdir)
+ @echo
+ @echo "Cyphesis is not yet ready to run."
+ @echo "Unless you have configured the server to run without a database, Cyphesis"
diff --git a/games-server/cyphesis/metadata.xml b/games-server/cyphesis/metadata.xml
new file mode 100644
index 00000000000..5d147bfd158
--- /dev/null
+++ b/games-server/cyphesis/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>games</herd>
+ <longdescription lang="en">
+Cyphesis is an NPC engine using AI/A-Life techniques. It is the Artificial
+Intelligence and Artificial Life server used by STAGE and also is filling in as
+its first fully functional game server, featured in Acorn. Cyphesis is a
+prototype server designed to explore the possibilities of complex NPC
+interaction and scripting. Efficiency and support for large numbers of players
+are foregone in the quest for a more realistic and dynamic world framework.
+</longdescription>
+ <upstream>
+ <remote-id type="sourceforge">worldforge</remote-id>
+ </upstream>
+</pkgmetadata>