1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
7 DESCRIPTION="Webpage image gallery creation perl script"
8 HOMEPAGE="http://bbgallery.sourceforge.net/"
9 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
16 RDEPEND="dev-lang/perl
20 dev-perl/HTML-Template
27 epatch "${FILESDIR}/${P}-path-fix.patch"
31 local inspath="/usr/share/${PN}"
33 dobin ${PN} || die "dobin failed"
34 newbin Contrib/JPG2jpg.pl JPG2jpg || die "newbin failed"
37 doexe gimp_scale.pl || die "doexe failed"
40 doins -r template/ || die "doins failed"
41 dosym "${inspath}"/template/monochrome "${inspath}"/template/default \
44 dodoc CHANGELOG CREDITS README || die "dodoc failed"
46 dohtml -r doc/ || die "dohtml failed"