summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2005-10-20 20:16:27 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2005-10-20 20:16:27 +0000
commitbdef5b4acd8b41a73e0a539279d965a7a5343cc9 (patch)
tree46722c7130c4894e61759e7ee944a0d57bc78038 /games-strategy
parentversion bump (diff)
downloadhistorical-bdef5b4acd8b41a73e0a539279d965a7a5343cc9.tar.gz
historical-bdef5b4acd8b41a73e0a539279d965a7a5343cc9.tar.bz2
historical-bdef5b4acd8b41a73e0a539279d965a7a5343cc9.zip
version bump
Package-Manager: portage-2.0.51.22-r3
Diffstat (limited to 'games-strategy')
-rw-r--r--games-strategy/wesnoth/ChangeLog8
-rw-r--r--games-strategy/wesnoth/Manifest5
-rw-r--r--games-strategy/wesnoth/files/digest-wesnoth-1.0.11
-rw-r--r--games-strategy/wesnoth/files/wesnothd.rc23
-rw-r--r--games-strategy/wesnoth/wesnoth-1.0.1.ebuild72
5 files changed, 107 insertions, 2 deletions
diff --git a/games-strategy/wesnoth/ChangeLog b/games-strategy/wesnoth/ChangeLog
index d18d2b13f29e..f11ace15a9b7 100644
--- a/games-strategy/wesnoth/ChangeLog
+++ b/games-strategy/wesnoth/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for games-strategy/wesnoth
# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/wesnoth/ChangeLog,v 1.62 2005/09/09 04:31:13 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/wesnoth/ChangeLog,v 1.63 2005/10/20 20:16:27 mr_bones_ Exp $
+
+*wesnoth-1.0.1 (20 Oct 2005)
+
+ 20 Oct 2005; Michael Sterrett <mr_bones_@gentoo.org> +files/wesnothd.rc,
+ +wesnoth-1.0.1.ebuild:
+ version bump
*wesnoth-0.9.7 (08 Sep 2005)
diff --git a/games-strategy/wesnoth/Manifest b/games-strategy/wesnoth/Manifest
index 58bed78e66cb..922dcfdf40a4 100644
--- a/games-strategy/wesnoth/Manifest
+++ b/games-strategy/wesnoth/Manifest
@@ -1,8 +1,11 @@
MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
MD5 57059bb5bc220cf8bcc5756fc97f55e5 wesnoth-0.9.7.ebuild 1304
MD5 8db58a8f70a15e32d9e253b21466fb7d wesnoth-0.9.6.ebuild 1304
+MD5 e087e55990c8cb7ce71c8c72f0c14871 wesnoth-1.0.1.ebuild 2017
MD5 6a3159632701ba0f96665b096b2e6add wesnoth-1.0.ebuild 1414
-MD5 314df4e4f0d21a1c55cb8150c433126e ChangeLog 8477
+MD5 a9bb422be819376c8341f05e8eb9f415 ChangeLog 8623
MD5 ed05bdc0d65c5396b06d15c667e260fc files/digest-wesnoth-0.9.6 67
MD5 b6b7714f976baa5d256c2f910992da4a files/digest-wesnoth-1.0 65
MD5 fb1fa5b4b8d2cf8cb254199744d05a69 files/digest-wesnoth-0.9.7 67
+MD5 6a73a3191925d45024cf48879c799e0e files/digest-wesnoth-1.0.1 67
+MD5 2238ca275d6ab646096d612c46b1eb05 files/wesnothd.rc 619
diff --git a/games-strategy/wesnoth/files/digest-wesnoth-1.0.1 b/games-strategy/wesnoth/files/digest-wesnoth-1.0.1
new file mode 100644
index 000000000000..8887ae48b9cd
--- /dev/null
+++ b/games-strategy/wesnoth/files/digest-wesnoth-1.0.1
@@ -0,0 +1 @@
+MD5 20a2498938a168bf6a0989af857da500 wesnoth-1.0.1.tar.gz 39014760
diff --git a/games-strategy/wesnoth/files/wesnothd.rc b/games-strategy/wesnoth/files/wesnothd.rc
new file mode 100644
index 000000000000..aefd0ccf3141
--- /dev/null
+++ b/games-strategy/wesnoth/files/wesnothd.rc
@@ -0,0 +1,23 @@
+#!/sbin/runscript
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/wesnoth/files/wesnothd.rc,v 1.1 2005/10/20 20:16:27 mr_bones_ Exp $
+
+depend() {
+ use net
+}
+
+start() {
+ ebegin "Starting wesnothd"
+ start-stop-daemon --start --quiet -b -m \
+ --pidfile "GAMES_STATEDIR"/run/wesnothd/wesnothd.pid \
+ -c GAMES_USER_DED:GAMES_GROUP \
+ --exec "GAMES_BINDIR"/wesnothd
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping wesnothd"
+ start-stop-daemon --stop --quiet --pidfile "GAMES_STATEDIR"/run/wesnothd/wesnothd.pid
+ eend $?
+}
diff --git a/games-strategy/wesnoth/wesnoth-1.0.1.ebuild b/games-strategy/wesnoth/wesnoth-1.0.1.ebuild
new file mode 100644
index 000000000000..22e6674c2840
--- /dev/null
+++ b/games-strategy/wesnoth/wesnoth-1.0.1.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/wesnoth/wesnoth-1.0.1.ebuild,v 1.1 2005/10/20 20:16:27 mr_bones_ Exp $
+
+inherit eutils toolchain-funcs flag-o-matic games
+
+MY_PV=${PV/_/}
+DESCRIPTION="A fantasy turn-based strategy game"
+HOMEPAGE="http://www.wesnoth.org/"
+SRC_URI="mirror://sourceforge/wesnoth/${PN}-${MY_PV}.tar.gz"
+S="${WORKDIR}/${PN}-${MY_PV}"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE="dedicated editor gnome kde lite nls server tools"
+
+RDEPEND=">=media-libs/libsdl-1.2.7
+ !dedicated? (virtual/x11
+ >=media-libs/freetype-2 )
+ >=media-libs/sdl-mixer-1.2
+ >=media-libs/sdl-image-1.2
+ media-libs/sdl-net
+ sys-libs/zlib"
+DEPEND="${RDEPEND}
+ sys-apps/sed"
+
+src_unpack() {
+ unpack ${A}
+ if use server ; then
+ sed \
+ -e "s:GAMES_BINDIR:${GAMES_BINDIR}:" \
+ -e "s:GAMES_STATEDIR:${GAMES_STATEDIR}:" \
+ -e "s/GAMES_USER_DED/${GAMES_USER_DED}/" \
+ -e "s/GAMES_GROUP/${GAMES_GROUP}/" "${FILESDIR}"/wesnothd.rc \
+ > "${T}"/wesnothd \
+ || die "sed failed"
+ fi
+
+}
+src_compile() {
+ filter-flags -ftracer -fomit-frame-pointer
+ if [[ $(gcc-major-version) -eq 3 ]] ; then
+ filter-flags -fstack-protector
+ append-flags -fno-stack-protector
+ fi
+ egamesconf \
+ --disable-dependency-tracking \
+ $(use_enable lite) \
+ $(use_enable server) \
+ $(use_enable server campaign-server) \
+ $(use server && echo --with-server-uid=${GAMES_USER_DED} --with-server-gid=${GAMES_GROUP}) \
+ $(use_enable editor) \
+ $(use_enable tools) \
+ $(use_enable nls) \
+ $(use_enable !dedicated game) \
+ $(use_with gnome) \
+ $(use_with kde) \
+ || die
+ emake || die "emake failed"
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die "make install failed"
+ mv "${D}${GAMES_DATADIR}/"{icons,applnk,applications} "${D}/usr/share/"
+ dodoc MANUAL changelog
+ if use server; then
+ keepdir "${GAMES_STATEDIR}/run/wesnothd"
+ doinitd "${T}"/wesnothd || die "doinitd failed"
+ fi
+ prepgamesdirs
+}