summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Walls <malverian@gentoo.org>2005-05-22 00:48:25 +0000
committerPhilip Walls <malverian@gentoo.org>2005-05-22 00:48:25 +0000
commit6ff3aea2b9ccf705d45285e14dc97ff2f3e802c1 (patch)
tree661bc7dcd833804ac13ccbb0174717d92878747c /games-rpg
parentVersion bump, added myself as a maintainer, removed old versions (diff)
downloadhistorical-6ff3aea2b9ccf705d45285e14dc97ff2f3e802c1.tar.gz
historical-6ff3aea2b9ccf705d45285e14dc97ff2f3e802c1.tar.bz2
historical-6ff3aea2b9ccf705d45285e14dc97ff2f3e802c1.zip
version bump! several fixes to build process, new wrapper scripts
Package-Manager: portage-2.0.51.22-r1
Diffstat (limited to 'games-rpg')
-rw-r--r--games-rpg/planeshift/ChangeLog5
-rw-r--r--games-rpg/planeshift/Manifest19
-rw-r--r--games-rpg/planeshift/files/digest-planeshift-0.3.0101
-rw-r--r--games-rpg/planeshift/files/planeshift8
-rw-r--r--games-rpg/planeshift/files/planeshift-updater5
-rw-r--r--games-rpg/planeshift/planeshift-0.2.010-r1.ebuild4
-rw-r--r--games-rpg/planeshift/planeshift-0.3.010.ebuild88
7 files changed, 110 insertions, 20 deletions
diff --git a/games-rpg/planeshift/ChangeLog b/games-rpg/planeshift/ChangeLog
index 2f5ef9915274..9468c10b2f56 100644
--- a/games-rpg/planeshift/ChangeLog
+++ b/games-rpg/planeshift/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for games-rpg/planeshift
# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-rpg/planeshift/ChangeLog,v 1.6 2004/12/20 23:53:29 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-rpg/planeshift/ChangeLog,v 1.7 2005/05/22 00:48:25 malverian Exp $
+
+ 21 May 2005; Philip Walls <malverian@gentoo.org> planeshift-0.3.010.ebuild
+ Version bump. Revamped build process some.
20 Dec 2004; Michael Sterrett <mr_bones_@gentoo.org>
planeshift-0.2.010-r1.ebuild:
diff --git a/games-rpg/planeshift/Manifest b/games-rpg/planeshift/Manifest
index 95ee203aee4e..70537aa1f5ba 100644
--- a/games-rpg/planeshift/Manifest
+++ b/games-rpg/planeshift/Manifest
@@ -1,16 +1,9 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-MD5 3d733d693c2a111e07840dee5c7ae236 ChangeLog 1305
+MD5 a7553c4ad18ccf9753f350b53f30ba6f ChangeLog 1429
MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
-MD5 42cf8107b8221bad78b8b622953b9184 planeshift-0.2.010-r1.ebuild 1730
+MD5 9e0ee08e38617bd0484d84bbdf5c9e17 planeshift-0.2.010-r1.ebuild 1733
+MD5 c3fca027c188ac240d3d95f5932be16f planeshift-0.3.010.ebuild 2383
MD5 a6b3c03bb00760172f490ae59e50cd32 files/digest-planeshift-0.2.010-r1 73
-MD5 b8b8a31f70400cd54c5b8cfea9af368a files/planeshift 116
+MD5 7d0312de42da840d521b0c840fc3249e files/planeshift 45
MD5 94847ea277df082a561148a98614bfa1 files/planeshift-0.2.010-fix-cast.diff 507
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.9.14 (GNU/Linux)
-
-iD8DBQFB4Z3WroRuSHgZdywRAtUqAJ41s+nGwZKe9LKDneuamTWbJkmUZACbBSUr
-cMfJ+TYzl+eACeUBbeWjwW8=
-=tM+8
------END PGP SIGNATURE-----
+MD5 472d2df5c47bcb82438d598fd4f401cb files/digest-planeshift-0.3.010 73
+MD5 39206355900ca178e9a26581a66c9ce9 files/planeshift-updater 44
diff --git a/games-rpg/planeshift/files/digest-planeshift-0.3.010 b/games-rpg/planeshift/files/digest-planeshift-0.3.010
new file mode 100644
index 000000000000..e2d95a1c22c1
--- /dev/null
+++ b/games-rpg/planeshift/files/digest-planeshift-0.3.010
@@ -0,0 +1 @@
+MD5 765a71ebf36d3288f4edd8b8fda3a7b6 planeshift-0.3.010.tar.bz2 10971869
diff --git a/games-rpg/planeshift/files/planeshift b/games-rpg/planeshift/files/planeshift
index 3f8df5f0e326..dfe6e9d9406f 100644
--- a/games-rpg/planeshift/files/planeshift
+++ b/games-rpg/planeshift/files/planeshift
@@ -1,5 +1,5 @@
#!/bin/sh
-export CRYSTAL=GENTOO_CRYSTAL_DIR
-export CEL=GENTOO_CEL_DIR
-cd GENTOO_PLANESHIFT_DIR
-exec ./psclient ${@}
+
+cd /opt/planeshift
+
+./psclient $@
diff --git a/games-rpg/planeshift/files/planeshift-updater b/games-rpg/planeshift/files/planeshift-updater
new file mode 100644
index 000000000000..fdd2fce7a1dd
--- /dev/null
+++ b/games-rpg/planeshift/files/planeshift-updater
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+cd /opt/planeshift
+
+./updater $@
diff --git a/games-rpg/planeshift/planeshift-0.2.010-r1.ebuild b/games-rpg/planeshift/planeshift-0.2.010-r1.ebuild
index b42ff3e274da..3532a606f4aa 100644
--- a/games-rpg/planeshift/planeshift-0.2.010-r1.ebuild
+++ b/games-rpg/planeshift/planeshift-0.2.010-r1.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2004 Gentoo Foundation
+# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-rpg/planeshift/planeshift-0.2.010-r1.ebuild,v 1.12 2005/01/09 21:10:25 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-rpg/planeshift/planeshift-0.2.010-r1.ebuild,v 1.13 2005/05/22 00:48:25 malverian Exp $
inherit eutils games
diff --git a/games-rpg/planeshift/planeshift-0.3.010.ebuild b/games-rpg/planeshift/planeshift-0.3.010.ebuild
new file mode 100644
index 000000000000..85275b6ced51
--- /dev/null
+++ b/games-rpg/planeshift/planeshift-0.3.010.ebuild
@@ -0,0 +1,88 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-rpg/planeshift/planeshift-0.3.010.ebuild,v 1.1 2005/05/22 00:48:25 malverian Exp $
+
+inherit eutils games debug
+
+DESCRIPTION="Virtual fantasy world MMORPG"
+HOMEPAGE="http://www.planeshift.it/"
+SRC_URI="mirror://gentoo/distfiles/${P}.tar.bz2"
+
+LICENSE="|| ( GPL-2 Planeshift )"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="${IUSE}"
+
+RDEPEND="net-misc/curl
+ =dev-games/crystalspace-0.99_pre*
+ =dev-games/cel-0.99_pre*"
+
+DEPEND="${RDEPEND}
+ >=sys-apps/sed-4"
+
+S=${WORKDIR}/${PN}
+
+#PLANESHIFT_PREFIX=${PLANESHIFT_PREFIX:-${GAMES_PREFIX_OPT}/${PN}}
+#CRYSTAL_PREFIX=${CRYSTAL_PREFIX:-${GAMES_PREFIX_OPT}/crystal}
+#CEL_PREFIX=${CEL_PREFIX:-${CRYSTAL_PREFIX}/cel}
+
+PLANESHIFT_PREFIX=/opt/planeshift
+CRYSTAL_PREFIX=/opt/crystal
+
+src_compile() {
+ ./autogen.sh
+
+ use debug && my_conf="${my_conf} --enable-debug"
+
+ env \
+ CEL=${CRYSTAL_PREFIX} \
+ CRYSTAL=${CRYSTAL_PREFIX} \
+ CFLAGS="${CFLAGS} -I${CRYSTAL_PREFIX}/include/cel -fPIC" \
+ ./configure \
+ --prefix=${PLANESHIFT_PREFIX} \
+ --with-cs-prefix=${CRYSTAL_PREFIX} \
+ ${my_conf} \
+ || die
+
+ # Clear out the npcclient stuff.. it fails to build properly
+ sed 's/SubInclude TOP src npcclient ;//' -i src/Jamfile
+
+ jam || die
+}
+
+src_install() {
+ dodir ${PLANESHIFT_PREFIX}
+
+ mv *.{xml,cfg} "${D}/${PLANESHIFT_PREFIX}/"
+ mv data docs art "${D}/${PLANESHIFT_PREFIX}/"
+
+ jam -sprefix="${D}${PLANESHIFT_PREFIX}" install
+
+ mv ${D}/${PLANESHIFT_PREFIX}/lib/Planeshift/* "${D}/${PLANESHIFT_PREFIX}/"
+ mv ${D}/${PLANESHIFT_PREFIX}/bin/* "${D}/${PLANESHIFT_PREFIX}/"
+
+ rmdir "${D}/${PLANESHIFT_PREFIX}/lib/Planeshift"
+ rmdir "${D}/${PLANESHIFT_PREFIX}/lib"
+ rmdir "${D}/${PLANESHIFT_PREFIX}/bin"
+
+ # Symlink the cel libraries to simplify stuff
+ ln -s ${CRYSTAL_PREFIX}/lib/cel/* ${D}/${PLANESHIFT_PREFIX}/
+
+ dogamesbin ${FILESDIR}/planeshift
+ dogamesbin ${FILESDIR}/planeshift-updater
+ prepgamesdirs
+
+ chgrp -R games "${D}/${PLANESHIFT_PREFIX}"
+ chmod -R g+rw "${D}/${PLANESHIFT_PREFIX}"
+}
+
+pkg_postinst() {
+ ewarn "Before you can use Planeshift, you will need to update"
+ ewarn "all of the art files. This can be done by typing:"
+ ewarn
+ ewarn "planeshift-updater -auto"
+ ewarn
+
+ einfo "Type 'planeshift' to start the Planeshift client"
+ einfo "Keep in mind, you will need to be in the games group"
+}