diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2005-07-22 04:35:41 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2005-07-22 04:35:41 +0000 |
commit | f2ebb685e9262b51e0bd0f665ea52c680a6f9ded (patch) | |
tree | 2eea100818d1092a2d834e7476e627292ac4f810 | |
parent | initial import #76501 by gentoo_lan (diff) | |
download | historical-f2ebb685e9262b51e0bd0f665ea52c680a6f9ded.tar.gz historical-f2ebb685e9262b51e0bd0f665ea52c680a6f9ded.tar.bz2 historical-f2ebb685e9262b51e0bd0f665ea52c680a6f9ded.zip |
Fix doc install and oss sound support - patch from David Turner via bug #95818
Package-Manager: portage-2.0.51.22-r2
-rw-r--r-- | games-engines/frotz/ChangeLog | 5 | ||||
-rw-r--r-- | games-engines/frotz/Manifest | 4 | ||||
-rw-r--r-- | games-engines/frotz/frotz-2.43.ebuild | 31 |
3 files changed, 26 insertions, 14 deletions
diff --git a/games-engines/frotz/ChangeLog b/games-engines/frotz/ChangeLog index 3be6dcc6b061..f46133eb7baa 100644 --- a/games-engines/frotz/ChangeLog +++ b/games-engines/frotz/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for games-engines/frotz # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-engines/frotz/ChangeLog,v 1.7 2005/06/15 18:38:06 wolf31o2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-engines/frotz/ChangeLog,v 1.8 2005/07/22 04:35:41 mr_bones_ Exp $ + + 22 Jul 2005; Michael Sterrett <mr_bones_@gentoo.org> frotz-2.43.ebuild: + Fix doc install and oss sound support - patch from David Turner via bug #95818 15 Jun 2005; Chris Gianelloni <wolf31o2@gentoo.org> frotz-2.43.ebuild: Removed INSTALL file. diff --git a/games-engines/frotz/Manifest b/games-engines/frotz/Manifest index d1450f3bc5de..78398dcdd579 100644 --- a/games-engines/frotz/Manifest +++ b/games-engines/frotz/Manifest @@ -1,5 +1,5 @@ -MD5 a06f128636537aac8a8d99afc7b382b8 ChangeLog 1291 -MD5 cb40e1996dd3663d143843499150512d frotz-2.43.ebuild 950 MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158 +MD5 3d27e5a823cb7c788d10dcd17d0c0ac1 ChangeLog 1448 +MD5 2e7b79fb22147f3363cc083732033dfc frotz-2.43.ebuild 1190 MD5 32133b094b45d1db7b013484450dc127 files/digest-frotz-2.43 62 MD5 a4000400c7a971ee3ff869b4f55ef2a3 files/frotz-2.42-makefile.patch 527 diff --git a/games-engines/frotz/frotz-2.43.ebuild b/games-engines/frotz/frotz-2.43.ebuild index d751e0aae6d6..ab311fc73e27 100644 --- a/games-engines/frotz/frotz-2.43.ebuild +++ b/games-engines/frotz/frotz-2.43.ebuild @@ -1,6 +1,8 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-engines/frotz/frotz-2.43.ebuild,v 1.10 2005/06/15 18:38:06 wolf31o2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-engines/frotz/frotz-2.43.ebuild,v 1.11 2005/07/22 04:35:41 mr_bones_ Exp $ + +inherit toolchain-funcs games DESCRIPTION="Curses based interpreter for Z-code based text games" HOMEPAGE="http://www.cs.csubak.edu/~dgriffi/proj/frotz/" @@ -8,23 +10,30 @@ SRC_URI="http://www.ifarchive.org/if-archive/infocom/interpreters/frotz/${P}.tar LICENSE="GPL-2" SLOT="0" -KEYWORDS="x86 ppc amd64 ppc-macos" -IUSE="oss alsa" +KEYWORDS="amd64 ppc ppc-macos x86" +IUSE="alsa oss" DEPEND="sys-libs/ncurses alsa? ( oss? ( media-libs/alsa-oss ) )" src_compile() { - local MAKE_OPTS="CONFIG_DIR=/etc" - use oss && MAKE_OPTS="${MAKE_OPTS} SOUND_DEFS=-DOOS_SOUND" - emake ${MAKE_OPTS} || die "emake failed" + local OPTS="CC=$(tc-getcc) CONFIG_DIR=${GAMES_SYSCONFDIR}" + use oss && OPTS="${MAKE_OPTS} SOUND_DEFS=-DOSS_SOUND SOUND_DEV=/dev/dsp" + emake ${MAKE_OPTS} all || die "emake failed" } src_install () { - dobin frotz || die "dobin failed" - doman frotz.6 - dodoc AUTHORS BUGS ChangeLog HOW_TO_PLAY README TODO + dogamesbin {d,}frotz || die "dogamesbin failed" + doman doc/*.6 + dodoc AUTHORS BUGS ChangeLog HOW_TO_PLAY README TODO \ + doc/{frotz.conf-big,frotz.conf-small} + prepgamesdirs +} - insinto /usr/share/${P}/ - doins doc/{frotz.conf-big,frotz.conf-small} || die "doins failed" +pkg_postinst() { + games_pkg_postinst + echo + einfo "Global config file can be installed in ${GAMES_SYSCONFDIR}/frotz.conf" + einfo "Sample config files are in /usr/share/doc/${PF}" + echo } |