summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2007-12-12 06:36:23 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2007-12-12 06:36:23 +0000
commit909c5cdcb74ac8def13b0759fabbff06acc4f1ff (patch)
treef2ed30481482130b148665a03eb81fb063c0cfd1 /games-strategy
parenttidy (diff)
downloadhistorical-909c5cdcb74ac8def13b0759fabbff06acc4f1ff.tar.gz
historical-909c5cdcb74ac8def13b0759fabbff06acc4f1ff.tar.bz2
historical-909c5cdcb74ac8def13b0759fabbff06acc4f1ff.zip
quoting
Package-Manager: portage-2.1.3.19
Diffstat (limited to 'games-strategy')
-rw-r--r--games-strategy/smac/Manifest18
-rw-r--r--games-strategy/smac/smac-6.0a.ebuild45
2 files changed, 26 insertions, 37 deletions
diff --git a/games-strategy/smac/Manifest b/games-strategy/smac/Manifest
index e4788c0806cd..d292cb922acd 100644
--- a/games-strategy/smac/Manifest
+++ b/games-strategy/smac/Manifest
@@ -1,11 +1,8 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
DIST smac-6.0a-x86.run 6801730 RMD160 323e1958a9a48b7ce6c76ce07da9718fc1b796d9 SHA1 2cc8a3112c28c72548b9fa485cd28fa7ba6126a3 SHA256 69b845728f55caef038c6392f148beae47156933f5bff0ce7d9c49162f1d0ee7
-EBUILD smac-6.0a.ebuild 2841 RMD160 f63868ca08e38b50b6c08d679d2c1aaa02dc57bd SHA1 1edad5c4e41c5b73af518290313784e21e30f64e SHA256 19300c35fef87e9abfa2c0e2c71637f87d037117d0fd8cf24b7a957ce4095bc8
-MD5 2a672b15e3c938938948cab0fe9de11c smac-6.0a.ebuild 2841
-RMD160 f63868ca08e38b50b6c08d679d2c1aaa02dc57bd smac-6.0a.ebuild 2841
-SHA256 19300c35fef87e9abfa2c0e2c71637f87d037117d0fd8cf24b7a957ce4095bc8 smac-6.0a.ebuild 2841
+EBUILD smac-6.0a.ebuild 2872 RMD160 7a1ffcf45b24e1ad643d32a66e7fc0824ea786e6 SHA1 01d34782924d3e4fb1ac16d852ed7690d74e2e59 SHA256 263bc94f8e4d7648b20f9903d38fd2c50765c5910e4c6fef42c0a931b798c527
+MD5 bbcbaf3a1a3315d0f1e6e611bb97b06a smac-6.0a.ebuild 2872
+RMD160 7a1ffcf45b24e1ad643d32a66e7fc0824ea786e6 smac-6.0a.ebuild 2872
+SHA256 263bc94f8e4d7648b20f9903d38fd2c50765c5910e4c6fef42c0a931b798c527 smac-6.0a.ebuild 2872
MISC ChangeLog 1806 RMD160 46f51f5b305da4868b0e8c9a554448910a33a4c8 SHA1 9e5eb614682f1fb2c52b48b8a1920ff5e6a49b03 SHA256 0400acada23e1666219d95a9b9ededab072d9fc15d8f079cdc446f8532756dcd
MD5 d84d2c7f659959d7e1be50b4f7b1cf5b ChangeLog 1806
RMD160 46f51f5b305da4868b0e8c9a554448910a33a4c8 ChangeLog 1806
@@ -17,10 +14,3 @@ SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 metadata
MD5 407b6b2f735ea69ba8df911481f25ae2 files/digest-smac-6.0a 235
RMD160 0707ad70da508a6c0a48e57c058e777b4874ff15 files/digest-smac-6.0a 235
SHA256 35b1ec4a1d4e634d12f0e49789fab3c4fea887e5892e6171225b58fc87e8321a files/digest-smac-6.0a 235
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.3 (GNU/Linux)
-
-iD8DBQFF9ZjX6J2i8a8J4okRApKKAJ9esIy6GfmyKLn660diDDA31ic6sgCfd3rs
-gCtuqqvho1sIGxINOvXJD/g=
-=M14l
------END PGP SIGNATURE-----
diff --git a/games-strategy/smac/smac-6.0a.ebuild b/games-strategy/smac/smac-6.0a.ebuild
index 57c0d2b4090e..d1fd02d81185 100644
--- a/games-strategy/smac/smac-6.0a.ebuild
+++ b/games-strategy/smac/smac-6.0a.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/smac/smac-6.0a.ebuild,v 1.13 2007/03/12 18:11:40 genone Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/smac/smac-6.0a.ebuild,v 1.14 2007/12/12 06:36:23 mr_bones_ Exp $
inherit eutils games
@@ -33,44 +33,43 @@ Ddir=${D}/${dir}
src_unpack() {
cdrom_get_cds Alien_Crossfire_Manual.pdf
- mkdir -p ${S}/a
- cd ${S}/a
+ mkdir -p "${S}"/a
+ cd "${S}"/a
unpack_makeself ${P}-x86.run
}
src_install() {
- dodir ${dir}
einfo "Copying files... this may take a while..."
- exeinto ${dir}
- doexe ${CDROM_ROOT}/bin/x86/{smac,smacx,smacpack}
+ exeinto "${dir}"
+ doexe "${CDROM_ROOT}"/bin/x86/{smac,smacx,smacpack}
- insinto ${dir}
+ insinto "${dir}"
doins ${CDROM_ROOT}/{{Alien_Crossfire,Alpha_Centauri}_Manual.pdf,QuickStart.txt,README,icon.{bmp,xpm}}
- cd ${Ddir}
- tar xzf ${CDROM_ROOT}/data.tar.gz || die "unpack"
- insinto ${dir}/data
- doins ${CDROM_ROOT}/data/*.{pcx,cvr,flc,gif} || die "copying data"
- doins -r ${CDROM_ROOT}/data/facs || die "copying fac-data"
- doins -r ${CDROM_ROOT}/data/fx || die "copying fx-data"
- doins -r ${CDROM_ROOT}/data/projs || die "copying projects-data"
- doins -r ${CDROM_ROOT}/data/techs || die "copying tech-data"
- doins -r ${CDROM_ROOT}/data/voices || die "copying voices"
+ cd "${Ddir}"
+ tar xzf "${CDROM_ROOT}"/data.tar.gz || die "unpack"
+ insinto "${dir}"/data
+ doins "${CDROM_ROOT}"/data/*.{pcx,cvr,flc,gif} || die "copying data"
+ doins -r "${CDROM_ROOT}"/data/facs || die "copying fac-data"
+ doins -r "${CDROM_ROOT}"/data/fx || die "copying fx-data"
+ doins -r "${CDROM_ROOT}"/data/projs || die "copying projects-data"
+ doins -r "${CDROM_ROOT}"/data/techs || die "copying tech-data"
+ doins -r "${CDROM_ROOT}"/data/voices || die "copying voices"
if use videos ; then
- doins -r ${CDROM_ROOT}/data/movies || die "copying movies"
+ doins -r "${CDROM_ROOT}"/data/movies || die "copying movies"
fi
- cd ${S}/a
+ cd "${S}"/a
loki_patch --verify patch.dat
loki_patch patch.dat ${Ddir} >& /dev/null || die "patching"
# now, since these files are coming off a cd, the times/sizes/md5sums wont
# be different ... that means portage will try to unmerge some files (!)
# we run touch on ${D} so as to make sure portage doesnt do any such thing
- find ${Ddir} -exec touch '{}' \;
+ find "${Ddir}" -exec touch '{}' \;
- newicon ${CDROM_ROOT}/icon.xpm smac.xpm
+ newicon "${CDROM_ROOT}"/icon.xpm smac.xpm
games_make_wrapper ${PN} ./${PN} "${dir}" "${dir}"
games_make_wrapper ${PN}x ./${PN}x "${dir}" "${dir}"
@@ -80,9 +79,9 @@ src_install() {
prepgamesdirs
einfo "Linking libs provided by 'sys-libs/lib-compat-loki' to '${dir}'."
- dosym /lib/loki_ld-linux.so.2 ${dir}/ld-linux.so.2 && \
- dosym /usr/lib/loki_libc.so.6 ${dir}/libc.so.6 && \
- dosym /usr/lib/loki_libnss_files.so.2 ${dir}/libnss_files.so.2 || die "dosym failed"
+ dosym /lib/loki_ld-linux.so.2 "${dir}"/ld-linux.so.2 && \
+ dosym /usr/lib/loki_libc.so.6 "${dir}"/libc.so.6 && \
+ dosym /usr/lib/loki_libnss_files.so.2 "${dir}"/libnss_files.so.2 || die "dosym failed"
}
pkg_postinst() {