tidy
authorMichael Sterrett <mr_bones_@gentoo.org>
Mon, 22 Jan 2007 16:33:40 +0000 (16:33 +0000)
committerMichael Sterrett <mr_bones_@gentoo.org>
Mon, 22 Jan 2007 16:33:40 +0000 (16:33 +0000)
Package-Manager: portage-2.1.1-r2

games-engines/gargoyle/Manifest
games-engines/gargoyle/gargoyle-20060917.ebuild

index e271646438a95535db1ba0b710c19b3aa4d14939..7cfde50546881e0713a6b403591555186980cc53 100644 (file)
@@ -3,10 +3,10 @@ MD5 f5a6119306806e97f46f95f307229ff8 files/filename-friendliness-20060917.patch
 RMD160 dd87f7631933ee8e903e986459f6215b525c13d1 files/filename-friendliness-20060917.patch 6215
 SHA256 ee70e785ae62e9715dd081e669099153ed764af0a9d364bbac1aa285dee27dda files/filename-friendliness-20060917.patch 6215
 DIST gargoyle-2006-09-17-source.zip 9714916 RMD160 86e832323f8da96004460c7fa5b1054717817884 SHA1 2a1f4fa08444761ecc32c28770f0af6d24b4eeb8 SHA256 3a39e8e8809a8d942bb5ae71b8f64e4f4f4ecbf2cd1e7de0ed40fd58ea2f7ce0
-EBUILD gargoyle-20060917.ebuild 1639 RMD160 80b3c8b6356d629ec752c785881715bd8e309b0b SHA1 89f9b1e6cc542afdc19d878c5ab16b38d1a7b014 SHA256 72e3b0a90d755f22baefd6b5474b7639f41d69cc1d623aefdb6319c5e84e2d56
-MD5 009c0edcace87f762bb164797ffc7334 gargoyle-20060917.ebuild 1639
-RMD160 80b3c8b6356d629ec752c785881715bd8e309b0b gargoyle-20060917.ebuild 1639
-SHA256 72e3b0a90d755f22baefd6b5474b7639f41d69cc1d623aefdb6319c5e84e2d56 gargoyle-20060917.ebuild 1639
+EBUILD gargoyle-20060917.ebuild 1667 RMD160 830709093dda8f39adf81409a8beebf13e081388 SHA1 9b9a19eba80e8a37f0a44927cefa56565c793978 SHA256 c574aaa4080e69c50fc26bdb9bf167e17f3f3c559b919e60102342c04446904d
+MD5 f2cd8c14d69382bfabef705ffef36685 gargoyle-20060917.ebuild 1667
+RMD160 830709093dda8f39adf81409a8beebf13e081388 gargoyle-20060917.ebuild 1667
+SHA256 c574aaa4080e69c50fc26bdb9bf167e17f3f3c559b919e60102342c04446904d gargoyle-20060917.ebuild 1667
 MISC ChangeLog 1185 RMD160 ecbd684a433a6be46615bd0e1fb51bf462c94059 SHA1 b01af2f93fc88e481f7c3591085d4a27051fe881 SHA256 a72229f78411be7bc8abcd73c03518729dd7abee979e008c8ac43e69b0b4c22c
 MD5 81c1784703f60cd1d947a116aa9e72d0 ChangeLog 1185
 RMD160 ecbd684a433a6be46615bd0e1fb51bf462c94059 ChangeLog 1185
index 9cab867586490d0ef7fb3c00c49d0fb0e3c5cf1e..3f4ecdf899f6a7f6c9ad0842eb92508bdeefd5e3 100644 (file)
@@ -1,19 +1,20 @@
 # Copyright 1999-2007 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-engines/gargoyle/gargoyle-20060917.ebuild,v 1.1 2007/01/22 10:59:52 s4t4n Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-engines/gargoyle/gargoyle-20060917.ebuild,v 1.2 2007/01/22 16:33:40 mr_bones_ Exp $
 
 inherit eutils
 
 MY_PV="2006-09-17"
 MY_P=${PN}-${MY_PV}
-S="${WORKDIR}/${PN}/"
 DESCRIPTION="Beautified Glk library and interactive fiction multi-interpreter"
 HOMEPAGE="http://ccxvii.net/gargoyle/"
 SRC_URI="http://ccxvii.net/gargoyle/download/${MY_P}-source.zip"
+
 LICENSE="BSD"
 SLOT="0"
 KEYWORDS="~x86"
 IUSE=""
+
 RDEPEND=">=media-libs/freetype-2.1.9-r1
        >=x11-libs/gtk+-2.10.6
        >=dev-libs/glib-2.12.4-r1
@@ -26,37 +27,40 @@ RDEPEND=">=media-libs/freetype-2.1.9-r1
 
 DEPEND="${RDEPEND}
        >=dev-util/jam-2.5-r3
-       app-arch/unzip
-       >=sys-apps/sed-4.1.4-r1"
+       app-arch/unzip"
+
+S=${WORKDIR}/${PN}
 
-src_unpack()
-{
+src_unpack() {
        unpack ${A}
-       cd ${S}
+       cd "${S}"
 
        #Fix file named
-       epatch ${FILESDIR}/filename-friendliness-${PV}.patch
+       epatch "${FILESDIR}"/filename-friendliness-${PV}.patch
 
        #Fix gtk+ detection
-       sed -i 's/"pkg-config freetype2 gtk+"/"pkg-config freetype2 gtk+-2.0"/' ${S}/Jamrules
+       sed -i \
+               -e 's/"pkg-config freetype2 gtk+"/"pkg-config freetype2 gtk+-2.0"/' \
+               Jamrules \
+               || die "sed failed"
 }
 
-src_compile()
-{
-       jam
+src_compile() {
+       jam || die "jam failed"
 }
 
-src_install()
-{
+src_install() {
        dodoc Readme.txt garglk/TODO licenses/*
-       insinto /etc; newins garglk/garglk.ini garglk.ini
+       insinto /etc
+       newins garglk/garglk.ini garglk.ini
 
        #Should to copy garglk/garglk.ini to /etc/, but I don't know the syntax
 
        cd build/linux.release
        dolib garglk/libgarglk.so
-       dobin advsys/gargoyle-advsys agility/gargoyle-agility alan2/gargoyle-alan2
-       dobin alan3/gargoyle-alan3 garglk/gargoyle git/gargoyle-git
-       dobin hugo/gargoyle-hugo level9/gargoyle-level9 scare/gargoyle-scare
-       dobin tads/gargoyle-tadsr frotz/gargoyle-frotz magnetic/gargoyle-magnetic
+       dobin \
+               advsys/gargoyle-advsys agility/gargoyle-agility alan2/gargoyle-alan2 \
+               alan3/gargoyle-alan3 garglk/gargoyle git/gargoyle-git \
+               hugo/gargoyle-hugo level9/gargoyle-level9 scare/gargoyle-scare \
+               tads/gargoyle-tadsr frotz/gargoyle-frotz magnetic/gargoyle-magnetic
 }