Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 314211
Collapse All | Expand All

(-)a/bins-1.1.29.ebuild (-6 / +5 lines)
Lines 2-7 Link Here
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /var/cvsroot/gentoo-x86/app-misc/bins/bins-1.1.29.ebuild,v 1.14 2010/01/01 17:56:37 ssuominen Exp $
3
# $Header: /var/cvsroot/gentoo-x86/app-misc/bins/bins-1.1.29.ebuild,v 1.14 2010/01/01 17:56:37 ssuominen Exp $
4
4
5
EAPI="2"
6
5
inherit eutils
7
inherit eutils
6
8
7
DESCRIPTION="Static HTML photo album generator"
9
DESCRIPTION="Static HTML photo album generator"
Lines 13-20 Link Here
13
KEYWORDS="alpha amd64 ppc sparc x86"
15
KEYWORDS="alpha amd64 ppc sparc x86"
14
IUSE=""
16
IUSE=""
15
17
16
DEPEND=">=dev-lang/perl-5.6.1-r6
18
DEPEND=">=dev-lang/perl-5.8.8
17
	>=media-gfx/imagemagick-6.2.2.0
19
	|| ( media-gfx/imagemagick media-gfx/graphicsmagick[imagemagick] )
18
	>=dev-perl/ImageSize-2.99
20
	>=dev-perl/ImageSize-2.99
19
	>=dev-perl/ImageInfo-1.04-r1
21
	>=dev-perl/ImageInfo-1.04-r1
20
	>=dev-perl/IO-String-1.01-r1
22
	>=dev-perl/IO-String-1.01-r1
Lines 34-42 Link Here
34
	dev-perl/TimeDate
36
	dev-perl/TimeDate
35
	>=sys-apps/sed-4"
37
	>=sys-apps/sed-4"
36
38
37
src_unpack() {
39
src_prepare() {
38
	unpack ${A}
39
	cd "${S}"
40
	epatch "${FILESDIR}"/${P}-install.patch
40
	epatch "${FILESDIR}"/${P}-install.patch
41
	sed -i -e  's|MAN="\$PREFIX/man/man1"|MAN="${D}usr/share/man/man1"|' "${S}"/install.sh
41
	sed -i -e  's|MAN="\$PREFIX/man/man1"|MAN="${D}usr/share/man/man1"|' "${S}"/install.sh
42
}
42
}
Lines 50-56 Link Here
50
	for i in `grep -l "usr\/local\/share" "${D}"/usr/bin/*`; do
50
	for i in `grep -l "usr\/local\/share" "${D}"/usr/bin/*`; do
51
		sed -i -e "s:usr\/local\/share:usr\/share:" ${i}
51
		sed -i -e "s:usr\/local\/share:usr\/share:" ${i}
52
	done
52
	done
53
54
}
53
}
55
54
56
pkg_postinst() {
55
pkg_postinst() {

Return to bug 314211