diff options
author | Tristan Heaven <tristan@gentoo.org> | 2006-10-04 17:53:19 +0000 |
---|---|---|
committer | Tristan Heaven <tristan@gentoo.org> | 2006-10-04 17:53:19 +0000 |
commit | 34a9fea63f5795958714ded3a33aa825afd20b4c (patch) | |
tree | 0d2b416255dc633e8327ed209b47e085f9d7c33a /games-kids/gtans | |
parent | Remove the die when both postgres and mysql are in USE. (diff) | |
download | historical-34a9fea63f5795958714ded3a33aa825afd20b4c.tar.gz historical-34a9fea63f5795958714ded3a33aa825afd20b4c.tar.bz2 historical-34a9fea63f5795958714ded3a33aa825afd20b4c.zip |
Fix install paths and gtk+-1 dependency
Package-Manager: portage-2.1.2_pre2-r2
Diffstat (limited to 'games-kids/gtans')
-rw-r--r-- | games-kids/gtans/ChangeLog | 5 | ||||
-rw-r--r-- | games-kids/gtans/Manifest | 22 | ||||
-rw-r--r-- | games-kids/gtans/gtans-1.2.ebuild | 32 |
3 files changed, 35 insertions, 24 deletions
diff --git a/games-kids/gtans/ChangeLog b/games-kids/gtans/ChangeLog index e3c7bfa869ba..855abe285816 100644 --- a/games-kids/gtans/ChangeLog +++ b/games-kids/gtans/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for games-kids/gtans # Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-kids/gtans/ChangeLog,v 1.5 2006/02/15 22:57:21 tupone Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-kids/gtans/ChangeLog,v 1.6 2006/10/04 17:53:19 nyhm Exp $ + + 04 Oct 2006; Tristan Heaven <nyhm@gentoo.org> gtans-1.2.ebuild: + Fix install paths and gtk+-1 dependency 15 Feb 2006; <Tupone@gentoo.org> gtans-1.2.ebuild: modular X deps diff --git a/games-kids/gtans/Manifest b/games-kids/gtans/Manifest index 574529b3412e..34103a1c2552 100644 --- a/games-kids/gtans/Manifest +++ b/games-kids/gtans/Manifest @@ -1,12 +1,16 @@ -MD5 f49cdca6c8f1b3f4f50f46f633d74fc5 ChangeLog 664 -RMD160 93494e1f17e085abc04434822e24cf98e003260f ChangeLog 664 -SHA256 5323369113bc0f1d5b218732369e29bf54e7ac9835952e41b609e9b1d9b05305 ChangeLog 664 -MD5 3be7f1bf000f5ab9f47b53f62feaf800 files/digest-gtans-1.2 229 -RMD160 662cd339a7f02284056d9bd70aab063d649447b2 files/digest-gtans-1.2 229 -SHA256 555a64bae30d7fc68d4a34f6112c278b3dda33a496a53a82b7dbeadfc4e6e287 files/digest-gtans-1.2 229 -MD5 79e7dfdc0f3bf71581b93cbda4756450 gtans-1.2.ebuild 1017 -RMD160 e6edf0bf861d9efc5d33125aefe300ac7d143e6d gtans-1.2.ebuild 1017 -SHA256 5c70683a424a6ccb02535ff44bdf6e2c6eee850e960678d13acbc5f09211bb85 gtans-1.2.ebuild 1017 +DIST gtans-1.2.tar.gz 176489 RMD160 e190401029ecc0b7c94c612ac4780506f5d4f978 SHA1 c635f9b23201be78cee82a3ee1f58a44849a3514 SHA256 53f1b439b4d8aed56c464f9af9651e337e73689aa332c05778bd9f74f883bbd6 +EBUILD gtans-1.2.ebuild 1091 RMD160 3566c7b67f4e1a4b70b7b70b48597a9f8a484c92 SHA1 efe11461a07fc69bec0b73727092b90e02f95a99 SHA256 6e29940c87d2e0cc162ef8352e019a20a0f8c1923115dc7011de7177af050ec4 +MD5 4a15161180dd16b1044c7e2f5669a80f gtans-1.2.ebuild 1091 +RMD160 3566c7b67f4e1a4b70b7b70b48597a9f8a484c92 gtans-1.2.ebuild 1091 +SHA256 6e29940c87d2e0cc162ef8352e019a20a0f8c1923115dc7011de7177af050ec4 gtans-1.2.ebuild 1091 +MISC ChangeLog 771 RMD160 37023b16785788988b3531039c1b8c7137602fc8 SHA1 9fb355f4f87418402cbe1b88c1b541d0b92fd1b7 SHA256 bd79d046b655767a22ef3489979880601f9ebdaa045b38e4ec7f7da788b1b76a +MD5 759dc2923c05d2580b7e3ea2c5926f88 ChangeLog 771 +RMD160 37023b16785788988b3531039c1b8c7137602fc8 ChangeLog 771 +SHA256 bd79d046b655767a22ef3489979880601f9ebdaa045b38e4ec7f7da788b1b76a ChangeLog 771 +MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea metadata.xml 158 SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 metadata.xml 158 +MD5 3be7f1bf000f5ab9f47b53f62feaf800 files/digest-gtans-1.2 229 +RMD160 662cd339a7f02284056d9bd70aab063d649447b2 files/digest-gtans-1.2 229 +SHA256 555a64bae30d7fc68d4a34f6112c278b3dda33a496a53a82b7dbeadfc4e6e287 files/digest-gtans-1.2 229 diff --git a/games-kids/gtans/gtans-1.2.ebuild b/games-kids/gtans/gtans-1.2.ebuild index 47e65bd6a88c..87be66265ec1 100644 --- a/games-kids/gtans/gtans-1.2.ebuild +++ b/games-kids/gtans/gtans-1.2.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-kids/gtans/gtans-1.2.ebuild,v 1.8 2006/02/15 22:57:21 tupone Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-kids/gtans/gtans-1.2.ebuild,v 1.9 2006/10/04 17:53:19 nyhm Exp $ inherit toolchain-funcs games @@ -13,30 +13,34 @@ SLOT="0" KEYWORDS="amd64 ~ppc x86" IUSE="nls" -RDEPEND=">=x11-libs/gtk+-1.2.1" +RDEPEND="=x11-libs/gtk+-1.2* + nls? ( virtual/libintl )" DEPEND="${RDEPEND} - nls? ( sys-devel/gettext )" + nls? ( sys-devel/gettext )" src_unpack() { unpack ${A} - cd "${S}" + + sed -i \ + -e "/^CC/s:gcc:$(tc-getCC):" \ + -e "/^CFLG/s:-O2:${CFLAGS}:" \ + -e "/^LDFLG/s:$: ${LDFLAGS}:" \ + -e '/$(INSTALL)/s:-s::' \ + -e "/^HOMEDIR/s:=.*:=${GAMES_DATADIR}/${PN}/:" \ + -e "/^EXECDIR/s:=.*:=${GAMES_BINDIR}/:" \ + makefile || die "sed failed" + if ! use nls ; then sed -i \ - -e "/\(TGTXT\| po\)/ s/^/#/" \ - -e "/^CC/ s:=.*:= $(tc-getCC):" \ - -e "/misc/ s/PREFIX.*/install/" \ - -e "/^CFLG[ ]*=/ s:=.*:= ${CFLAGS}:" makefile \ - || die "sed failed" + -e '/DTGTXT/d' \ + -e '/cd po/d' \ + makefile || die "sed failed" fi - sed -i \ - -e "s:/share::" \ - -e "/^PREFIX/ s:usr:usr/share:" misc/Makefile \ - || die "sed failed" } src_install() { - make DESTDIR="${D}" install || die "make install failed" + emake DESTDIR="${D}" install || die "emake install failed" dodoc AUTHORS HISTORY prepgamesdirs } |