summaryrefslogtreecommitdiff
blob: af7b8e47b8a98ca81c1ebe0f3962c31478589adb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

MY_P="${PN}081"
S=${WORKDIR}/${MY_P}

DESCRIPTION="Picture manager / organizer written in Perl/Tk."
HOMEPAGE="http://mapivi.sourceforge.net/mapivi.shtml"
SRC_URI="mirror://sourceforge/mapivi/${MY_P}.tar.bz2"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"
IUSE=""

DEPEND=">=dev-lang/perl-5.5
	>=dev-perl/perl-tk-804.027
	>=dev-perl/Image-MetaData-JPEG-0.14
	dev-perl/ImageInfo"

src_unpack() {
	unpack "${A}"
	cd ${S}
	sed -i -e 's:$configdir/PlugIns:/usr/share/mapivi/plugins:' mapivi
}

src_install() {
	exeinto /usr/bin
	doexe mapivi
	dodir /usr/share/mapivi/plugins
	exeinto /usr/share/mapivi/plugins
	doexe PlugIns/Channel-Separator PlugIns/Join-RGB PlugIns/checkDir-plugin\
		PlugIns/filelist-plugin PlugIns/test-plugin
	dodoc Changes.txt FAQ README Tips.txt ToDo
}