# ChangeLog for games-action/d1x
-# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-action/d1x/ChangeLog,v 1.7 2006/10/24 22:42:18 wolf31o2 Exp $
+# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-action/d1x/ChangeLog,v 1.8 2007/03/07 16:00:00 wolf31o2 Exp $
+
+ 07 Mar 2007; Chris Gianelloni <wolf31o2@gentoo.org> d1x-20040118.ebuild:
+ Change all instances of [ to [[.
24 Oct 2006; Chris Gianelloni <wolf31o2@gentoo.org> d1x-20040118.ebuild:
Moved cdrom_get_cds to src_unpack since binary packages don't require the
-# 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-action/d1x/d1x-20040118.ebuild,v 1.7 2006/10/24 22:42:18 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-action/d1x/d1x-20040118.ebuild,v 1.8 2007/03/07 16:00:00 wolf31o2 Exp $
inherit eutils games
cat > "${T}"/d1x <<-EOS
#!/bin/sh
- if [ ! -e "\${HOME}/.d1x" ]; then
+ if [[ ! -e "\${HOME}/.d1x" ]] ; then
mkdir "\${HOME}/.d1x"
cp "${GAMES_DATADIR}/d1x/d1x.ini" "\${HOME}/.d1x/"
fi
# ChangeLog for games-action/d2x
# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-action/d2x/ChangeLog,v 1.17 2007/01/09 21:54:12 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-action/d2x/ChangeLog,v 1.18 2007/03/07 15:55:40 wolf31o2 Exp $
+
+ 07 Mar 2007; Chris Gianelloni <wolf31o2@gentoo.org> d2x-0.2.5-r2.ebuild,
+ d2x-0.2.5-r3.ebuild:
+ Change all instances of [ to [[.
*d2x-0.2.5-r3 (09 Jan 2007)
-# 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-action/d2x/d2x-0.2.5-r2.ebuild,v 1.5 2006/10/24 22:31:42 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-action/d2x/d2x-0.2.5-r2.ebuild,v 1.6 2007/03/07 15:55:40 wolf31o2 Exp $
inherit flag-o-matic eutils games
if use cdinstall ; then
if [[ ! -e "${DISTDIR}"/descent2.sow ]] ; then
cdrom_get_cds d2data
- if [ -e ${CDROM_ROOT}/d2data/descent2.sow ] ; then
+ if [[ -e ${CDROM_ROOT}/d2data/descent2.sow ]] ; then
export CDROM_ROOT=${CDROM_ROOT}/d2data
einfo "Found the original Descent2 CD"
einfo "Copying descent2.sow to ${DISTDIR}"
for ren in sdl $(useq opengl && echo opengl) \
$(useq svga && echo svga) $(useq ggi && echo ggi)
do
- [ "${ren}" == "sdl" ] \
+ [[ "${ren}" == "sdl" ]] \
&& renconf="" \
|| renconf="--with-${ren}"
- [ "${ren}" == "svga" ] \
+ [[ "${ren}" == "svga" ]] \
&& defflags="-DSVGALIB_INPUT" \
|| defflags=""
make distclean
egamesconf \
${myconf} \
${renconf} \
- --datadir=${GAMES_DATADIR_BASE} \
+ --datadir="${GAMES_DATADIR_BASE}" \
|| die "conf ${ren}"
emake CXXFLAGS="${CXXFLAGS} ${defflags}" || die "build ${ren}"
mv d2x* my-bins/
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-action/d2x/d2x-0.2.5-r3.ebuild,v 1.1 2007/01/09 21:54:12 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-action/d2x/d2x-0.2.5-r3.ebuild,v 1.2 2007/03/07 15:55:40 wolf31o2 Exp $
inherit eutils flag-o-matic games
mkdir my-bins
for ren in sdl $(useq opengl && echo opengl) \
$(useq svga && echo svga) $(useq ggi && echo ggi) ; do
- [ "${ren}" == "sdl" ] \
+ [[ "${ren}" == "sdl" ]] \
&& renconf="" \
|| renconf="--with-${ren}"
- [ "${ren}" == "svga" ] \
+ [[ "${ren}" == "svga" ]] \
&& defflags="-DSVGALIB_INPUT" \
|| defflags=""
make distclean