summaryrefslogtreecommitdiff
blob: 0b5f424e2a1074fa2da5b553d055ce3d42d0e89c (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
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/www-apps/ids/ids-0.83_beta2-r1.ebuild,v 1.5 2005/07/11 01:15:35 rl03 Exp $

inherit webapp

MY_P=${P/_beta/b}
DESCRIPTION="IDS (Image Display System) is a CGI written in Perl that interactively generates a photo album website"
HOMEPAGE="http://ids.sf.net/"
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
LICENSE="BSD"
IUSE=""
KEYWORDS="~x86 ~sparc ~ppc"
RDEPEND="net-www/apache
	>=dev-lang/perl-5.6.1
	dev-perl/ImageInfo
	dev-perl/Archive-Zip
	>=media-gfx/imagemagick-6.2.2.0"

S=${WORKDIR}/${PN}

src_install() {
	webapp_src_preinst

	dodoc CREDITS ChangeLog PATCH.SUBMISSION README

	cp -R . ${D}/${MY_HTDOCSDIR}
	webapp_serverowned ${MY_HTDOCSDIR}/image-cache
	webapp_postinst_txt en ${FILESDIR}/postinstall-en.txt
	webapp_src_install
}