summaryrefslogtreecommitdiff
blob: 6e2cfc9864ee955ee11ae566e163d29cf38199cd (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
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit webapp depend.php

DESCRIPTION="CMS written in PHP and Javascript"
HOMEPAGE="http://www.doop.co.nr"
SRC_URI="http://mydoop.org/downloads/doop-1.3.7.zip"

LICENSE="as-is"
KEYWORDS="~x86"

DEPEND="app-arch/unzip"
RDEPEND="virtual/httpd-cgi"

need_php_httpd

S="${WORKDIR}"

src_install() {
	webapp_src_preinst

	cp -pPR * "${D}/${MY_HTDOCSDIR}"

	webapp_configfile "${MY_HTDOCSDIR}/index.php"
	webapp_postinst_txt en "${FILESDIR}/postinstall-en.txt"

	webapp_src_install
}