public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: games-server/cyphesis/files/, games-server/cyphesis/
@ 2016-08-05 17:38 Austin English
  0 siblings, 0 replies; only message in thread
From: Austin English @ 2016-08-05 17:38 UTC (permalink / raw
  To: gentoo-commits

commit:     9f545df011bd28126cdcdb0b17e95c56ae65d187
Author:     Austin English <wizardedit <AT> gentoo <DOT> org>
AuthorDate: Fri Aug  5 16:58:47 2016 +0000
Commit:     Austin English <wizardedit <AT> gentoo <DOT> org>
CommitDate: Fri Aug  5 17:38:46 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f545df0

games-server/cyphesis: remove deprecated games eclass

Also update to EAPI 6

Gentoo-Bug: https://bugs.gentoo.org/574082

Package-Manager: portage-2.3.0

 games-server/cyphesis/cyphesis-0.6.2-r1.ebuild     | 62 ++++++++++++++++++++++
 .../cyphesis/files/cyphesis-0.6.2-makefile.patch   |  4 +-
 2 files changed, 64 insertions(+), 2 deletions(-)

diff --git a/games-server/cyphesis/cyphesis-0.6.2-r1.ebuild b/games-server/cyphesis/cyphesis-0.6.2-r1.ebuild
new file mode 100644
index 0000000..b2e6c74
--- /dev/null
+++ b/games-server/cyphesis/cyphesis-0.6.2-r1.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+PYTHON_COMPAT=( python2_7 )
+inherit toolchain-funcs autotools python-single-r1 eutils
+
+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="
+	dev-db/postgresql:=
+	>=dev-games/mercator-0.3.3
+	>=dev-games/wfmath-1.0.1
+	dev-libs/libgcrypt:0
+	dev-libs/libsigc++:2
+	sys-libs/ncurses:0
+	sys-libs/readline:0
+	>=media-libs/atlas-c++-0.6.3
+	>=media-libs/skstream-0.3.9
+	>=media-libs/varconf-0.6.4
+	"
+DEPEND="${RDEPEND}
+	>=dev-libs/boost-1.40
+	dev-libs/libxml2
+	virtual/pkgconfig"
+
+pkg_setup() {
+	python-single-r1_pkg_setup
+}
+
+PATCHES=(
+		"${FILESDIR}"/${P}-gentoo.patch
+		"${FILESDIR}"/${P}-makefile.patch
+)
+
+src_prepare() {
+	default
+
+	eautoreconf
+}
+
+src_configure() {
+	econf --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
+}

diff --git a/games-server/cyphesis/files/cyphesis-0.6.2-makefile.patch b/games-server/cyphesis/files/cyphesis-0.6.2-makefile.patch
index 99ca387..7fde1eb 100644
--- a/games-server/cyphesis/files/cyphesis-0.6.2-makefile.patch
+++ b/games-server/cyphesis/files/cyphesis-0.6.2-makefile.patch
@@ -1,5 +1,5 @@
---- Makefile.am.old	2013-09-25 14:26:30.518751250 +0200
-+++ Makefile.am	2013-09-25 14:27:21.846257911 +0200
+--- a/Makefile.am	2013-09-25 14:26:30.518751250 +0200
++++ b/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


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2016-08-05 17:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-05 17:38 [gentoo-commits] repo/gentoo:master commit in: games-server/cyphesis/files/, games-server/cyphesis/ Austin English

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox