summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2005-09-16 02:25:06 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2005-09-16 02:25:06 +0000
commite984dc38f24243006be73439375bf9fb4add250f (patch)
tree0df142454858c249319c56df1224b04a9229aea3
parentMark 4.0.1-r2 stable on alpha (diff)
downloadhistorical-e984dc38f24243006be73439375bf9fb4add250f.tar.gz
historical-e984dc38f24243006be73439375bf9fb4add250f.tar.bz2
historical-e984dc38f24243006be73439375bf9fb4add250f.zip
needs app-arch/unzip; tidy
Package-Manager: portage-2.0.51.22-r2
-rw-r--r--games-strategy/freecnc/ChangeLog8
-rw-r--r--games-strategy/freecnc/Manifest18
-rw-r--r--games-strategy/freecnc/freecnc-0.2.0.ebuild35
-rw-r--r--games-strategy/freecnc/freecnc-0.2.1.31072003.ebuild41
4 files changed, 56 insertions, 46 deletions
diff --git a/games-strategy/freecnc/ChangeLog b/games-strategy/freecnc/ChangeLog
index c2409c1fd87f..a48e5c822f00 100644
--- a/games-strategy/freecnc/ChangeLog
+++ b/games-strategy/freecnc/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-strategy/freecnc
-# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/freecnc/ChangeLog,v 1.5 2004/11/08 01:41:04 josejx Exp $
+# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/freecnc/ChangeLog,v 1.6 2005/09/16 02:25:06 mr_bones_ Exp $
+
+ 16 Sep 2005; Michael Sterrett <mr_bones_@gentoo.org> freecnc-0.2.0.ebuild,
+ freecnc-0.2.1.31072003.ebuild:
+ needs app-arch/unzip; tidy
08 Nov 2004; Joseph Jezak <josejx@gentoo.org>
freecnc-0.2.1.31072003.ebuild:
diff --git a/games-strategy/freecnc/Manifest b/games-strategy/freecnc/Manifest
index 5873ad021bc1..e596011cf04d 100644
--- a/games-strategy/freecnc/Manifest
+++ b/games-strategy/freecnc/Manifest
@@ -1,14 +1,14 @@
-MD5 01ff747ab6646bcc738efec1a8985935 ChangeLog 715
-MD5 4f1c51ccd97a27e8fff5d00b2a6e42e5 freecnc-0.2.0.ebuild 2085
-MD5 b11af61552f7f0ec72907360cc1b86d5 freecnc-0.2.1.31072003.ebuild 2128
+MD5 aa7817fcc6fa9bcb0fa6d1ecc19400b8 freecnc-0.2.1.31072003.ebuild 2258
MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
-MD5 deb5d60f8269a27307f92372b65f2600 files/0.2.0-gentoo-paths.patch 980
+MD5 1fd1a9673df3e8ba822f61ed9290b139 freecnc-0.2.0.ebuild 2222
+MD5 c1367cb0182bffdf9207a7fad503c5fb ChangeLog 858
+MD5 190952f0b1cd7f8ebd7385c01e0b70db files/freecnc 44
+MD5 7705eafc118ebb753d4b8a80fe7e333c files/digest-freecnc-0.2.0 189
MD5 97801c0bb7df9499db0b530110aaa510 files/0.2.0-makefile-cflags.patch 4220
-MD5 929803ba179a8f6e0996f29dfc33dcdc files/0.2.0-remove-root.patch 636
MD5 bb8ca96dac9e2f1f139629d437ff6e7a files/0.2.1.31072003-gentoo-paths.patch 1583
-MD5 368b1fb21ec956e33e0cea243ba89448 files/0.2.1.31072003-makefile-cflags.patch 478
+MD5 deb5d60f8269a27307f92372b65f2600 files/0.2.0-gentoo-paths.patch 980
+MD5 da57fef460c5cba4a6aaf3490242a0e4 files/freecnc-0.2.0-endian.patch 3042
MD5 a95fe9ff48a57f7d2afaf10e0932faab files/0.2.1.31072003-remove-root.patch 555
-MD5 7705eafc118ebb753d4b8a80fe7e333c files/digest-freecnc-0.2.0 189
MD5 caea2862781d0a98c4c8eb0b932aa47d files/digest-freecnc-0.2.1.31072003 198
-MD5 190952f0b1cd7f8ebd7385c01e0b70db files/freecnc 44
-MD5 da57fef460c5cba4a6aaf3490242a0e4 files/freecnc-0.2.0-endian.patch 3042
+MD5 368b1fb21ec956e33e0cea243ba89448 files/0.2.1.31072003-makefile-cflags.patch 478
+MD5 929803ba179a8f6e0996f29dfc33dcdc files/0.2.0-remove-root.patch 636
diff --git a/games-strategy/freecnc/freecnc-0.2.0.ebuild b/games-strategy/freecnc/freecnc-0.2.0.ebuild
index 3d074aa20133..7aa40e6b2531 100644
--- a/games-strategy/freecnc/freecnc-0.2.0.ebuild
+++ b/games-strategy/freecnc/freecnc-0.2.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/freecnc/freecnc-0.2.0.ebuild,v 1.5 2005/05/02 23:22:26 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/freecnc/freecnc-0.2.0.ebuild,v 1.6 2005/09/16 02:25:06 mr_bones_ Exp $
inherit games flag-o-matic eutils
@@ -15,9 +15,11 @@ SLOT="0"
KEYWORDS="x86"
IUSE="zlib nocd"
-DEPEND="media-libs/libsdl
+RDEPEND="media-libs/libsdl
media-libs/sdl-net
zlib? ( sys-libs/zlib )"
+DEPEND="${RDEPEND}
+ app-arch/unzip"
S=${WORKDIR}/freecnc++
@@ -30,37 +32,38 @@ src_unpack() {
mv ${f} `echo ${f} | awk '{print tolower($1)}'` || die "moving $f"
done
fi
- cd ${S}
- epatch ${FILESDIR}/${PV}-makefile-cflags.patch
- epatch ${FILESDIR}/${PV}-remove-root.patch
- epatch ${FILESDIR}/${PV}-gentoo-paths.patch
- epatch "${FILESDIR}"/${P}-endian.patch
+ cd "${S}"
+ epatch "${FILESDIR}"/${PV}-makefile-cflags.patch \
+ "${FILESDIR}"/${PV}-remove-root.patch \
+ "${FILESDIR}"/${PV}-gentoo-paths.patch \
+ "${FILESDIR}"/${P}-endian.patch
rm -f src/include/endian.h
sed -i \
-e "s:GENTOO_LOGDIR:${GAMES_LOGDIR}:" \
-e "s:GENTOO_CONFDIR:${GAMES_SYSCONFDIR}/${PN}/:" \
-e "s:GENTOO_DATADIR:${GAMES_DATADIR}/${PN}/:" \
- src/freecnc.cpp src/vfs/vfs.cpp
+ src/freecnc.cpp src/vfs/vfs.cpp \
+ || die "sed failed"
}
src_compile() {
- make EXTRACFLAGS="${CFLAGS}" || die
+ emake EXTRACFLAGS="${CFLAGS}" || die "emake failed"
}
src_install() {
- exeinto ${GAMES_LIBDIR}/${PN}
+ exeinto "${GAMES_LIBDIR}"/${PN}
doexe freecnc *.vfs
- dogamesbin ${FILESDIR}/freecnc
+ dogamesbin "${FILESDIR}"/freecnc || die "dogamesbin failed"
dosed "s:GENTOO_DIR:${GAMES_LIBDIR}/${PN}:" ${GAMES_BINDIR}/freecnc
- insinto ${GAMES_DATADIR}/${PN}/conf
+ insinto "${GAMES_DATADIR}"/${PN}/conf
doins conf/*
- insinto ${GAMES_SYSCONFDIR}/${PN}
+ insinto "${GAMES_SYSCONFDIR}"/${PN}
doins conf/*
dodoc AUTHORS ChangeLog NEWS README THANKS TODO
if use nocd ; then
- cd ${WORKDIR}/data
- insinto ${GAMES_DATADIR}/${PN}
- doins *.mix *.aud
+ cd "${WORKDIR}"/data
+ insinto "${GAMES_DATADIR}"/${PN}
+ doins *.mix *.aud || die "doins failed"
dodoc *.txt
fi
prepgamesdirs
diff --git a/games-strategy/freecnc/freecnc-0.2.1.31072003.ebuild b/games-strategy/freecnc/freecnc-0.2.1.31072003.ebuild
index 245832fa8c5b..9a26a558e948 100644
--- a/games-strategy/freecnc/freecnc-0.2.1.31072003.ebuild
+++ b/games-strategy/freecnc/freecnc-0.2.1.31072003.ebuild
@@ -1,8 +1,8 @@
-# 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-strategy/freecnc/freecnc-0.2.1.31072003.ebuild,v 1.5 2004/11/08 01:41:04 josejx Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/freecnc/freecnc-0.2.1.31072003.ebuild,v 1.6 2005/09/16 02:25:06 mr_bones_ Exp $
-inherit games flag-o-matic eutils
+inherit flag-o-matic eutils games
DESCRIPTION="SDL-rewrite of the classical real time strategy hit Command & Conquer"
HOMEPAGE="http://freecnc-sf.holarse.net/"
@@ -13,12 +13,14 @@ SRC_URI="mirror://gentoo/freecnc++-${PV}-src.tar.bz2
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~x86 ~ppc"
+KEYWORDS="~ppc ~x86"
IUSE="zlib nocd"
-DEPEND="media-libs/libsdl
+RDEPEND="media-libs/libsdl
media-libs/sdl-net
zlib? ( sys-libs/zlib )"
+DEPEND="${RDEPEND}
+ app-arch/unzip"
S=${WORKDIR}/freecnc++
@@ -31,35 +33,36 @@ src_unpack() {
mv ${f} `echo ${f} | awk '{print tolower($1)}'` || die "moving $f"
done
fi
- cd ${S}
- epatch ${FILESDIR}/${PV}-makefile-cflags.patch
- epatch ${FILESDIR}/${PV}-remove-root.patch
- epatch ${FILESDIR}/${PV}-gentoo-paths.patch
+ cd "${S}"
+ epatch ${FILESDIR}/${PV}-makefile-cflags.patch \
+ ${FILESDIR}/${PV}-remove-root.patch \
+ ${FILESDIR}/${PV}-gentoo-paths.patch
sed -i \
-e "s:GENTOO_LOGDIR:${GAMES_LOGDIR}:" \
-e "s:GENTOO_CONFDIR:${GAMES_SYSCONFDIR}/${PN}/:" \
-e "s:GENTOO_DATADIR:${GAMES_DATADIR}/${PN}/:" \
- src/{freecnc,vfs/vfs}.cpp tools/audplay/audplay.cpp
+ src/{freecnc,vfs/vfs}.cpp tools/audplay/audplay.cpp \
+ || die "sed failed"
}
src_compile() {
- make linux EXTRACFLAGS="${CFLAGS}" || die
+ emake linux EXTRACFLAGS="${CFLAGS}" || die "emake failed"
}
src_install() {
- exeinto ${GAMES_LIBDIR}/${PN}
- doexe freecnc *.vfs audplay shpview tmpinied
- dogamesbin ${FILESDIR}/freecnc
+ exeinto "${GAMES_LIBDIR}"/${PN}
+ doexe freecnc *.vfs audplay shpview tmpinied || die "doexe failed"
+ dogamesbin "${FILESDIR}"/freecnc
dosed "s:GENTOO_DIR:${GAMES_LIBDIR}/${PN}:" ${GAMES_BINDIR}/freecnc
- insinto ${GAMES_DATADIR}/${PN}/conf
+ insinto "${GAMES_DATADIR}"/${PN}/conf
doins conf/*
- insinto ${GAMES_SYSCONFDIR}/${PN}
+ insinto "${GAMES_SYSCONFDIR}"/${PN}
doins conf/*
dodoc AUTHORS ChangeLog NEWS README THANKS TODO
if use nocd ; then
- cd ${WORKDIR}/data
- insinto ${GAMES_DATADIR}/${PN}
- doins *.mix *.aud
+ cd "${WORKDIR}"/data
+ insinto "${GAMES_DATADIR}"/${PN}
+ doins *.mix *.aud || die "doins failed"
dodoc *.txt
fi
prepgamesdirs