1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
9 MY_P="${PN}$(delete_all_version_separators)"
11 DESCRIPTION="Picture manager / organizer written in Perl/Tk"
12 HOMEPAGE="http://mapivi.sourceforge.net/mapivi.shtml"
13 SRC_URI="mirror://sourceforge/${PN}/Mapivi_Perl/Mapivi$(delete_all_version_separators)/${MY_P}.tar.gz"
18 KEYWORDS="~amd64 ~x86"
22 dev-perl/Image-MetaData-JPEG
23 >=dev-perl/perl-tk-804.025
33 sed -i -e 's:$configdir/PlugIns:/usr/share/mapivi/plugins:' mapivi || die
39 exeinto /usr/share/mapivi/plugins
40 doexe PlugIns/{Channel-Separator,Join-RGB,checkDir-plugin,filelist-plugin,test-plugin} || die
41 dodoc Changes.txt FAQ README Tips.txt || die
45 ewarn "If your Gimp version is 2.3 from CVS you should run:"
46 ewarn "sed -i 's:gimp-remote -n :gimp-remote:g' /usr/bin/mapivi"
47 ewarn "sed -i '22732,22734s:^.:\#:g' /usr/bin/mapivi"
48 ewarn "sed -i '22735s:\#execute:execute:g' /usr/bin/mapivi"
49 ewarn "after instalation to have edit in Gimp option work."