diff options
author | Tristan Heaven <nyhm@gentoo.org> | 2007-07-01 23:13:59 +0000 |
---|---|---|
committer | Tristan Heaven <nyhm@gentoo.org> | 2007-07-01 23:13:59 +0000 |
commit | 213718d1f5d9e02f89e3c0ee3ba4ec3660e77f6d (patch) | |
tree | 79423ba093abaa0c928c2fc645de6467dbf3a863 /games-engines | |
parent | (QA) RESTRICT="multilib-pkg-force" -> EMULTILIB_PKG="true" (diff) | |
download | gentoo-2-213718d1f5d9e02f89e3c0ee3ba4ec3660e77f6d.tar.gz gentoo-2-213718d1f5d9e02f89e3c0ee3ba4ec3660e77f6d.tar.bz2 gentoo-2-213718d1f5d9e02f89e3c0ee3ba4ec3660e77f6d.zip |
RESTRICT="test" and cleanup
(Portage version: 2.1.3_rc6)
Diffstat (limited to 'games-engines')
-rw-r--r-- | games-engines/xzip/ChangeLog | 6 | ||||
-rw-r--r-- | games-engines/xzip/files/xzip-182-makefile.diff | 30 | ||||
-rw-r--r-- | games-engines/xzip/xzip-1.8.2-r2.ebuild | 23 |
3 files changed, 16 insertions, 43 deletions
diff --git a/games-engines/xzip/ChangeLog b/games-engines/xzip/ChangeLog index e9ddb4597bbe..52861641bfa8 100644 --- a/games-engines/xzip/ChangeLog +++ b/games-engines/xzip/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for games-engines/xzip # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-engines/xzip/ChangeLog,v 1.9 2007/02/21 23:36:14 peper Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-engines/xzip/ChangeLog,v 1.10 2007/07/01 23:13:59 nyhm Exp $ + + 01 Jul 2007; Tristan Heaven <nyhm@gentoo.org> + -files/xzip-182-makefile.diff, xzip-1.8.2-r2.ebuild: + RESTRICT="test" and cleanup 21 Feb 2007; Piotr Jaroszyński <peper@gentoo.org> ChangeLog: Transition to Manifest2. diff --git a/games-engines/xzip/files/xzip-182-makefile.diff b/games-engines/xzip/files/xzip-182-makefile.diff deleted file mode 100644 index 3112b3ece030..000000000000 --- a/games-engines/xzip/files/xzip-182-makefile.diff +++ /dev/null @@ -1,30 +0,0 @@ ---- Makefile.orig Tue Jul 24 08:21:17 2001 -+++ Makefile Tue Jul 24 12:06:32 2001 -@@ -51,7 +51,7 @@ - # BYTE_ORDER definitions installed. If AUTO_END_MODE doesn't - # work, use LITTLE_END_MODE on an x86, BIG_END_MODE on a - # 680x0 or PPC machine. --#SYSTEMFLAGS = -DAUTO_END_MODE -+SYSTEMFLAGS = -DAUTO_END_MODE - - # definitions for BSDI 4 - #SYSTEMFLAGS = -DAUTO_END_MODE -@@ -67,8 +67,8 @@ - # definitions for where the X lib and include directories are. - # The following are defaults that might work. - --XINCLUDE = /usr/include/X11 --XLIB = /usr/lib/X11 -+XINCLUDE = /usr/X11R6/include -+XLIB = /usr/X11R6/lib - - # If your compiler can't find these things, try commenting out the - # above, and uncommenting various versions below. Also look around -@@ -97,7 +97,7 @@ - # -------------------- - - # definition for where to install xzip executable and man page --DESTDIR = /usr/local -+DESTDIR = /usr/X11R6 - - # -------------------- diff --git a/games-engines/xzip/xzip-1.8.2-r2.ebuild b/games-engines/xzip/xzip-1.8.2-r2.ebuild index a9b88338a0d8..4ca8b18a501c 100644 --- a/games-engines/xzip/xzip-1.8.2-r2.ebuild +++ b/games-engines/xzip/xzip-1.8.2-r2.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2006 Gentoo Foundation +# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-engines/xzip/xzip-1.8.2-r2.ebuild,v 1.8 2006/12/04 22:30:52 wolf31o2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-engines/xzip/xzip-1.8.2-r2.ebuild,v 1.9 2007/07/01 23:13:59 nyhm Exp $ -inherit eutils games +inherit games DESCRIPTION="X interface to Z-code based text games" HOMEPAGE="http://www.eblong.com/zarf/xzip.html" @@ -12,22 +12,21 @@ LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ppc x86" IUSE="" +RESTRICT="test" -RDEPEND="x11-libs/libX11" +DEPEND="x11-libs/libX11" S=${WORKDIR}/xzip -src_unpack() { - unpack xzip182.tar.Z - cd "${S}" - epatch "${FILESDIR}"/xzip-182-makefile.diff - sed -i \ - -e "s/-O/${CFLAGS}/" Makefile \ - || die "sed Makefile failed" +src_compile() { + emake \ + CFLAGS="${CFLAGS} -DAUTO_END_MODE" \ + LDFLAGS="${LDFLAGS}" \ + || die "emake failed" } src_install() { - dogamesbin xzip || die + dogamesbin xzip || die "dogamesbin failed" dodoc README doman xzip.1 prepgamesdirs |