blob: 4fd3282a96e78769ee394987699696441767582d (
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-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/www-apps/phpgroupware/phpgroupware-0.9.16.005.ebuild,v 1.2 2005/01/05 16:27:31 blubb Exp $
inherit webapp
S=${WORKDIR}/${PN}
DESCRIPTION="intranet/groupware tool and application framework"
HOMEPAGE="http://www.phpgroupware.org/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
IUSE=""
LICENSE="GPL-2"
KEYWORDS="~x86 ~ppc ~alpha amd64 ~sparc ~hppa"
RDEPEND=">=dev-php/mod_php-4.1"
src_unpack() {
unpack ${A}
cd ${S}
# remove CVS directories
find . -type d -name 'CVS' -print | xargs rm -rf
}
src_install() {
webapp_src_preinst
cp -R . ${D}/${MY_HTDOCSDIR}
dohtml ${PN}/doc/en_US/html/admin/*.html
webapp_serverowned ${MY_HTDOCSDIR}/fudforum
# webapp_serverowned ${MY_HTDOCSDIR}/phpgwapi/images
webapp_postinst_txt en ${FILESDIR}/postinstall-en.txt
webapp_src_install
}
|