blob: d3787a7b1b67e1461e68d95cafe6b75de86f998a (
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
37
38
39
40
41
42
43
44
45
46
47
|
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/www-apps/mambo/mambo-4.5.ebuild,v 1.1 2004/08/18 18:15:42 rl03 Exp $
inherit webapp
DESCRIPTION="Mambo is yet another CMS"
SRC_URI="http://mamboforge.net/frs/download.php/1145/MamboV4.5-Stable-1.0.9.tar.gz"
HOMEPAGE="http://www.mamboserver.com/"
LICENSE="GPL-2"
KEYWORDS="~x86"
S=${WORKDIR}
IUSE=""
DEPEND="$DEPEND"
RDEPEND="dev-db/mysql
virtual/php
net-www/apache"
pkg_setup () {
webapp_pkg_setup
einfo "Please make sure that your PHP is compiled with zlib, XML, and MySQL support"
sleep 5
}
src_install () {
webapp_src_preinst
local files="administrator/backups administrator/components components images media language modules templates uploadfiles"
cd ${S}
dodoc documentation/Changelog-4.5
rm -rf documentation
cp -R . ${D}/${MY_HTDOCSDIR}
for file in ${files}; do
webapp_serverowned "${MY_HTDOCSDIR}/${file}"
done
webapp_postinst_txt en ${FILESDIR}/postinstall-en.txt
webapp_hook_script ${FILESDIR}/reconfig
webapp_src_install
}
|