diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2004-09-23 09:04:08 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2004-09-23 09:04:08 +0000 |
commit | 54627f9612cd8554618d1bb04b58a5c3f3ec5511 (patch) | |
tree | aaeb898a99ab950e36a1ea3c5a2b519ab39c26ca /games-action | |
parent | Added /usr/X11R6/bin to PATH and /usr/X11R6/lib/pkgconfig to PKG_CONFIG_PATH. (diff) | |
download | historical-54627f9612cd8554618d1bb04b58a5c3f3ec5511.tar.gz historical-54627f9612cd8554618d1bb04b58a5c3f3ec5511.tar.bz2 historical-54627f9612cd8554618d1bb04b58a5c3f3ec5511.zip |
games_pkg_postinst
Diffstat (limited to 'games-action')
-rw-r--r-- | games-action/battalion/battalion-1.4b.ebuild | 6 | ||||
-rw-r--r-- | games-action/xshipwars/xshipwars-1.34.0.ebuild | 10 |
2 files changed, 11 insertions, 5 deletions
diff --git a/games-action/battalion/battalion-1.4b.ebuild b/games-action/battalion/battalion-1.4b.ebuild index 83eeeb9b3b34..73089954f897 100644 --- a/games-action/battalion/battalion-1.4b.ebuild +++ b/games-action/battalion/battalion-1.4b.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-action/battalion/battalion-1.4b.ebuild,v 1.6 2004/06/24 21:52:26 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-action/battalion/battalion-1.4b.ebuild,v 1.7 2004/09/23 09:02:17 mr_bones_ Exp $ inherit games @@ -24,7 +24,7 @@ dir="${GAMES_DATADIR}/${PN}" src_unpack() { unpack ${A} - cd ${S} + cd "${S}" # Modify data paths sed -i \ @@ -61,6 +61,8 @@ src_install() { } pkg_postinst() { + games_pkg_postinst + echo einfo "Sound and music are not enabled by default." einfo "Use the S and M keys to enable them in-game, or start the game with" einfo "the -s and -m switches: battalion -s -m" diff --git a/games-action/xshipwars/xshipwars-1.34.0.ebuild b/games-action/xshipwars/xshipwars-1.34.0.ebuild index 255e12b981e5..512a4888ad6a 100644 --- a/games-action/xshipwars/xshipwars-1.34.0.ebuild +++ b/games-action/xshipwars/xshipwars-1.34.0.ebuild @@ -1,18 +1,17 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-action/xshipwars/xshipwars-1.34.0.ebuild,v 1.8 2004/06/30 02:32:13 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-action/xshipwars/xshipwars-1.34.0.ebuild,v 1.9 2004/09/23 09:04:08 mr_bones_ Exp $ inherit gcc eutils games MY_P=xsw-${PV} -S="${WORKDIR}/${MY_P}" DESCRIPTION="massively multi-player, ultra graphical, space-oriented gaming system designed exclusively for network play" +HOMEPAGE="http://wolfpack.twu.net/ShipWars/XShipWars/" SRC_URI="ftp://wolfpack.twu.net/users/wolfpack/${MY_P}.tar.bz2 ftp://wolfpack.twu.net/users/wolfpack/xswdata-1.33d.tar.bz2 ftp://wolfpack.twu.net/users/wolfpack/stimages1.7.tar.bz2 ftp://wolfpack.twu.net/users/wolfpack/babylon5images1.1.tar.bz2 ftp://wolfpack.twu.net/users/wolfpack/stsounds1.4.tgz" -HOMEPAGE="http://wolfpack.twu.net/ShipWars/XShipWars/" LICENSE="GPL-2 xshipwars" SLOT="0" @@ -23,11 +22,15 @@ DEPEND="virtual/libc >=media-sound/esound-0.2.23 virtual/x11" +S="${WORKDIR}/${MY_P}" + src_unpack() { unpack ${MY_P}.tar.bz2 } src_compile() { + local makefile + ./configure.client Linux --prefix=/usr || die ./configure.monitor Linux --prefix=/usr || die ./configure.server Linux --prefix=${GAMES_PREFIX} || die @@ -63,6 +66,7 @@ src_install() { } pkg_postinst() { + games_pkg_postinst echo einfo "Before playing, you should get a copy of the installed " einfo "global XShipWars client configuration file and copy it to " |