eautoreconf to find install (bug #174715); tidy
authorMichael Sterrett <mr_bones_@gentoo.org>
Mon, 16 Apr 2007 05:01:58 +0000 (05:01 +0000)
committerMichael Sterrett <mr_bones_@gentoo.org>
Mon, 16 Apr 2007 05:01:58 +0000 (05:01 +0000)
Package-Manager: portage-2.1.2.2

games-action/cylindrix/ChangeLog
games-action/cylindrix/Manifest
games-action/cylindrix/cylindrix-1.0.ebuild

index 0711fbb22c9f28d6f682a0d27dea80675c68fb1d..69b72e8d3b2e2b8d90ee91c4d662395c041668fd 100644 (file)
@@ -1,6 +1,9 @@
 # ChangeLog for games-action/cylindrix
-# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-action/cylindrix/ChangeLog,v 1.4 2006/01/28 21:19:10 joshuabaergen Exp $
+# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-action/cylindrix/ChangeLog,v 1.5 2007/04/16 05:01:58 mr_bones_ Exp $
+
+  16 Apr 2007; Michael Sterrett <mr_bones_@gentoo.org> cylindrix-1.0.ebuild:
+  eautoreconf to find install (bug #174715); tidy
 
   28 Jan 2006; Joshua Baergen <joshuabaergen@gentoo.org>
   cylindrix-1.0.ebuild:
index 26752ef0d15f21efc29b3107e32c304c088140d0..cec33760b856d4a3452f4c5acf100e45d3066d8f 100644 (file)
@@ -1,12 +1,12 @@
 DIST cylindrix-1.0.tar.gz 5935587 RMD160 dde138a04a223c1d7d66d179f01636c3961fb4cd SHA1 6fd1b017c951b3816edd9ce2f183c322e73dcf78 SHA256 33bfc264d906a1977090e47a38f544551d2939d4c0ea01e1792f63ab4fa06f20
-EBUILD cylindrix-1.0.ebuild 1054 RMD160 62baa63f58e01769373ae6e26bc3f7c2ed6a21f9 SHA1 cd977e8da106d6969e9c17e907fa2bc893f92907 SHA256 59ae34e73fdb3eceb14c07c0c85a51bb7aa343929e49c17347e580553b84cdcb
-MD5 382ef83dacd1da4f9e1b7b5a740192f0 cylindrix-1.0.ebuild 1054
-RMD160 62baa63f58e01769373ae6e26bc3f7c2ed6a21f9 cylindrix-1.0.ebuild 1054
-SHA256 59ae34e73fdb3eceb14c07c0c85a51bb7aa343929e49c17347e580553b84cdcb cylindrix-1.0.ebuild 1054
-MISC ChangeLog 639 RMD160 4713ae2767e2514a3c621f65cfe511cf607285c2 SHA1 eaf2574d5cfc1000ff17a10ee34c370e9ac09e68 SHA256 cceef4d962d7440f2d2b314216839ba66faf0ec46133d0f684d7a5f45ee3e548
-MD5 5a88d09a22b4dda030537c6893cb739f ChangeLog 639
-RMD160 4713ae2767e2514a3c621f65cfe511cf607285c2 ChangeLog 639
-SHA256 cceef4d962d7440f2d2b314216839ba66faf0ec46133d0f684d7a5f45ee3e548 ChangeLog 639
+EBUILD cylindrix-1.0.ebuild 1041 RMD160 bbe41e1340d2c5177a002b87368b3af50afd7cdf SHA1 6425fb784875de7b0264605cfce6f1f0bbfd72af SHA256 257c6171974deae2449a833522d2260e9ea2851bd81857c18522adf3c0967734
+MD5 c933abbdb63acc88b109f620eaaad3e3 cylindrix-1.0.ebuild 1041
+RMD160 bbe41e1340d2c5177a002b87368b3af50afd7cdf cylindrix-1.0.ebuild 1041
+SHA256 257c6171974deae2449a833522d2260e9ea2851bd81857c18522adf3c0967734 cylindrix-1.0.ebuild 1041
+MISC ChangeLog 763 RMD160 a2cdc0bd212f30a6e4365b4a0d3eeafb49e72640 SHA1 a651b0a00264b8db2ebc5d92a99cb0bef4ea8171 SHA256 84bc2616108ac7ab81d47a3eabdf97b7bc29aee12f1dec8ff89865cfb1f70531
+MD5 6a7afdd4ef9a0a64a66cd80b7ab77dbe ChangeLog 763
+RMD160 a2cdc0bd212f30a6e4365b4a0d3eeafb49e72640 ChangeLog 763
+SHA256 84bc2616108ac7ab81d47a3eabdf97b7bc29aee12f1dec8ff89865cfb1f70531 ChangeLog 763
 MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3
 MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea metadata.xml 158
index b080866fde29b806919ecd68141d5196aac20750..f5f531b2598246973b07806b33031abc53158c12 100644 (file)
@@ -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-action/cylindrix/cylindrix-1.0.ebuild,v 1.4 2006/01/28 21:19:10 joshuabaergen Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-action/cylindrix/cylindrix-1.0.ebuild,v 1.5 2007/04/16 05:01:58 mr_bones_ Exp $
 
-inherit games
+inherit autotools games
 
 DESCRIPTION="Action game in a tube"
 HOMEPAGE="http://www.hardgeus.com/cylindrix/"
@@ -10,7 +10,7 @@ SRC_URI="http://www.hardgeus.com/cylindrix/${P}.tar.gz"
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-KEYWORDS="x86 ~ppc"
+KEYWORDS="~ppc x86"
 IUSE=""
 
 DEPEND=">=media-libs/allegro-4.0.3"
@@ -19,23 +19,21 @@ S=${WORKDIR}/${PN}
 
 src_unpack() {
        unpack ${A}
-       cd ${S}
-       sed -i "/g_DataPath/s:\./:${GAMES_DATADIR}/${PN}/:" sb_stub.c \
-               || die "sed sb_stub.c failed"
+       cd "${S}"
+       sed -i \
+               -e "/g_DataPath/s:\./:${GAMES_DATADIR}/${PN}/:" \
+               sb_stub.c \
+               || die "sed failed"
        find -name CVS -exec rm -rf '{}' \; >& /dev/null
+       eautoreconf
 }
 
 src_install() {
-       make install DESTDIR=${D} || die
-       insinto ${GAMES_DATADIR}/${PN}
-       doins people.dat cylindrx.fli
-       for d in 3d_data gamedata pcx_data ; do
-               insinto ${GAMES_DATADIR}/${PN}/${d}
-               doins ${d}/*
-       done
-       cp -r wav_data ${D}/${GAMES_DATADIR}/${PN}/
-
+       emake DESTDIR="${D}" install || die "emake failed"
+       insinto "${GAMES_DATADIR}"/${PN}
+       doins people.dat cylindrx.fli || die "doins failed"
+       doins -r wav_data 3d_data gamedata pcx_data || die "doins failed"
        dodoc AUTHORS ChangeLog NEWS README
        prepgamesdirs
-       fperms g+w ${GAMES_DATADIR}/${PN}/gamedata/game.cfg
+       fperms g+w "${GAMES_DATADIR}"/${PN}/gamedata/game.cfg
 }