blob: b620c35610167ba8b5642428268de1f89eb1a623 (
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
|
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=2
inherit webapp
DESCRIPTION="The Ajax CMS for today. And tomorrow"
HOMEPAGE="http://modxcms.com/"
SRC_URI="http://modxcms.com/download/ga/${P}.tar.gz"
LICENSE="GPL-2"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND="virtual/httpd-cgi
>=virtual/mysql-4.1
|| ( dev-lang/php:5[mysql] dev-lang/php:5[mysqli] )"
src_install() {
webapp_src_preinst
find -name ht.access -exec sh -c \
'f="{}"; mv "${f}" "${f%ht.access}.htaccess"' \; \
|| die "Dot fix failed"
insinto ${MY_HTDOCSDIR}
doins -r . || die "Instalation failed"
webapp_src_install
}
|