From 54c13e730f98083cd6e9988ae51c752297f0ea90 Mon Sep 17 00:00:00 2001 From: Mamoru Komachi Date: Wed, 5 Nov 2003 20:13:16 +0000 Subject: Added metadata.xml. Cleaned install path. Marked 0.9.1 stable. --- media-gfx/w3mimgfb/w3mimgfb-0.9.1.ebuild | 31 ++++++++++++++++++++++--------- 1 file changed, 22 insertions(+), 9 deletions(-) (limited to 'media-gfx/w3mimgfb/w3mimgfb-0.9.1.ebuild') diff --git a/media-gfx/w3mimgfb/w3mimgfb-0.9.1.ebuild b/media-gfx/w3mimgfb/w3mimgfb-0.9.1.ebuild index 5c09323807f1..03838c4c7792 100644 --- a/media-gfx/w3mimgfb/w3mimgfb-0.9.1.ebuild +++ b/media-gfx/w3mimgfb/w3mimgfb-0.9.1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/w3mimgfb/w3mimgfb-0.9.1.ebuild,v 1.1 2003/08/13 17:13:00 usata Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/w3mimgfb/w3mimgfb-0.9.1.ebuild,v 1.2 2003/11/05 20:13:11 usata Exp $ IUSE="" @@ -10,7 +10,7 @@ HOMEPAGE="http://homepage3.nifty.com/slokar/fb/w3mimg.html" SLOT="0" LICENSE="w3m BSD" -KEYWORDS="~x86" +KEYWORDS="x86" DEPEND=">=media-libs/stimg-0.1.0 virtual/textbrowser" @@ -20,19 +20,32 @@ src_compile() { } src_install() { - if has_version 'net-www/w3m' && has_version 'net-www/w3m-m17n' ; then + + local realbin + + if has_version '=net-www/w3m-0.4.2-r1' ; then + exeinto /usr/libexec/w3m doexe w3mimgdisplayfb - elif has_version 'net-www/w3m-m17n' ; then + fi + if has_version '=net-www/w3m-m17n-0.4.2' ; then + exeinto /usr/libexec/w3m-m17n + doexe w3mimgdisplayfb fi + for exe in /usr/lib{,exec}/w3m{,-m17n}/w3mimgdisplayfb ; do + if [ -n "$realexe" ] ; then + rm ${D}$exe + dohard $realexe $exe + elif [ -x ${D}$exe ] ; then + realexe=$exe + fi + done + dodoc COPYING readme.txt } -- cgit v1.2.3-65-gdbad