blob: bade1f9acb4cc73d335e4d7b4ea418ff95ad83e9 (
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
|
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-www/horde/horde-2.2.5.ebuild,v 1.1 2004/02/26 18:11:55 mholzer Exp $
inherit horde
DESCRIPTION="Horde Application Framework"
HOMEPAGE="http://www.horde.org/"
KEYWORDS="~x86 ~ppc ~sparc ~alpha"
DEPEND=""
RDEPEND=">=dev-php/mod_php-4.1.0
>=sys-devel/gettext-0.10.40
>=dev-libs/libxml2-2.4.21
>=net-www/horde-pear-1.3"
pkg_setup() {
if [ -L ${ROOT}/${HTTPD_ROOT}/horde ] ; then
ewarn "You need to unmerge your old Horde version first."
ewarn "Horde will be installed into ${HTTPD_ROOT}/horde"
ewarn "directly instead of a version-dependant directory."
die "need to unmerge old version first"
fi
horde_pkg_setup
}
src_install() {
horde_src_install
chmod 0000 test.php
}
pkg_postinst() {
horde_pkg_postinst
echo
einfo "Horde requires PHP to have:"
einfo " ==> 'short_open_tag enabled = On'"
einfo " ==> 'magic_quotes_runtime set = Off'"
einfo " ==> 'file_uploads enabled = On'"
einfo "Please edit /etc/php/apache2-php4/php.ini"
}
|